Open Sol33t303 opened 1 month ago
@Sol33t303
First try installing gamescope-git
from the AUR and see if that changes anything
As a shot in the dark I tried it also with "--force-grab-cursor" but that appears to just crash my game entirely for some odd reason.
Also check if that happens w/ gamescope-git
as well
Otherwise, I wonder if this could be related to https://github.com/ValveSoftware/gamescope/issues/1364
I was able to confirm that switching gamescope to using the latest wlroots fixed the above-mentioned issue: https://github.com/ValveSoftware/gamescope/pull/1394
Not sure if that also may be the case for the crashing when using --force-grab-cursor
I have recorded two videos to demonstrate the issue, one is the game running under proton, without gamescope, one is running the game under proton with gamescope. The game is Kerbal Space Program.
Here is a video of what happens (or rather, does not happen) with gamescope.
https://github.com/user-attachments/assets/8339a5ca-10b3-4d4a-97bf-53a02d4bf3c2
and what happens when I run without gamescope.
https://github.com/user-attachments/assets/5ae2ed64-156d-42a8-b98d-ac0697d4cd40
Here is the output of gamescope (I'm using the following options: -w 3440 -W 3440 -h 1440 -H 1440 -b)
This log was taken on Arch, Wayland. I can confirm the issue persists across Sway and KDE so does not appear to be compositor-specific. The machine has an RX 7800 XT GPU, and a Ryzen 2700x. As a shot in the dark I tried it also with "--force-grab-cursor" but that appears to just crash my game entirely for some odd reason.
Kernel is 6.9.10-zen. The problem also persists whether I use the games windows build (DX11, so comes out as vulkan) or the native build (opengl). Let me know if anyone would like any more info or have ideas to try.
EDIT: Thought I should add, other input seems to work fine, controllers work fine, keyboard input works fine, and even mouse input works fine if I'm only clicking through game menus.
EDIT 2: Hmm browsers seem to be having problems with the videos, sorry they are HEVC encoded, heres the videos reencoded with H264, Video 1 then Video 2 respectively:
https://github.com/user-attachments/assets/1bacb149-25f6-4f4d-9860-03e4b6a9692d
https://github.com/user-attachments/assets/833007a0-0878-45f7-afce-4a1e1f329894