Open Majora320 opened 5 months ago
Seems to be happening as of 0.41.1, updated from 0.40. While playing Killing Floor 2 or Cavern of Dreams, the mouse cursor stops being grabbed until another XWayland window is focused. For the time being, you can try the temporary solution of having an X window open in another workspace (e.g. Aseprite) and switching back and forth in order to trigger a mousegrab.
@wu4 I recommend using Proton-GE. I had this issue when launching a game for the first time, but upon subsequent launches I don't seem to be getting it anymore.
For the time being, you can try the temporary solution of having an X window open in another workspace (e.g. Aseprite) and switching back and forth in order to trigger a mousegrab.
This doesn't work. Anybody know where i can poke at this issue?
Related to https://github.com/hyprwm/Hyprland/issues/4015 and https://github.com/hyprwm/Hyprland/issues/6257
I'd love to see this fixed so I don't have to use Gnome to run games.
Same issue here.
Regression?
No
System Info and Version
System/Version info
```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: arch-7800 Release: 6.9.5-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller]) 13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev cb) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```Description
The mouse will become locked in one direction, and tiny movements of the mouse will result in a full spin around that direction. I will attach a video once I can reproduce the bug. The mouse is not affected in game menus when the cursor is displayed normally, only when the mouse is fully captured (i.e. in game).
How to reproduce
The issue occurs at random in a number of of proton games (reproduced in: Dark Souls III, Overwatch 2, Witcher 3) a certain number of times. I can't seem to find a consistent way to replicate the issue, but it does seem to happen often if I tab between workspaces for a while. After reproducing the issue, restarting the application will not fix it. Hyprland must be restarted to return the game to normal
Crash reports, logs, images, videos
No response