Tiny lag spikes when crossing chunk borders.
QPCrummer opened this issue · 13 comments
I recently made a bug report for this on starlight’s GitHub page. The dev told me that it wasn’t a server-side problem, but most likely a rendering problem. That is why I am making this report as Sodium is the mod I use for rendering. This has been happening for about 3 months now, and the people on my server are getting annoyed about it. I am a redstoner and this bug has caused a few issues with moving players with pistons. The over world is by far the worst for lagging. The nether is a close second, however it only lags sometimes. The end has zero chunk lag, probably due to the void. I know this is a widespread issue, but I am fairly sure that you can find some way around it. (:
This was an issue in the 0.6.0 of phosphor, and was fixed in 0.7.0, someone correct if wrong
Instead of me explaining it, here is spottedleaf’s response: From the performance numbers I've seen locally, in my experience it's actually just the rendering of these new chunks being loaded in that's causing spikes. While I want to fix issues like these, if it's not caused by the lightengine I really can't do anything from starlight.
I know what it is, but I didn’t know it had to do with rendering chunks. I thought using a different lighting engine would fix it, but it didn’t. It helped though. I have a decent computer. Radeon RX 480 with a Ryzen FX 8530. It is very annoying
After some further testing, I have concluded that Vanilla Minecraft Rendering lags for 1/4 of a second, Sodium lags for 1/2 of a second, and Optifine is also 1/2 however with Optifine it is very delayed, sometimes even close to 4 seconds of delay.
Even with no other mods except for Sodium, Lithium, and Phosphor it still causes the chunk border lag.
That is actually not true. It is a hardware issue. I had an extremely old CPU and that was the problem. I upgraded to a 5950x and it works flawlessly now.