FPS Drops from 200 to 30 every 10 seconds in The End Boss Fight

Minecraft 1.21.1 | Fabric 0.16.14 I've tried everything to prevent this from happening, but it always does. I currently have 8GB of RAM allocated and tried with 16GB, but the exact same thing occurs. My GPU isn't throttling and neither is the CPU. I've tested different shaders (BSL, Complementary, Solas, and Photon), and it happens with all of them. The issue doesn't occur in the Overworld (even in bamboo jungles during thunderstorms) or in the Nether. Mods: BadOptimizations Cloth Config v15 Clumps Concurrent Chunk Management Engine Debugify Distant Horizons Dynamic FPS Enhanced Block Entities EntityCulling Fabric API Fabric Language Kotlin Faster Random FerriteCore ImmediatelyFast Iris Krypton Lithium ModernFix More Culling Noisium Reese's Sodium Options ScalableLux Sodium Sodium Extra ThreadTweak YetAnotherConfigLib Zoomify
48 Replies
dizzy
dizzyOPβ€’4mo ago
DH Settings: Quality Preset - 5. Extreme Disabling DH fixes FPS drops.
dizzy
dizzyOPβ€’4mo ago
1. FPS Drop w/DH | 2. Normal w/DH
No description
No description
hardester
hardesterβ€’4mo ago
What CPU preset you're running?
dizzy
dizzyOPβ€’4mo ago
Balanced
hardester
hardesterβ€’4mo ago
Every 10 seconds you say? Can you get a screenshot of the frame-time graph? Enable it by pressing F3 + 2.
dizzy
dizzyOPβ€’4mo ago
Sure
dizzy
dizzyOPβ€’4mo ago
No description
hardester
hardesterβ€’4mo ago
Ew, what is going on with the chunk graph?
dizzy
dizzyOPβ€’4mo ago
I really don't know, I thought it was a problem with other mods but it only happens when using DH and if I deactivate it everything goes back to normal. πŸ˜”
hardester
hardesterβ€’4mo ago
Try loading up a nightly version from #links-n-downloads, see if that changes anything.
dizzy
dizzyOPβ€’4mo ago
I'll let you know, thanks for your response!
dizzy
dizzyOPβ€’4mo ago
The same thing is happening
No description
dizzy
dizzyOPβ€’4mo ago
Bamboo Jungle + Thunder - No FPS Drops
No description
dizzy
dizzyOPβ€’4mo ago
The End - FPS Drops
No description
hardester
hardesterβ€’4mo ago
Very interesting.
hardester
hardesterβ€’4mo ago
That's the smallest End island I've ever seen. Anyways, from what I can tell, the frame rate seems to drop when Distant Horizons is doing work. Could it be the case in your situation?
No description
dizzy
dizzyOPβ€’4mo ago
I think so, but i dont think that is the intended behavior. From 200 FPS to 30 FPS every 10 seconds is so bad. Wait, i'll try without Shaders
hardester
hardesterβ€’4mo ago
The end dimension contains a lot of voids. In between those, there's little work to be done compared to the overworld or the nether. I haven't tested how Distant Horizons operates in the end, so I can't say for sure if this is intended behavior myself.
dizzy
dizzyOPβ€’4mo ago
There are still frame drops, but now they only go down to 80 FPS instead of dropping all the way down to 30 FPS from 240 FPS.
No description
dizzy
dizzyOPβ€’4mo ago
I think it's a memory leak or something like that because now that I'm sending you the evidence, my computer feels too slow when Minecraft is in the background.
hardester
hardesterβ€’4mo ago
Uh, Minecraft slowing down the computer in the background has always been a thing since forever.
dizzy
dizzyOPβ€’4mo ago
looking at the screenshots again, I think it is clear that it is a memory leak, in the overworld and nether the memory stays at 40-60% and in the end it reaches 80-100%.
hardester
hardesterβ€’4mo ago
I'll leave this for the devs to chime in.
dizzy
dizzyOPβ€’4mo ago
Sure, I'll keep seeing if I can notice any difference between the captures using F3.
dizzy
dizzyOPβ€’4mo ago
This will be the last screenshot - take it during the FPS drop.
No description
dizzy
dizzyOPβ€’4mo ago
No description
Skillnoob_
Skillnoob_β€’4mo ago
!binary
YAGPDB.xyz
YAGPDB.xyzβ€’4mo ago
Try a binary search and figure out which mod is causing it. So disable half of the mods, see if issue is still there, if yes disable half again etc etc until you find the mod that's causing the issue.
Tenor
Skillnoob_
Skillnoob_β€’4mo ago
You don't have a lot of mods, should be quick The only mod in your list I haven't used with DH yet is threadtweak
Miki_P98
Miki_P98β€’4mo ago
As you have only 2GB used and JAVA isn’t crashing so memory leak is very unlikely
Mr.Counter
Mr.Counterβ€’4mo ago
My first thought would be the GC(maybe try some jvm flags), don't know if that helps though.
dizzy
dizzyOPβ€’4mo ago
Disabled every mod except DH, the same is happening.
No description
dizzy
dizzyOPβ€’4mo ago
The same happens using the Dev version that is in GitLab.
No description
dizzy
dizzyOPβ€’4mo ago
@Miki_P98 Sorry for the ping but here you can see that the RAM goes to 80%+ when I have the FPS drop, with 8GB of memory allocation on the Overworld or Nether it never goes beyond 40-50%.
Miki_P98
Miki_P98β€’4mo ago
So it goes to 80%+ freezes and goes back to less then 50%? DH will use RAM, depending on the CPU load preset, if distant generation and the CPU itself, it can use very little or a lot GC (RAM) clearing will always stutter with default JVM configuration, you can add custom GC/JVM tuning flags in order to reduce the stuttering (with slight permanent fps drop) Try using on of these flag sets: https://discord.com/channels/881614130614767666/1304910897658986570/1305234534492803165
dizzy
dizzyOPβ€’4mo ago
Seems worse.
No description
dizzy
dizzyOPβ€’4mo ago
No description
Miki_P98
Miki_P98β€’4mo ago
Then try the next set How much RAM does your PC have? Try increasing the RAM amount to 12 GB alongside the flags Do all this on the latest nightly DH version
dizzy
dizzyOPβ€’4mo ago
I have 32GB RAM DDR5 Lemme try with 12GB
dizzy
dizzyOPβ€’4mo ago
No description
No description
Miki_P98
Miki_P98β€’4mo ago
No idea
dizzy
dizzyOPβ€’4mo ago
Well, thanks for your time πŸ˜„ I'll wait to see if a dev can check it out. Can I ping a dev?
Miki_P98
Miki_P98β€’4mo ago
Worse case scenario they will just ignore it Jack mainly develops the plugin Pshpsh the server side part of the mod James is the main dev All 3 should have general knowledge and be able to debug code
dizzy
dizzyOPβ€’4mo ago
@BackSun Helpers gave me possible solutions, We tried everything but none of them worked, could you check it when you have time please, thank you in advance!
BackSun
BackSunβ€’4mo ago
There appears to be a quirk with how the LZMA compressor works that can cause lag for extremely fast world gen. The end generates significantly faster than the overworld/nether so the issue only appears there. I've pushed a fix that should significantly reduce the problem but doesn't appear to solve it completely (should be ready to download from #links-n-downloads in about an hour or so). To completely solve the problem use the LZ4 compressor instead (at the cost of larger file sizes).
Skillnoob_
Skillnoob_β€’4mo ago
LZ4 is sadly quite a lot larger than LZMA2 though
dizzy
dizzyOPβ€’4mo ago
Thank you, I will let you know if the problem has improved and by how much when the next version is released. And yes, using LZ4 instead of LZMA2 solves the problem. @BackSun Sorry for the ping, I have tested the new Dev version and the problem is not 100% fixed but the FPS drops went from 30-40 to 80-100, much more stable, thanks for that and I hope it can be completely fixed in the future, have a great day!

Did you find this page helpful?