From ed129539b77917b787d0423c49584e8ea046b8fd 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 1/2] docs(troubleshooting): packet loss and controllers --- docs/source/troubleshooting/general.rst | 16 ++++++++++++++++ 1 file changed, 16 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. From c16f753493e18a6679992ed392d08c0ede0ba2d1 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 15 May 2024 17:15:51 -0400 Subject: [PATCH 2/2] Apply suggestions from code review --- docs/source/troubleshooting/general.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/troubleshooting/general.rst b/docs/source/troubleshooting/general.rst index d4447bae2c8..116d27223cc 100644 --- a/docs/source/troubleshooting/general.rst +++ b/docs/source/troubleshooting/general.rst @@ -50,6 +50,6 @@ devices by finding the device in `/sys/bus/usb/devices/` and writing `0` to the 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% +`__ 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.