-
-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse spinning in games #4015
Comments
does zis happen on sway? |
Confirming it happens for me in 0.30.0 in FFXIV. |
@vaxerski I have this error in overwatch 2, 1 monitor. As I understand, the event occurs only when some application blocks the input device (for example, mouse control software), and the mouse temporarily stops transmitting position data, i.e. the mouse is busy processing codes from the control software, and does not send data about the mouse displacement. For example, for Razer mice the device is blocked for 30ms, because any request, for example changing DPI, requires processing of the request by the mouse processor, and this does not happen immediately. Probably, if the input device does not respond for a short time, then CInputManager::simulateMouseMovement is probably triggered, and then the InputManager stops processing some of the events from the mouse. I also noticed that my cursor is very nervous and moves in place, I solved this by removing the CInputManager::simulateMouseMovement call and replacing vec() with goalv() in https://github.com/hyprwm/Hyprland/blob/main/src/managers/input/InputManager.cpp |
sometimes this happens to me in beamng, usually just wiggling around the window a bit fixes it |
happens on monster hunter world as well. wiggling the window works if the game is running in windowed mode, but if it runs in windowed mode it doesn't automatically get 1920x1080 resolution even when fullscreening the window. |
does |
I kind of got the same issue. On top of that i got the issue that i cannot 360 my cameraview in e.g. Ark SE and the camera sometimes stutters like it went upside down. |
I'm affected too. It happens about 20% of the time after I launch Overwatch 2, sometimes it's easy to fix (getting in the menus doing a few mouse move and clicks). Sometimes it's super difficult to get the focus back. Have not found a proper way to fix it. When it's happening the character is looking straight up to the ceiling and any touch of the mouse will make it spins super fast. |
Yeah, this issue, and poor grouping (which can be mostly fixed by hy3) are the main things keeping me off Hyprland. The spinning when I'm in games. I can't figure out exactly what causes it, nor a solid fix though. As far as I can guess, it has something to do with alt+tabbing out, and maybe multi-monitor. |
it is multi monitor related, but it's hard to reproduce consistently, sometimes it happens on its own, sometimes i change workspaces a lot and then it happens, sometimes it doesn't happen at all. |
I get this problem as well with overwatch 2, ffxiv, and lethal company as well iirc. It happens regardless of the window mode (windowed, fullscreen, borderless) but sometimes fixes if i change between them (At random) and resize the window a bunch in floating mode (still only randomly fixes it). Also even if its fixed it will sometimes start happening again after a focus change, especially using a hotkey to switch to the workspace from a different workspace. EDIT: I forgot to mention that this is NOT fixed with gamescope for me. It often works for a little while and then happens with gamescope anyway. |
I wonder if #4889 fixed this issue or changed the behavior. Is anyone on a -git build able to replicate this? |
I'm on a -git build of hyprland that I update daily. Is there any log we could turn on or provide, to help pin pointing the issue ? |
I'm also on -git and get it at least once a day if I'm gaming. |
For what it's worth, I also have the issue with KDE Plasma 6, playing OW2. |
Sway does not have this problem and I use native wayland in wine 9.0 to play Overwatch 2, maybe this is a xwayland bug. |
This bug report describes the exact issue and it apparently got fixed in kwin: https://bugs.kde.org/show_bug.cgi?id=482476 |
Having same issue with all COD Series and NMS as of now which i have tested. |
please check with above |
Running on the git AUR version rn, and that seems to have fixed the problem for me. Thanks. |
@jabuxas can this be closed? |
It's Still spinning in NMS, I'm on latest version
Here link, https://www.youtube.com/watch?v=kFkrFvZnCng |
seems fine by me |
Can you or anyone check with NMS(no man's sky) |
i cant get it to spin in NMS |
it still spins for me, little stable spin if i move my mouse. |
Last update from me, It's working. Thank you. |
I still have this issue on 0.39.1 in overwatch D:
What? |
This problem still exists on hyprland-0.42.0. I've tested running from Steam and Lutris with the same results. The problem does not exist in wayland Gnome for me. Should I make a new issue or can we reopen this one? |
I've confirmed disabling the second monitor fixes this. Obviously not a great solution, but confirming it is related. |
Didn't have any second monitor enabled while gaming, still occurred. |
Unfortunately still occurs for me. |
Hello, have same or similar issue - resolved by disabling explicit sync for me (nvidia gpu) |
Hyprland Version
Hyprland, built from branch HEAD at commit 9afdd61 (props: bump ver to 0.32.3). Tag: v0.32.3 flags: (if any) debug
Bug or Regression?
Bug
Description
Mouse spins in games and camera is unusable, just moving a bit moves the camera around a whole lot. Gamescope fixes it, but I experience a lot of input lag using gamescope.
How to reproduce
I think it has got to do with having a multi-monitor setup, not really sure apart from that. Sometimes I just leave the window in another workspace and then come back and the mouse is bugged. Other times, just moving my mouse to the 2nd monitor and then coming back bugs out.
Crash reports, logs, images, videos
showing bug: https://youtu.be/KsKSGZCjw6g
The text was updated successfully, but these errors were encountered: