ValveSoftware / ValveSoftware/Proton
Proton 7.0-6 and newer doesn't properly initialize window with fractional scaling
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 32.8k
- Forks
- 1.6k
- PR merge metrics
- PR metrics pending
Description
When trying to run games with proton 7.0-6 and newer (I've tried 7.0-6, 8.0-2, Experimental and GE), the game tries to launch, the sounds/music starts to be playing in the background, but the window surface keeps showing desktop/steam.
It almost seems like the game "works" underneath all of this (hard maybe) as I don't see the mouse and I cannot interact with the desktop until I press the keyboard shortcut for minimizing window. But until then, the window surface doesn't get drawn into, the buffer just keeps the last image it has seen, that being my desktop and steam after clicking the Play button.
Proton version 6.3-8 and 5.13-6 seems to work fine, so this looks like some kind of regression of the way proton handles wayland fractional scaling. When I set scaling to 100% it seems to work fine.
Attached is a proton log for Doom 2016, but it's not a game specific issue as the problem is also with Planet Zoo and other games too. steam-native vs steam-runtime also doesn't make a difference.
The log gets chock full of hundreds of thousands of assembly stack traces mere seconds after launch, so I've had to trim that down to first 100 lines.
Arch Linux (latest), KDE on wayland, AMD/AMD, kwin fractional scaling set to 150%. Doesn't work either when I set scaling for legacy apps to be scaled by the system nor to let the app scale by themselves.
$ uname -roms
Linux 6.3.1-arch2-1 x86_64 GNU/Linux
$ kwin_wayland -v
kwin 5.27.5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reproducing with Proton 7.0-6 or newer on KDE Wayland at 150% fractional scaling, then compare with Proton 6.3-8 or 100% scaling; done means the game window renders normally while fractional scaling remains enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- computer-graphics, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100