gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

Camera position resets while moving cursor

Open notpeelz opened this issue 1 year ago • 8 comments

When running Apex Legends in gamescope (nested compositor), the camera snaps to the ground after closing a menu (like your inventory, pause menu) while moving your mouse.

https://github.com/ValveSoftware/gamescope/assets/920910/fc93ea83-86c7-4ee4-8c8e-f5c32f3ad79b

Distro: Arch Linux Compositor: swayfx 0.3.2 (based on sway 1.8.1) Gamescope: 3.14.0 (nested) GPU: AMD RX 6900 XT Proton: GE-Proton8-31 Steam launch params: gamemoderun gamescope -W 2560 -H 1440 -r 240 -- %command% +fps_max unlimited -dev Env vars:

DISABLE_GAMESCOPE_WSI=1
SDL_VIDEODRIVER=x11
MANGOHUD=1
OBS_VKCAPTURE=1

notpeelz avatar Feb 15 '24 17:02 notpeelz

I can still reproduce this on gamescope 3.14.2 (with the a5d853accd176d8ff8bb4c5d54b4b4cd8053b4d7 patch)

notpeelz avatar Feb 27 '24 22:02 notpeelz

I have same issue but with Titanfall 2 (same team, heh). Downgrade did a thing

sudo pacman -U https://archive.archlinux.org/packages/g/gamescope/gamescope-3.13.8-1-x86_64.pkg.tar.zst

struckoff avatar Mar 08 '24 01:03 struckoff

Downgrade did a thing

What do you mean by that?

notpeelz avatar Mar 08 '24 06:03 notpeelz

What do you mean by that?

opposite of upgrade? just install previous version instead of latest, 3.13.8-1 did work for me

BTW I also use Arch + Sway + Radeon

struckoff avatar Mar 08 '24 10:03 struckoff

I know what downgrade means, I was asking about what "did a thing" meant (e.g. "can't reproduce").

I tested 3.13.8 and I can still reproduce the issue on Apex Legends and Darktide (using the communication wheel). BTW I had issues reproducing it at one point because I wasn't moving my mouse quickly enough when exiting the inventory screen. Could you test again to make sure that's not the case here?

notpeelz avatar Mar 08 '24 21:03 notpeelz

I think I got ur issue wrong, after gamescope upgrade camera in Titanfall 2 got stuck on a floor and I was able to move it only with gamepad, but every mouse event reseted camera to floor. Only downgrade helped(or disabling gamescope, its not the way)

struckoff avatar Mar 08 '24 23:03 struckoff

That sounds like #1141 / #1145 (fixed in master). Could you try gamescope-git on the AUR and see if that fixes it?

notpeelz avatar Mar 08 '24 23:03 notpeelz

I saw issues, according to video, this issue looks more like mine then #1141 or #1145 But I tried gamescope-git 2 days ago, problem was still there. Only downgrade helped, anyway, I already beat the game, just wanted to leave few comments for anyone who will find this issue looking for fix

struckoff avatar Mar 08 '24 23:03 struckoff