Hi there! I have two annoying issues only when using Gamescope for certain games:
- Some games allow the cursor to escape the game window
- All games will launch on the monitor that the mouse cursor is on instead of the primary monitor
So far the only game I’ve tried that doesn’t have cursor escape issues is Helldivers 2.
Example games with cursor escape issues: God of War Ragnarok, Pacific Drive, Genshin Impact
I’ve tried using --force-grab-cursor for the first problem which does help when games don’t seem able to capture the cursor but it does not prevent the cursor from leaving the window. I’ve read that it can’t be done on Wayland, but it clearly can since games confine the cursor just fine without gamescope.
For the second problem, I’ve tried the -O and --display-index flags to no avail. I’ve also seen it said that you can’t specify a monitor in wayland, which also sounds preposterous since games will launch exclusively on my primary monitor when not using gamescope.
Current launch options:
gamemoderun gamescope -f -H 2160 -r 120 --adaptive-sync --hdr-enabled -- %command%