ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.11k stars 207 forks source link

Bugged mouse with gamescope enabled #1207

Open ghost opened 7 months ago

ghost commented 7 months ago

I use the command gamescope -w 3840 -h 2160 -W 1920 -H 1080 -f -- %command% for downsampling when playing Hunt: Showdown. However, I encounter a problem where, upon opening the map and moving the mouse while closing it, the mouse position becomes disoriented, causing the character to look into the sky or floor.

Previously, this issue was a KDE bug, but it appears to be fixed now. As a workaround, I used --force-grab-cursor, but now gamescope itself seems to have this bug for some reason. So I'm forced to use it to fix the issue again

Related KDE bug tracker issue: https://bugs.kde.org/show_bug.cgi?id=458233

sharkautarch commented 7 months ago

I use the command gamescope -w 3840 -h 2160 -W 1920 -H 1080 -f -- %command% for downsampling when playing Hunt: Showdown. However, I encounter a problem where, upon opening the map and moving the mouse while closing it, the mouse position becomes disoriented, causing the character to look into the sky or floor.

Previously, this issue was a KDE bug, but it appears to be fixed now. As a workaround, I used --force-grab-cursor, but now gamescope itself seems to have this bug for some reason. So I'm forced to use it to fix the issue again

Related KDE bug tracker issue: https://bugs.kde.org/show_bug.cgi?id=458233

Fixed in git upstream, but fix isn't in the latest release version yet

if you are on archlinux, use the aur gamescope-git package

See:

sim590 commented 3 months ago

I have tried the latest gamescope-git, on Archlinux, version 3.14.26.r3.gf35e1b38-1 and I still experience the mouse going a bit crazy when I interchange mouse mode from cursor mode (in the game UI) and character camera mode by pressing TAB in the game DayZ:

https://github.com/user-attachments/assets/5dd65489-d124-4362-b377-21017e2eaad0

I use this command line in DayZ launch options:

 gamescope --mangoapp --adaptive-sync -w 2560 -h 1440 -W 2560 -H 1440 -f -- gamemoderun %command% -noPause -useallavailablecores -high