

The Unofficial Subreddit for the Valve Steam Deck! Find discussions, games running on Deck, hardware / software mods and much more! (Please read the rules and check megathreads before posting!)
Streaming from PC with moonlight in 800p
After some research, I came up with a method to stream from my PC to the deck with moonlight, using the correct resolution (1280x800 16:10) so I don't have the black bars.
This requires the usage of Sunshine instead of Geforce Experience, as it allows to run commands with the apps.
Also as there is no way (or I found none) to change the display res from cmd or powershell without installing extra software, I used this little tool. Place the exe file in a folder where you can find it later.
Install Sunshine and after the normal setup go into apps and add the game you want, and click the add button under "Command Preparations", this adds two spaces for commands to be run when an app starts and when it closes, so in the first typec:\ChangeScreenResolution.exe /d=0 /w=1280 /h=800
replacing the file path if it's different, I have it in C root, then in the other field type c:\ChangeScreenResolution.exe /d=0 /w=1920 /h=1080
to reset the resolution to fullHD (change it if it's higher)
This will change the resolution of your main display to 800p when the game is launched, and restore it to fullHD when its closed. D=0 means that it's the first display (if you don't have multiple it's not needed), other commands can be found on the website.
That's it, enjoy.
This was very handy, thank you!
Is it better if the host resolution is set to 1920x1200? Does it improve visual clarity?
idk, someone calls that supersampling but I don't think that it adds something...
im now playing atomic heart and can't notice any difference between before that it was running in fullhd and now in 800p (other than the black bars)
For some reason I can't get the 'ChangeScreenResolution' program to work. I downloaded, and when I try to open it a window opens and instantly closes. Does anyone have any ideas or workarounds?
You have to run it from command prompt (Win key > cmd > enter), say if you place CSR in C: drive, your command will be c:\ChangeScreenResolution.exe /d=0 /w=1920 /h=1200
Play around in cmd first to figure out which monitor you're streaming for your "d" number is if you have multiple monitors, like mine is display 2 so i do /d=2 for the above command
Thank you very much ! This works great, tried with Starfield
This worked great. After trying so many different options, this was the only one that fixed the aspect ratio issue for me. Many thanks!
this is excellent and still works in 2024! question, how can I also "automate" it for 1080p and 800p for when I boot moonlight on the deck in docked vs undocked mode?
example, I have two "applications", 800p desktop and 1080p desktop, with this solution I was able to set the host client easily, thank you for this!
now on the steam deck, I find that I have to change the streaming resolution as well, but this step is still manual, so right now it looks like this:
for 800p, I go into Moonlight's options, set it to 800p streaming, and then click on the 800p Desktop
for 1080p, I go into Moonlight's options, set it to 1080p streaming, and then click on the 1080p Desktop
Is there anything to take it a step further and make it automatically set the streaming resolution on Moonlight to match the host resolution as well?
Hi. I'm trying to get a game launching and I can't seem to find how to do that. The automatic resolution is working but the game is not launching. What's the exact path that I should paste on sunshine? With or without the exe, how did you do it?
Hello, I am trying to do this on Cemu so I don't get black bars, I was wondering for "output", would I do something like this?
C:\Users\username\Desktop\Cemu_2.0-39\Cemu.exe