Games crash when the mouse is moved.
When Gamescope is enabled for Shadow Warrior 3 the game will crash when the mouse is moved during gameplay. The game will sometimes crash when the mouse is moved in the menus.
Gamescope verison: 3.14.11
This also happens in Doom 1 + Doom 2 enhanced and Quake enhanced.
Gamescope version: 3.14.24-11
I have also had this happen when playing FFXIV when using the PS4 touchpad for moving the mouse; most notably it seemed to happen if I moved the mouse towards the bottom of the screen.
Distro: Gentoo (Completely LLVM18-based) Gamescope version: 3.15.1 (Compiled with GCC due to Clang compile errors)
Steps to reproduce the crash:
- Launch gamescope in a headless state in a terminal; this is what I used:
gamescope -e --nested-refresh=60 -w 3840 -h 2160 -W 3840 -H 2160 -f -R --rt --force-grab-cursor --hide-cursor-delay 3000 --fade-out-duration 200 --prefer-vk-device --adaptive-sync --sharpness 0 --hdr-enabled --hdr-itm-enable
- (In my case) Login to FFXIV and actually go to the main menu (not the game launcher) (Advanced Launch Options:)
DXVK_HDR=1 DISPLAY=:1 %command%
- Connect a PS4 controller (though I imagine that shouldn't be necessary given the original report)
- Use the touchpad to move the mouse to the bottom of the screen to cause the crash (the game will be stuck running in the background)
(Note: The reason for running gamescope separately is to workaround the bug for the Steam overlay not working in-game)
I'm not sure if this is the same bug as the original report above, but I figured narrowing it down with a backtrace should help at least somewhat in identifying what it might be.
Gamescope 3.16.1 includes a few different cursor related fixes for crashes, I checked Doom 1 + Doom 2 and wasn't able to get the game to crash. Might be worth re-checking when your distro picks up the latest version.
Closing pending feedback.