gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

Games crash when the mouse is moved.

Open Gibitwit opened this issue 1 year ago • 3 comments

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

Gibitwit avatar Jun 15 '24 12:06 Gibitwit

This also happens in Doom 1 + Doom 2 enhanced and Quake enhanced.

Gamescope version: 3.14.24-11

Gibitwit avatar Aug 19 '24 23:08 Gibitwit

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.

ThisNekoGuy avatar Aug 28 '24 17:08 ThisNekoGuy

Distro: Gentoo (Completely LLVM18-based) Gamescope version: 3.15.1 (Compiled with GCC due to Clang compile errors)

Steps to reproduce the crash:

  1. 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
  1. (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%
  1. Connect a PS4 controller (though I imagine that shouldn't be necessary given the original report)
  2. 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.

ThisNekoGuy avatar Aug 29 '24 19:08 ThisNekoGuy

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.

matte-schwartz avatar Dec 16 '24 17:12 matte-schwartz

Closing pending feedback.

kisak-valve avatar Jan 24 '25 21:01 kisak-valve