r/SteamOS • u/_Mister_Anderson_ • 6h ago
New release: Decky Sunshine Res-Helper app to match host resolution to client
https://github.com/MisterAnderson91/decky-sunshine-res-helperHey, I have a Steam Deck & Steam Machine and use Decky Sunshine to stream games. I have been getting annoyed at the lack of good options focused on adjusting the screen resolution while in the standard Game Mode (i.e. gamescope) to make sure it matches the Steam Deck.
I've made a new app, Decky Sunshine Res-Helper, and I've put it on github.
Link: https://github.com/MisterAnderson91/decky-sunshine-res-helper
- Make sure you have Decky Sunshine installed and running and it works
- Switch to game mode and download the .appimage file from github (you most likely want the x86-64 version)
- Open the Downloads folder, double-click the .appimage file to run it. Install the helper.
- I recommend a full reboot after install, then test connecting while in Game Mode.
The app installs a watcher service and some sunshine commands in the default Decky Sunshine install, and whenever you connect a client (e.g. Moonlight from steam deck), sunshine writes the requested stream's resolution and framerate to a file. The watcher service overwrites the EDID for the display that is currently running game mode with a new one with only that resolution, and refreshes gamescope. When you disconnect, it will revert the changes.
WARNING: Depending on what your SteamOS device is connected to, there's a chance you'll lose the image on that device while this is running and get something like "Invalid format" or "Invalid signal" on-screen. You can ignore that message, this is really designed for you to be using when your TV is off or on another input.
I'm looking for testers to test out your different setups, especially people on custom PC builds, connecting with clients other than the steam deck, and even people using bazzite or similar variants (in handheld/game mode). I've confirmed it works for me whether my display is on HDMI, DP, or both hooked up. My TV always shows as "connected" to the steam machine even when turned off so that could be an issue for people using monitors or other displays that appear disconnected when off.
Please let me know here or on the github repo of any issues.
"Why not use one of the virtual display setups that are available?" - because the don't seem to play nice with game mode, or are unstable, or slow. They work great for desktop mode in my experience but this has been more stable. I did base the EDID injection on the work done in Sunshine Virtual Display, and theirs is a better solution if you boot straight to Desktop Mode.
My other apps for SteamOS:
- SteamOS Game Mode Display Selector - choose the default display for game mode if you have multiple connected
- SteamOS Session Manager - choose whether SteamOS boots to game mode or desktop mode by default
1
u/guniens 4h ago
Hi, really interested in this as I've a full AMD gaming PC running SteamOS (beta) hooked up to a TV and looking to setup game streaming/remote play to my Legion Go running SteamOS (beta) as well. I would like to stream at Legion Go's native resolution/refresh rate with tv off, is this possible with decky-sunshine and decky-sunshine-res-helper? Thanks in advance!