Paper anti-xray engine 2 causes major lag
IMS212 opened this issue ยท 3 comments
We don't have any specific statistics of what's causing this, but a spark log from another user shows that glfwSwapBuffers (Window.swapBuffers()) is taking almost 80% of the render time.
This could be caused by a ridiculous amount of chunk updates if the anti x ray system is just constantly changing blocks around. It's worth testing if this is just a Sodium issue.
as reported by Castafer#9973:
Sodium, anti-xray engine 2 on including air = 730FPS
Sodium, anti-xray engine 2 off = 1030FPS
Iris without shader anti-xray engine 2 on = 630FPS
Iris with sildurs medium shaders anti-xray engine 2 on = 100FPS
Iris with sildurs extreme shaders anti-xray engine 2 on = 50FPS
Without anti-xray engine at all
Iris with sildurs medium shaders = 500FPS
Iris with sildurs extreme shaders = 240FPS
Various shaders were tested on extreme, and nearly crashed, which is why they aren't listed. The stuttering and FPS drops get much more severe the better the shader pack
Tested with an overclocked GTX 1660 TI by 110Mhz
These specific test results were looking at a Minecraft ocean at 10 render distance
So this seems to be an Sodium issue that is greatly amplified by Iris.