Workaround: No Controller inputs while Remote Play from Linux PC to Steamdeck
Your system information
- Steam client version: 1733265492 on PC and Steamdeck
- Distribution: Ubuntu 24.04 and 22.04
- Opted into Steam client beta?: No
- Have you checked for system updates?: Yes, even upgraded from 22.04 to 24.04
What I expect:
- I start a game stream via remote play, Ubuntu PC as host, Steamdeck as client
- Video, audio and controller inputs work
What did happen:
- I start a game stream via remote play, Ubuntu PC as host, Steamdeck as client
- Video and audio work
- The game does not register any controller inputs from the Steamdeck client
- The game does however register mouse (touchscreen) and keyboard (kb overlay) inputs from the client
Controller inputs work on every 20th start of a game though. This lead me to the conclusion that it is something timing related.
WORKAROUND:
- Add a
sleep 3before the game launch via the steam launch options:sleep 3; %command%
The workaround is confirmed to work for all games that I tried:
- Hogwarts Legacy
- Witcher 3
- Brotato
- Cult of the Lamb
One game is special since it works even without the workaround (probably because of the dx/opengl/mods dialog before the actual game launch which acts as the "sleep" workaround here):
- Core Keeper
Logs
Here are two streaming_log.txt for debugging:
https://gist.github.com/ChrisLuck/d0a3f38ff9e7cec61b94a152afbd79d2
- One of a failed game start (controller inputs from client not working)
- One of a successful game start (controller inputs from client working)
The game "Brotato" was used for testing since it has a short startup time. The log of the successful start was created with the "sleep" workaround from above.
Possible duplicates
https://github.com/ValveSoftware/steam-for-linux/issues/8812
Indeed, the 'sleep 3' trick does help. It fixed The Long Dark for me.
Tried this for the first time today when trying to launch Heroes of Hammerwatch II, controller didn't work - workaround didn't fix it either. Then I immediately tried Rogue: Genesia and that did work without any workaround needed.
Are you using an external controller or direct steamdeck input? I also noticed that this workaround does not help for external controllers. It only works for direct steamdeck input.
Are you using an external controller or direct steamdeck input? I also noticed that this workaround does not help for external controllers. It only works for direct steamdeck input.
I was using the direct steamdeck input.
this workaround sadly didn't seem to work for me, running debian sid and the steam flatpak on wayland
Seems to work streaming to my steam deck. What a pain it's been. Thanks.
I am seeing this with Fallout 76 when streaming from an Arch Linux/KDE X11 host to a Steam Deck. The sleep 3 workaround did not fix it here.
The client had both the Steam Deck controller and a DualSense connected, so Remote Play created two Microsoft X-Box 360 pad devices on the host. The virtual devices were receiving events and were opened by winedevice.exe, but the game would intermittently ignore controller input.
One launch worked after I put the Steam Deck controller first in the Deck's controller-order menu and kept pressing controls during startup. The host's controller.txt initially showed:
16:31:29 Controller 0 uses xinput : true
16:31:29 Controller 15 mapping uses xinput : false
Two seconds later it changed to:
16:31:31 Controller 0 uses xinput : true
16:31:31 Controller 15 uses xinput : true
That seems consistent with an activation/order race when multiple controllers are forwarded at launch. Connecting Remote Play after Fallout was already running has also worked reliably. The host has steam-devices installed and the user is in the input group, so this does not appear to be a /dev/uinput permissions problem.
This successful launch used Proton 10.0-4. The failure also occurred with GE-Proton11-7, so I have not yet isolated the Proton version from controller order/activity.