You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using sunshine to stream games from a Windows host to my Steam Deck (Moonlight). One of the key features of the steam deck for me, is being able to put it into sleep mode whenever my gaming session is being interrupted.
Now with Sunshine I would like to keep the game (paused) running on the host so I can pick up where I left after resuming the stream on the deck.
But what happens is that Moonlight will show a pop-up message "Connection terminated. Error code: -1". In this moment the game and Steam will close (only after stopping sleep mode on the deck, the game keeps running on the host until this message pops up). This seems to only happen with Steam games.
I think that is the expected behavior for normal commands, but I'm running the game as detached command. I tried running different games, from their .exe and with steam://rungameid/<gameid>. I tried things like start /B "" "D:\SteamLibrary\steamapps\common\<game.exe>", but always with the same result. I tried to close Steam before starting the stream, I tried starting Steam (as admin and non-admin) before starting the stream.
The only way to keep the game running is by starting it on the host locally with no sunshine session running and then connecting to the hosts desktop.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi, I'm using sunshine to stream games from a Windows host to my Steam Deck (Moonlight). One of the key features of the steam deck for me, is being able to put it into sleep mode whenever my gaming session is being interrupted.
Now with Sunshine I would like to keep the game (paused) running on the host so I can pick up where I left after resuming the stream on the deck.
But what happens is that Moonlight will show a pop-up message "Connection terminated. Error code: -1". In this moment the game and Steam will close (only after stopping sleep mode on the deck, the game keeps running on the host until this message pops up). This seems to only happen with Steam games.
I think that is the expected behavior for normal commands, but I'm running the game as detached command. I tried running different games, from their .exe and with
steam://rungameid/<gameid>
. I tried things likestart /B "" "D:\SteamLibrary\steamapps\common\<game.exe>"
, but always with the same result. I tried to close Steam before starting the stream, I tried starting Steam (as admin and non-admin) before starting the stream.The only way to keep the game running is by starting it on the host locally with no sunshine session running and then connecting to the hosts desktop.
Any ideas how to solve or debug this further?
Beta Was this translation helpful? Give feedback.
All reactions