Consistent Stuttering - Unable to resolve

Hey guys, I'm setting up a DH modpack for the first time to see if I can get it working and restore my childhood love of Minecraft. I'm tweaking with settings and trying to make it run well, but despite my best efforts, the game consistently stutters and freezes.
32 Replies
Pandemic
PandemicOP6mo ago
Here is my modpack: Dependencies: https://www.curseforge.com/minecraft/mc-mods/architectury-api https://www.curseforge.com/minecraft/mc-mods/balm-fabric https://www.curseforge.com/minecraft/mc-mods/bookshelf https://www.curseforge.com/minecraft/mc-mods/cristel-lib https://www.curseforge.com/minecraft/mc-mods/elytra-slot https://www.curseforge.com/minecraft/mc-mods/enchantment-descriptions https://www.curseforge.com/minecraft/mc-mods/epherolib https://www.curseforge.com/minecraft/mc-mods/fabric-api https://www.curseforge.com/minecraft/mc-mods/trinkets https://www.curseforge.com/minecraft/mc-mods/yungs-api-fabric Optimization Mods: https://www.curseforge.com/minecraft/mc-mods/better-chunk-loading-forge-fabric https://modrinth.com/plugin/chunky https://modrinth.com/mod/distanthorizons https://modrinth.com/mod/dynamic-fps https://modrinth.com/mod/entityculling https://modrinth.com/mod/indium https://modrinth.com/mod/iris https://modrinth.com/mod/memoryleakfix https://modrinth.com/mod/sodium Mods: https://www.curseforge.com/minecraft/mc-mods/all-the-trims https://www.curseforge.com/minecraft/mc-mods/better-archeologys https://www.curseforge.com/minecraft/mc-mods/cooking-for-blockheads-fabric https://www.curseforge.com/minecraft/mc-mods/croptopia https://www.curseforge.com/minecraft/mc-mods/friends-and-foes https://www.curseforge.com/minecraft/mc-mods/hellions-sniffer https://modrinth.com/mod/modmenu https://www.curseforge.com/minecraft/mc-mods/patchouli-fabric https://www.curseforge.com/minecraft/mc-mods/terrestria https://www.curseforge.com/minecraft/mc-mods/towns-and-towers
CurseForge
Architectury API (Fabric/Forge/NeoForge)
An intermediary api aimed to ease developing multiplatform mods. 122.9M Downloads | Mods
CurseForge
Balm (Fabric Edition)
Abstraction Layer (but not really)™ for Blay's multiplatform mods 16.4M Downloads | Mods
CurseForge
Bookshelf
An open source library for other mods! 199.6M Downloads | Mods
CurseForge
Cristel Lib
A Library mod for easy structure config and runtime datapacks. 13.5M Downloads | Mods
CurseForge
Elytra Slot (Fabric/Forge/Quilt)
Adds curio support to the elytra so you can fly and wear chest armor at the same time. Formerly known as Curious Elytra. 48.9M Downloads | Mods
Pandemic
PandemicOP6mo ago
Here are my launcher arguments: -XX:+UnlockExperimentalVMOptions -Xms8G -Xmx8G -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:+UseZGC -XX:AllocatePrefetchStyle=1 -XX:-ZProactive I watch in debug and see that my memory hits 8GB and that is what causes the stutter. I used to use 16G but the stutter still occurred and was worse when it maxed out. I'm on Aggressive mode, 192 LOD Render distance, High quality preset. Standard video settings is 32 render distance, 16 simulation distance. PC specs: Ryzen 5900X 12 core (currently running in 12 thread mode to improve single core performance) 128GB DDR4 3200MHz memory RTX 4070ti All minecraft files are installed on a PCIe4 M.2, so file load time is not a concern.
Yeshi
Yeshi6mo ago
Vanilla rd should probably be a max of 16 ish. If you're running 32 vanilla comfortably, you can likely push above 384 LODs. Something else to consider is using the nightly from #links-n-downloads as the memory usage is far lower (and performance is also much better)
Pandemic
PandemicOP6mo ago
I am using the nightly build. I will push to 384 now and LYK if performance changes.
Yeshi
Yeshi6mo ago
Aggressive CPU load could also be it tbh. Try decreasing this to low impact and see if anything changes
Pandemic
PandemicOP6mo ago
OK, 384 has zero FPS performance but my stutters happen more frequently
Yeshi
Yeshi6mo ago
Aggressive is good for overnight AFKing
Pandemic
PandemicOP6mo ago
Balanced has actually worse stutters Happen less frequently and for longer Can I kick my RAM up? I have 128 to play with
Yeshi
Yeshi6mo ago
Old tasks don't stop immediately when changing CPU load settings, give it a moment to recover Generally you should stick to low impact unless you have 8 or more cores (unless AFKing)
Pandemic
PandemicOP6mo ago
Would I see better performance if I swapped my CPU back to 24 thread mode? I'm in 12 thread mode atm
Yeshi
Yeshi6mo ago
Probably Distant generation scales with more threads really well While you're at it crank the CPU load back to aggressive and increase your allocation to 16gb More worldgen threads = higher allocation rate What CPU do you have?
Pandemic
PandemicOP6mo ago
Ryzen 5900X
Yeshi
Yeshi6mo ago
Very nice. Recently built a Ryzen 7600 system myself
Pandemic
PandemicOP6mo ago
I would be in a 7000 system myself if I didn't have to completely replace mobo and ram too Those new ones are phenomenal Ok let me try two things and get back to you. I am going to switch CPU back to 24 thread mode and increase my RAM to 16, and then to 32 if I do not see improvement. After 5 minutes testing I will get back to you Thank you!
Yeshi
Yeshi6mo ago
Np Try increasing to 24gb first. 32 will lead to bigger spikes from GC
Pandemic
PandemicOP6mo ago
Gotcha Okay, I came back in 12 core, 24 thread mode, 16GB. Stutters are almost nonexistent, but my overall FPS tanked by ~20 frames. Went from relatively smooth 60-70 to around 48. Seeing how it handles memory, I think maybe if I revert back to 12 thread mode, kick up to 24GB, that my issues may go away.
Yeshi
Yeshi6mo ago
Best bet is probably AFKing overnight and disabling distant generation when you wake up You can comfortably reduce the CPU load and memory allocation whenever it's done. For 384 LODs you can get away with 4gb allocated but go for 6gb to have a buffer
Pandemic
PandemicOP6mo ago
OK, I found the sweet spot. I'm running in 12 thread mode, 24GB allocated. Game is stable between 50-70 FPS, and stutters are minimal. Aggressive mode, 384, and 32 render distance. I still am 100% CPU, and I stutter a bit when loading new chunks, but I think if I tweak with the settings and use a pre-load chunk mod I can avert most issues.
Pandemic
PandemicOP6mo ago
No description
Pandemic
PandemicOP6mo ago
No description
TheNewSky
TheNewSky6mo ago
Did you disable distant generation?
Pandemic
PandemicOP6mo ago
I did not Also.. I am an idiot... I forgot to specify the openJDK 17 java executable and my arguments were likely all not working LOL ABSOLUTELY ZERO STUTTERS NOW i am an idiot sorry
Yeshi
Yeshi6mo ago
Pandemic
PandemicOP6mo ago
stable 50 fps on 384 32 with aggressive
No description
TheNewSky
TheNewSky6mo ago
You should turn down your regular render distance 32 isn’t really necessary
Miki_P98
Miki_P986mo ago
increase DH RD to 512 and reduce vanilla RD to 16 Why have 32 vanilla RD with DH?
Pandemic
PandemicOP6mo ago
i dropped to 24 and it took me to 60-70 stable ur right
KajD
KajD6mo ago
what does this mean? im having the same issues im using 3090 with 5900x and 16gb ram
MarijnIsN00B
MarijnIsN00B6mo ago
Please make a separate post with the launcher you use
KajD
KajD6mo ago
?
MarijnIsN00B
MarijnIsN00B6mo ago
Make a post
No description
MarijnIsN00B
MarijnIsN00B6mo ago
And in that post, say what kind of launcher you use to launch Minecraft The vanilla one or Prism Launcher or Curseforge etc
Want results from more Discord servers?
Add your server