Fullsceen with VRR causes slow and stuttery cursor/mouse movement #12013
Replies: 8 comments 43 replies
-
|
Edit: I've tracked this issue to commit 17e77e0. When starting a game with VRR active like warframe, cursor becomes extremely laggy with random slowdowns. Using gamescope seems to bypass the issue. Edit2: I've discovered another issue which might be relevant to this. When running a game through proton using the wayland drivers, a similar issue can be observed. Mouse movement becomes stuttery and slowdowns can be observed. Though I have set to go into depth to test this. I can confirm that this is also happening on my end, both with hardware and software cursor. I'm running the latest commit available through the nix flake to date. One other curious thing I've noticed, was for some reason, disconnecting and reconnecting my mouse, resulted in the mouse input smoothing out. Though this also leads to the game window failing to capture the cursor. Once focus is lost and regained, the same stuttery behavior could be observed. This might be caused by window focus? I've tried using different mouses, but the same issue could be observed. Additionally, when using a controller for camera input, the issue doesnt present itself. |
Beta Was this translation helpful? Give feedback.
-
|
Edit: False alarm, it seems that the issue still persists when playing vulkan native games. I've updated to commit 8e9add2 and it seems to resolve the issues introduced with commit 17e77e0. When using the afford mention commit, cursor seems to behave as expected when VRR is active. No stuttery / laggy cursor or slowdowns can be observed. |
Beta Was this translation helpful? Give feedback.
-
|
I’ve been seeing the same issue and wanted to add some details from my setup. The problem shows up only when I use Proton + Wayland (for HDR) together with VRR enabled. Mouse input works on the first launch, but the moment the window loses focus even once, raw mouse look completely breaks. What I see: This only happens on Proton Wayland. It started about a month or two ago. HDR forces me to use Wayland driver, so that’s how I noticed it. Happy to test patches or provide logs if needed. |
Beta Was this translation helpful? Give feedback.
-
|
try |
Beta Was this translation helpful? Give feedback.
-
|
I had it happen on XWayland for me when I reported it, I was aware of Wine Wayland issue, after doing my usual round of updates, recompiling kernel and mesa from scratch, restarted and it worked fine on XWayland, no idea what it was. |
Beta Was this translation helpful? Give feedback.
-
|
I've been regularly using VRR and HDR together (on an NVIDIA card) for the past ~2 months and have not experienced this, so I think it's important that @shgew had this issue crop up around the same time I got it working. I understand that you've found a "problematic" commit, but the fact that I have an NVIDIA 3080 Ti and use either Relevant Window Rules
Launch Args
PROTON_ENABLE_NVAPI=1 PROTON_NO_WM_DECORATION=1 PROTON_NVIDIA_LIBS=1 PROTON_PREFER_SDL=1 DXVK_HDR=1 ENABLE_HDR_WSI=1 PROTON_ENABLE_HDR=1 PROTON_ENABLE_WAYLAND=1 WAYLANDDRV_PRIMARY_MONITOR="DP-3" PROTON_USE_NTSYNC=1 game-performance %command% |
Beta Was this translation helpful? Give feedback.
-
|
Opened a PR with a fix #12402. |
Beta Was this translation helpful? Give feedback.
-
|
I have this issue with CS2 (SDL_VIDEODRIVER is set to Wayland). When VRR is on and FPS is not 354FPS (360Hz screen), the sensitivity is slower than it should be. I do not have the issue when running the game through Gamescope. I have tried experimenting with disabling hardware cursors as suggested somewhere in here, nothing helps.
I can confirm this happens to me as well. When I reconnect my mouse, the sensitivity is correct till I open a menu or the cursor leaves the game window onto my second monitor (it does so even when I'm rotating my camera). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In recent commits something started causing mouse movement to be slow and stuttery if frame rate changes in any way, like going to 140 fps from 144 causes mouse movement and screen to look so bad, so stuttery and mouse movement super slow, some frame syncing or something I assume.
Don't have time to bisect it right now, maybe later on.
Anyone have idea what commit it could cause? I think it's something about syncing frames dunno
Beta Was this translation helpful? Give feedback.
All reactions