C2ME-fabric
C2ME-fabric copied to clipboard
Fix vanilla lag problem when generating new chunks
I noticed when something while exploring the world When uploading chunks that you haven't been to Fps drops from 60 to 0 and the game starts to freeze and sag This problem is observed with the mod And in a vanilla game When playing for 32 chunks, FPS drops especially when you download new chunks
When examining old chunks, everything is normally stable 60 fps When I explore new chunks, FPS falls Since the mod c2me aims to improve chunk performance I hope there is a way to fix these lags.
Video in which lags are visible https://www.youtube.com/watch?v=Ifd_I_dL0Zk
The first 27 seconds play in the created chunks 51 seconds creating new chunks
What other mods do you have installed? What version of C2ME are you using? Have you tried without using a bleeding edge version of Sodium?
C2me version 0.2.0 alpha 6.2 Sodium version alpha 5 Launched the game without the latest version of sodium Chunks are loading slowly The lags are still there
Try installing starlight and try reproduce this again.
I noticed while watching the video and while using this mod myself that a lag spike often occurs when garbage collection happens (watch the memory usage in the video - when it goes down, there's often a lag spike at the same time). There seems to be other lag too, but at some points this looks like the main cause of the lag in the video.
I use starlight and litium
C2ME is designed for server-side performance improvements like lithium so it won't have much effect on client-sided rendering related things. Therefore unfortunately, there isn't any plan to fix client-sided performance. For client-sided rendering performance, I would suggest checking out sodium.
Tracked in #123