Gamescope wont grab cursor
In CS2, Dark Souls 1, and Deadlock, using Gamescope results in the game not capturing my cursor properly, meaning that I can only turn slightly, before my cursor either hits the edge of my screen, or goes on to my second monitor.
I got a similar problem, and it changes from game to game. The command I use is
ENABLE_HDR_WSI=1 gamescope -f -W 3840 -H 2160 --hdr-enabled --hdr-debug-force-output --force-grab-cursor -e -- env ENABLE_GAMESCOPE_WSI=1 DXVK_HDR=1 DISABLE_HDR_WSI=1 steam
Steam options like -steamdeck or -bigpicture doesn't seem to affect the cursor behaviour in-game, other than making Steam annoying to use with a mouse and keyboard.
- Baldur's Gate 3 works fine;
- Assassin's Creed: Odyssey, the cursor works, however it's kept visible and not captured when trying to move the camera,
--force-grab-cursorfixes the visibility part, but it kills the movement of the mouse outside menus altogether; - Cyberpunk 2077 doesn't capture it either, however it has an odd behaviour where both the in-game cursor and the system cursor are visible and out of sync,
--force-grab-cursormitigates the double cursor problem, but as it happened with Assassin's Creed: Odyssey it locks up the mouse movement, the difference being that this time it's locked even in menus as opposed to only when trying to move the camera. I managed to work around that by alt-tabbing back and forth from the game, however that doesn't seem consistent; - Warframe has the same double cursor issue from Cyberpunk 2077 with the addition of the cursor moving wildly, making the camera spin out of control with the slightest cursor movement;
- Warhammer 40,000: Darktide works fine;
- Dominions 6 works fine;
- Monster Hunter: World works fine;
- Grim Dawn works fine.
While --force-grab-cursor fixes problems with varying amounts of success, it's important to notice that it confines your cursor to the gamescope window. I personally prefer to have my cursor free to move between windows and displays, so that unnecessary constraint can be an annoyance.
+1 on this, it seems to be much more common in recent proton versions, might be a bug with 3.14.29 since that changed cursor stuff and was pushed to arch linux repos recently
I have similar issue with other game. cursor is not capture whenever I do.
I just revert the modify of commit 69610ec52429fecbe94c4c042cc42ab43e0491f8 would enough to fix the issue. thought I did not know if there are another issue occur if this commit revert