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.
Your system information
What I expect:
What did happen:
Controller inputs work on every 20th start of a game though. This lead me to the conclusion that it is something timing related.
WORKAROUND:
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:
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):
Logs
Here are two
streaming_log.txtfor debugging:https://gist.github.com/ChrisLuck/d0a3f38ff9e7cec61b94a152afbd79d2
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