Replies: 1 comment 1 reply
-
I've converted this to a feature request. Sunshine does not scale/stretch images, but there has been a lot of work done recently to improve these types of things on Windows. We could definitely use a contributor on the Unix side to help bring it to parity. Part 1: Probably would involve completing ldd (https://github.com/LizardByte/libdisplaydevice) for Linux (and? macOS) compatibility. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
As more and more people are starting to use SteamOS, Bazzite, ChimeraOS, and other gaming oriented Linux distributions, and as many people are starting to use gamescope composed in the said systems which is directly developed by Valve as part of the SteamDeck experience to introduce a seamless gaming experience, similar to what a console does, but this time on what is essentially a PC.
These people will start experiencing image scaling issues, which relate to the lack of image scaling options in Sunshine.
As we are all aware, these handheld systems are not as powerful as a modern PC, but for what they are, they are more then capable for the casual gamer.
However, as SteamDeck screen is only limited to 900p, in comparison to something like the Legion GO that can go to about 1600p there is a big issue here when it comes to Sunshine hosting.
For instance, some people(like myself) would like to use their handheld with Sunshine to play some of their games on the TV for example, but as the system is often not powerful enough to support its native resolution on all games, a common workaround is reduce the resolution to something below the native handheld resolution.
And here comes the problem, the picture will look properly scaled on the full screen of the handheld, but on the client system(regardless if it's tv, phone, or pc/mac) the image will NOT be scaled on fullscreen.
As far as I'm aware, if Sunshine is running on a Windows as a host, there is an option to select a custom scaling for the resolutions(ex.Full, Stretch, Pixel, Linear, etc.) but these options are not present on a Linux as a host.
(Screenshot demonstrates the scaling issue)
Expected Behavior
The image to be scaled on the full screen, regardless of the host resolution, the same way that it looks on the host.
Additional Context
I had a chat with the Bazzite developers to also try and see if something can be done from the linux gamescope compositor as well, but it turns out that nothing can be done, as the pcture is scaled properly on the host, just not properly translated by Sunshine to the client.
For some reason Sunshine is capturing what is happening behind the curtains of the compositor, and not what is actually happening on the host screen, hence the reason for the difference in scaling between host, and client.
Steps to reproduce:
Host Operating System
Docker
Operating System Version
Bazzite Stable 6.12
Architecture
amd64/x86_64
Sunshine commit or version
2025.107.25026
Package
Linux - AppImage
GPU Type
AMD
GPU Model
Z1E - 780M
GPU Driver/Mesa Version
24.2.8
Capture Method
None
Config
Apps
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions