-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 stuttering in games #8670
Comments
btw KDE was also wayland, so its not a wayland issue, i suppose |
that's a .... huge jump. Bisect please. |
Yep, updated from 24.05 to 24.11 NixOS stable. I will try to find some time and bisect today. |
Tried bisecting, nix build fails. Any idea why? I see 1 error about subdirectory, but not sure what to do about it. |
Depending how old of a commit you're trying to build, you may need to change the hyprland url to You can also just build all commits with that URL, it should work. |
Where exactly should i change hyprland url? Sorry for a dumb question, never compiled hyprland before. |
How are you testing now? Do you use the flake package of Hyprland or the one from Nixpkgs? |
I followed the guide in Hyprland wiki. Cloned Hyprland repo, started bisecting, then nix build. So im trying to build it from source, isnt it what i suppose to do? |
yeah, mismatching hyprland and nixpkgs is not fun.
Ah, right. Then you need to do |
Well...same issue |
Then it means you didn't also fetch submodules when you cloned the repo. Do |
Also doesnt change anything :( |
UPDATE: disabling VSync in-game fixes mouse stuttering, but performance without VSync is not good in Hyprland(in every game this is the case for me). Launching game using gamescope somewhat fixes performance issues, but graphics is slightly worse now. |
Use Gamescope (https://wiki.archlinux.org/title/Gamescope), it will make a huge difference. I had the same issue when getting started on Hyprland/Arch. Also if you are running through Steam, forcing proton compatibility helps regardless of the game having Linux support, at least IME. Using Gamescope eliminated any mouse stuttering, or weird control issues like game camera spinning wildly. |
updated to latest commit experience the same kind of mouse stuttering and it looks awful |
Launch games natively in Wayland fix the problem. |
Ya after switching to SwayWM I am able to play games natively without gamescope. |
Already reported ? *
Regression?
No
System Info and Version
System/Version info
Description
After updating from 0.41.2 to 0.45.2, when im playing games, game starts lagging and flickering on mouse movement.
Looks exactly what "no_hardware_cursors" should fix, but this option does not fix it for me. KDE works fine, so its definitely a Hyprland issue.
NixOS, AMD CPU and integrated GPU.
How to reproduce
Start a game, move mouse, game stuttering. Looks like im only one who got this issue even with "no_hardware_cursors" enabled.
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: