-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Periodic lag spike when idling with entities (i.e. in a village) #2504
Comments
It would be great if you could clarify if the issue is caused by Iris or Sodium, both do change the entity rendering code some, and Iris had performance problems in that area in the past. Maybe run without a frame limiter, to see if the issue can be replicated with Sodium only. |
The issue is caused by sodium, I've only mentioned it briefly but yeah. Iris only makes it more acute and noticeable, so I screenshotted with shaders to make it visible. I could do it without, but the fps would then be huge and the issue harder to notice. All my tests were done without fps caps either : the first screenshot is capped and the second uncapped. It does happen with sodium standalone, uncapped fps; but it's just minimal in this scenario. Which is good! It just gets worse and worse as the game process gets more complex (more mods). I should run a spark benchmark some time, If I learn how to interpret results. |
Bug Description
When not moving, in a village or with a lot of ticked entities, tiny lag spikes occur regularly and almost periodically. In an instance with only sodium and iris, it's not much, but on my other modpack, it gets amplified to 30fps lag spikes, which occur all the time when I'm near >~50 entities.
Don't feel obligated to fix this right now, it's just an inconvenience. But I'd love to have insight from someone who knows more about sodium than me.
Reproduction Steps
-Use Fabric/Quilt (haven't tested forge)
-Have Sodium installed, maybe iris but it only makes it more noticeable (the default 120 fps cap hides it well when only using sodium)
-Have a high render distance and a bit of entity ticking
Log File
Crash Report
crash-2024-05-16_13.09.57-client.txt
(Manual F3+C crash)
The text was updated successfully, but these errors were encountered: