mojira.dev
MC-134849

Mouse jitters with VSync in fullscreen

In Minecraft 1.13, I'm experiencing a lot of mouse "jitter". It feels as though that the mouse aiming/looking is at roughly 20 frames per second or so (although the issue seems to "simply" be big jumps in the aiming 20 times per second), while the rest of the game (even including player movement!) runs at 60 frames per second. If I switch from fullscreen to windowed mode and/or disable VSync, the jittering is reduced a lot, but I can still see it if I pay attention.

In Minecraft 1.12.2, I seem to experience the same amount of jitter as windowed 1.13, regardless of whether I'm playing 1.12.2 in windowed or fullscreen with VSync enabled. Yes, this is true even if I switch back and forth between 1.12.2 and 1.13, I'm not just talking about my memories from 1.12.2.

 

While I have a video of the issue, I have not attached it to this bug report, since I can only attach files up to 10 megabytes here (and the video fills nearly 300 megabytes) and I'm too scared that a reduced bitrate or resolution will mask away the issue. However, I have uploaded it to YouTube, where I can see the issue very clearly: https://youtu.be/UlAk4xSLjUg (Make sure to watch it in 720p or 1080p to get a 60FPS video. Also keep in mind that you can pause the video and press the comma and period keys to step through the video one frame at a time.)

Note that at 0:23 in the video, I enable the smooth "cinematic" camera in Minecraft. As the jittering persists to the exact same degree, this proves that the issue is with Minecraft, not my mouse. And at 1:02, I switch from fullscreen to a maximized window, showing the greatly reduced jitter, which is also how 1.12.2 looks both in windowed and in fullscreen.

 

Edit: This issue also occurs for me in 17w43a, the very first snapshot for 1.13. As that snapshot contained a patch note for updating the game to use LWJGL 3 instead of 2, I assume that the issue has something to do with LWJGL 3. If there's a way for me to make 1.13 use LWJGL 2 to check if this is the issue, please let me know.

Linked issues

Attachments

Comments 8

Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.

Forced crash report has been attached.

Please update your graphics driver and see if the issue persists. Latest version is 398.36.

Updated to graphic driver version 398.36 using NVIDIA GeForce Experience, rebooted my computer, and tested it again. I still have the issue.

I also experience this with version 18w30b, the currently-latest snapshot. I have confirmed this to also happen for me with snapshot 17w43a, the very first 1.13 snapshot.

This leads me to believe that this might be related to LWJGL, as 1.12.2 uses LWJGL 2 (a "nightly" build of LWJGL 2.9.4), while 17w43a and beyond uses LWJGL 3 (LWJGL 3.1.2 for MC 17w43a, LWJGL 3.1.6 for MC 1.13).

If there's a way for me to make MC 1.13 use LWJGL 2 for me to confirm if LWJGL 3 is indeed the issue, please let me know. I can't seem to figure that out on my own.

(Edit: I tried to show the issue to a friend, and) it seemed like it was fixed in Minecraft 1.13.1 for a brief moment, then I booted Minecraft 1.13, where the issue happened again, and then I tried Minecraft 1.13.1 again... and the issue happened once more, even though it didn't just a few minutes ago? It seems like rebooting Minecraft enough times and getting lucky might solve it, but only until rebooting Minecraft again. So ignore that I removed 1.13.1 as an affected version.

TL;DR: It seems that the issue might occasionally not happen, but it still usually does.

It may be worth noting that I have launched snapshot 18w43c several times, and have not noticed the issue in that version yet. This might possibly be fixed for version 1.14, though I haven't tested whether I still experience it in version 1.13.1 (nor 1.13.2).

I should probably start a new issue, but I still experience this every once in a while in the new 1.14 snapshots.

 

Zwip-Zwap Zapony

(Unassigned)

Unconfirmed

Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1

Minecraft 18w43c

Retrieved