From 4a831a395738bb4e7d5b7fe17727fdd1558a322f Mon Sep 17 00:00:00 2001 From: skryvel <120495777+skryvel@users.noreply.github.com> Date: Wed, 8 May 2024 11:25:50 -0300 Subject: [PATCH] docs(troubleshooting): packet loss and controllers --- docs/source/troubleshooting/general.rst | 16 ++++++++++++++++ docs/source/troubleshooting/linux.rst | 6 ++++++ 2 files changed, 22 insertions(+) diff --git a/docs/source/troubleshooting/general.rst b/docs/source/troubleshooting/general.rst index f37effeac57..d4447bae2c8 100644 --- a/docs/source/troubleshooting/general.rst +++ b/docs/source/troubleshooting/general.rst @@ -37,3 +37,19 @@ NvFBC, NvENC, or general issues with Nvidia graphics card. - You can usually bypass the restriction with a driver patch. See Keylase's `Linux `__ or `Windows `__ patches for more guidance. + +Controller works on Steam but not in games +------------------------------------------ +One trick might be to change Steam settings and check or uncheck the configuration to support Xbox/Playstation +controllers and leave only support for Generic controllers. + +Also, if you have many controllers already directly connected to the host, it might help to disable them so that the +Sunshine provided controller (connected to the guest) is the "first" one. In Linux this can be accomplished on USB +devices by finding the device in `/sys/bus/usb/devices/` and writing `0` to the `authorized` file. + +Packet loss +----------- +Albeit unlikely, some guests might work better with a lower `MTU +`_ from the host. For example, a LG TV was found to have 30-60% +packet loss when the host had MTU set to 1500 and 1472, but 0% packet loss with a MTU of 1428 set in the network card +serving the stream (a Linux PC). It's unclear how that helped precisely so it's a last resort suggestion. diff --git a/docs/source/troubleshooting/linux.rst b/docs/source/troubleshooting/linux.rst index 8fc08b2e5e4..d7601c1d333 100644 --- a/docs/source/troubleshooting/linux.rst +++ b/docs/source/troubleshooting/linux.rst @@ -33,3 +33,9 @@ If screencasting fails with KMS, you may need to run the following to force unpr Gamescope compatibility ----------------------- Some users have reported stuttering issues when streaming games running within Gamescope. + +Controller works on Steam but not in games +------------------------------------------ +One trick might be to change Steam settings and check or uncheck the configuration to support Xbox/Playstation controllers and leave only support for Generic controllers. + +Also, if you have many controllers already directly connected to the host, it might help to disable them so that the Sunshine provided controller (connected to the guest) is the "first" one. This can be accomplished on USB devices by finding the device in `/sys/bus/usb/devices/` and writing `0` to the `authorized` file.