Sodium

Sodium

44M Downloads

Massive lag spikes when moving camera around.

irishgreencitrus opened this issue ยท 8 comments

commented

Version information

mc1.17.1-0.3.0+build.529

Expected Behavior

No lag spikes on moving camera, minor lag spikes acceptable if generating chunks, however I was playing on a server and tested on singleplayer too with same outcome.

Actual Behavior

image
Major lagspikes on moving camera. Can easily go from 120fps -> 3fps and not recover until a few seconds

Reproduction Steps

Join a server with this build, and move mouse quickly. You should see major lagspikes. If not try using Fast graphics, which were my settings at the time

Java version

Java 16.0.1 64bit

CPU

Intel Core i5-1035G4

GPU

Intel Iris Plus Graphics

Additional information

No response

commented

What OS are you on? I've noticed these lag spikes on macOS Big Sur (which has caused me to downgrade to Catalina), and it seems that if I hold any mouse button down while moving, the lag spikes do not occur.

commented

What OS are you on? I've noticed these lag spikes on macOS Big Sur (which has caused me to downgrade to Catalina), and it seems that if I hold any mouse button down while moving, the lag spikes do not occur.

Windows

commented

Its 100% true

commented

I have the same graphics card this happens to me in the latest build on 1.17.1

commented

Can you (or anyone replying here) provide a comparison image with vanilla please? It would help to know if this spike is better, worse, or the same as vanilla

commented

in 1.16.+ the lag spike wasn't that extreme when moving camera around, intel i3 3110m, intel hd 4000. on optifine it's lagless.

commented

Can you (or anyone replying here) provide a comparison image with vanilla please? It would help to know if this spike is better, worse, or the same as vanilla

Sure here are the comparisons. These comparisons were taken with the same settings, on the same coordinates on the same server at the same ingame time. There are no other mods in the mods folder apart from the sodium build listed in the original post

Graphics: Fast
VSync: OFF
Max Framerate: 60
Smooth Lighting: Maximum
Clouds: Fast
Particles: Minimum

Vanilla:
image
Sodium:
image

As you can see Sodium performs better when standing still compared to vanilla, however moving camera creates ridiculous lag spikes

commented

This should be fixed in Sodium 0.3.1. If it isn't, please ask for this issue to be re-opened.