Mod Notice
To work around this issue, try disabling "Raw Input" in Options → Controls → Mouse Settings.
While in windowed mode, moving the mouse causes the in-game camera to rotate in a glitchy manner, in a seemingly random direction, which makes the game very hard to play. The faster the mouse is moved, the more pronounced the issue becomes.
Example video of the problem: https://www.youtube.com/watch?v=fK0o0rVldZ8
In the video I am moving my mouse side to side, and returning it to the middle (parallel to the ground) when the problem happens.
A workaround I found is that this problem doesn't happen in touchscreen mode. But playing using touchscreen mode is not easy with the mouse either, so a proper fix is very much needed.
This problem started happening in 19w06a, so 19w05a and prior are not affected for me.
The mouse used doesn't affect the bug, tried with a generic Gembird mouse, generic Logitech mouse and Razer Taipan.
The world chosen doesn't affect the problem, it happens on new, old, regular and superflat worlds.
It happens in singleplayer, when connected to a local server hosted on the same PC and a server hosted ~50 ms away from the client.
When my friend connects to said server, she doesn't have this problem. She also doesn't experience it in singleplayer. The major difference our systems have is the OS we use.
This leads me to believe that the problem is probably caused by the Desktop Environment I use (version specified in the Environment section). Because this problem doesn't happen in previous MC versions on the same machine, I think that some change in 19w06a somehow affects the way Minecraft handles mouse input which doesn't play well with the way KDE handles mouse movement.
Tested on XFCE, this problem doesn't happen. It happens only in KDE Plasma.
Tested on KDE again, but this time in fullscreen instead of windowed mode, when the game is fullscreen the problem doesn't happen.
A small update, I have a new computer now and it seems that on a fresh install of Linux with KDE/Kwin this issue doesn't happen. It's possible that because I switched from an Nvidia graphics card to an AMD one, the change in drivers and X-server settings affected if this problem happens or not. LWJGL version changed in MultiMC when I reinstalled everything.
Linked issues
is duplicated by 44
Attachments
Comments 113
I've experienced a similar issue. Single player or multiplayer, when looking around, the pitch/yaw glitches to a different position. But when I tested this issue in full-screen as you have, the issue goes away. I'm using 19w07a, on Debian 9/4.17 kernel/openbox (not KDE). But it seems, my problem turned out to be related to the dock (docky) interfering and stealing the mouse focus when not full screen.
A small update, I have a new computer now and it seems that on a fresh install of Linux with KDE/Kwin this issue doesn't happen. It's possible that because I switched from an Nvidia graphics card to an AMD one, the change in drivers and X-server settings affected if this problem happens or not.
I've noticed this a lot. Recently had to reinstall an OS due to improper graphics configurations and I chose KDE Plasma. Instantly, I realized this happening, especially where I move a lot on creative. It's especially annoying in survival because I have nearly died a lot due to this. I can't run fullscreen as I like to quickly be able to look something up or check something.
Same problem here with Mint 19.3 and Xfce
It occurs from 1.14
If to disable "Raw Input" it becomes even worse
This issue has cleared up on my Linux box (AMD64 kubuntu nvidia geforce) sometime in the last couple of months. The workaround has always been full screen with/without raw input. It started somewhere back in 1.14. It then worked for a while but began to malfunction again; maybe at 1.15. At the time, the theory was there was a module which would work with Mac, and one that would work with Linux, and the version had been upgraded then reverted, causing the issue to appear/disappear/reappear on Linux.
Since the issue began, I have occasionally switched to windowed mode to see if it has cleared. To my surprise, I checked it yesterday and it works beautifully. Thanks to whoever resolved this, hope it sticks. So nice to run seamlessly in a window!
I have had the opposite experience. It was working in later versions in windowed, and now they all seem broken. I'm getting the same issue even in 1.12.2 which used to be smooth. I'm wondering if it's a library that got updated or some deal which actually affects all versions of MC.
I am still getting this issue with and without raw input, with and without fullscreen, and with and without touchscreen mode on i3wm (not kde plasma) with Gentoo Linux. it seems to be a LWJGL issue because it doesn't happen in 1.13.2 and older versions. Please devs, look into this
I noticed that bug in snapshots 19w06a and 19w07a with my mouse on Debian KDE in Fullscreen mode. I doesn't come from my mouse since it works perfectly on 19w05a. My java version is openjdk 11.0.2.