Open th3raid0r opened 4 days ago
I see the same crash in Planet Coaster 2 on my 7900XTX with Plasma 6.2.3. Poked at it a bit and grabbed what I could for debugging.
Interestingly, I only started experiencing the issue once I set a 4K or higher resolution like you gave in your command. If I use -W 1920 -H 1080
or -W 2560 -H 1440
or -W 1280 -H 800
, then the crash doesn't occur.
Display (SAM7474): 7680x2160 @ 240 Hz (as 5120x1440) in 57" [External] [HDR]
is how my monitor gets reported with 150% scaling in KWin. If I set -W 5120 -H 1440
then the crash does not occur, while if I set my monitor's true resolution with -W 7680 -H 2160
then the crash does occur.
this also occurs on Gnome Wayland w/ fractional scaling so we can rule out this being a KDE issue
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
Currently, some games require the --force-grab-cursor to correctly function. In my case this game is Planet Coaster 2 through Steam / Proton Experimental. Others have reported God of War as also exhibiting this issue.
However, this argument appears to also be bugged in instances where the Kwin-wayland scaling factor is !=100% causing an even worse issue - the game outright crashing when the cursor reaches the right or bottom edge of the screen.
I cannot reproduce this with glxgears or vkcube, so this does not appear to be an issue with native OpenGL or Vulkan games/runtimes and likely only impacts DirectX titles.
This issue resembles https://github.com/ValveSoftware/gamescope/issues/1434, but is different in that:
In a way this issue is almost the inverse of Issue #1434 .
Steps To Reproduce
gamescope -W 3840 -H 2160 --hdr-enabled --fullscreen --force-grab-cursor -- %command%
- updated to your native resolution, of course.Hardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
Gathering...
Related Threads: