mojira.dev
MC-307338

Camera movement is delayed with the Vulkan rendering backend

Upon opening the snapshot for the first time I was hit with a very disorienting sensation that I would relate to motion sickness even tho I am not normally subject to it myself.

After further investigation it was when rotating the camera laterally with fast (but precise) mouse movements, and I noticed a noticeable latency between my mouse movement and the actual head movement in game. I wondered what change in this snapshot could result in this, and I decided to try to change from Vulkan to OpenGL, which instantly solved the issue.

I assume this is a bug with the Vulkan implementation, and not an intended change being implemented only on Vulkan, but if it is an intended change then it warrants an accessibility option for disabling it cause it is quite nausea inducing

Environment

Windows 11, Vulkan graphic API

Comments 8

I don’t have this issue on KDE wayland
I am on an RX 7800XT and use an AMD 5600X CPU
Try lowering your max FPS

To clarify I use Gentoo, so my kernel is compiled with optimizations along side many other packages, I have not compiled java itself though.

I don’t know why the Environment says Windows 11, I use Windows 10. I also can’t edit it to fix it

Also my Max FPS was capped as 120, tried lowering it to 60 and I dont see a difference.

I can reproduce this on Windows 10.

While testing out the performance in 26.2 Snapshot 3 I immediately felt something was off with the mouse, so I loaded up a fresh minecraft instance, with no settings changed apart from:

- Fullscreen: ON
- GUI Scale: 3
- Music: 5%

I tried it on the same world, restarting the game and switching between OpenGL and Vulkan multiple times and on Vulkan the mouse latency was pretty noticeable.

Hardware is:
- Ryzen 5 2600 (Virtualization enabled)
- RX 580 (amd drivers version 25.8.1)
- 16 GB 3000 MHz (Paging enabled)
- Display at 1920x1080 @ 75Hz

This issue is caused by random tick speed, if you set it to 0 it removes the mouse latency and if you set it to 400 then the latency increases drastically.

I can confirm, especially if you don’t have many fps.

This issue can be alleviated when V-Sync is turned off.

Azyrod_

(Unassigned)

Confirmed

Platform G

Important

Rendering

26.2 Snapshot 1

Retrieved