gamemann/Steam-Link-Setup-And-Issues-On-Raspberry-Pi

Controllers Causing High Display Latency + Frame Loss

gamemann opened this issue · 1 comments

Impacts - All Devices

Currently, when I use any controllers listed under my setup via USB, bluetooth, or dongle, I start receiving very high display latency and frame loss making everything unplayable through the game stream. This impacts all Steam Link devices regardless of OS release, kernel, and Steam Link version (public/beta).

The below are Steam Link performance graphs and traces during and after the issue is present. In this case, I simply plugged in my Xbox Core Wireless Controller via a USB-C -> USB cable, but it also happens when connected through BlueTooth or USB dongle (for the other controller). The issue usually starts occuring after I start moving around using the joystick when using the Xbox Core Wireless Controller, but always ends up occurring regardless whether I move around or not. Once I insert the USB dongle for the other controller, it starts happening almost instantly regardless of whether the controller itself is on/being used or not which is super strange as well.

Steam Link Device 1 Graph When Controller Connected (Trace)

image

Steam Link Device 1 Graph After Controller Disconnected (Trace)

image

Steam Link Device 2 Graph When Controller Connected (Trace)

image

Steam Link Device 2 Graph After Controller Disconnected (Trace)

image

As you can see, the issue goes away instantly once I disconnect the controller.

I'm not sure what is causing this issue to be honest. If I had to guess, it's related to the controller drivers considering using a keyboard/mouse via USB works just fine. I will need to do more testing (e.g. seeing if it happens with the xpadneo driver installed on a stock OS; Attempting to uninstall xpadneo using uninstall.sh didn't make any difference).

More information with video coming soon...

I fixed the issue for Steam Link Device 1 by setting Bandwidth Limit under Steam Link -> Settings -> More Options to Automatic. I tried this before on Steam Link Device 2, but there were still bad latency issues. However, on Steam Link Device 1 that runs Buster, this fixed latency issues related to the controller completely and also slightly reduced general display latency.