For some reason distant horizons stopped running well

I was running a few performance mods + Distant Horizons, then i installed a ton of other mods and the game was ruined. Now i have uninstalled all of them besides the few performance mods (sodium lithium etc.) and the game runs fine until i install distant horizons and it becomes a stuttering mess.
No description
31 Replies
Late Night Nut
Late Night NutOP6mo ago
running a steady 20fps right now, without distant horizons i easily get 400fps even with shaders enabled
Late Night Nut
Late Night NutOP6mo ago
.
No description
Late Night Nut
Late Night NutOP6mo ago
it’s like it’s getting worse lol
Brussel_sprouts
Brussel_sprouts6mo ago
Dude You allocated 16 gb What's your dh settings Install immediatelyfast, modernfix, ferritecore It should fix some memory allocation And also Make Minecraft use jdk 21 Go search up a tutorial on how to do it, idk, it depends on the launcher you use Then add a jvm flag for zgc -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -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:+UseZGC XX:+ZGenerational -XX:AllocatePrefetchStyle=1 -XX:-ZProactive Should work I just took that from brucethemoose Minecraft flag optimization github page And added generational
code
code6mo ago
where do you paste this?
Brussel_sprouts
Brussel_sprouts6mo ago
Jvm arguments On the Minecraft installation setting idk Depends on launcher I never used the default Minecraft launcher
code
code6mo ago
do you replace whats there or just add it to the end
Brussel_sprouts
Brussel_sprouts6mo ago
Replace
code
code6mo ago
thanks ill try it
Brussel_sprouts
Brussel_sprouts6mo ago
You need jdk 21 tho Generational zgc isn't compatible for anything below
code
code6mo ago
explain this to me like im stupid
Brussel_sprouts
Brussel_sprouts6mo ago
Basically Minecraft runs on the jvm, which is taken from the jdk, generational zgc is incompatible with any jdk version that isn't 21 and above Because generational got added in 21 You can also just remove the generation tag Generational tag And it should just still work But on a weaker scale 1ms to 10ms
code
code6mo ago
hmmm
Brussel_sprouts
Brussel_sprouts6mo ago
Generational is 10x faster in some cases
code
code6mo ago
interesting youd think stuff like this would be default lmao
Brussel_sprouts
Brussel_sprouts6mo ago
Zgc requires high core counts and ram
code
code6mo ago
my cpu isnt bad but my ram def bottlenecks on my setup
Brussel_sprouts
Brussel_sprouts6mo ago
But with them making the jvm required to be 64 bit You'd think they'd make zgc default already And just make a setting to make it g1gc (the old garbage collector) (the default one) (and also the one that stutters when you allocate above 8gb)
code
code6mo ago
do you know if adoptium's a good choice or
Brussel_sprouts
Brussel_sprouts6mo ago
Good choice Almost basically every jvm is the same, just with minor performance boosts and gc support Azul zulu jdk and adoptium are usually the safer options
code
code6mo ago
noted
Brussel_sprouts
Brussel_sprouts6mo ago
There are some like graalvm which have a more aggressive compiler But only supports g1gc
code
code6mo ago
i should get jdk over jre im assuming
Brussel_sprouts
Brussel_sprouts6mo ago
Yes Download zip And just unzip it when it's down
code
code6mo ago
ight ill be back in 4 hours when my poverty internet is done with this 200mb thx
Brussel_sprouts
Brussel_sprouts6mo ago
Done* There's also a setting in the Minecraft instance thingy to use a custom java installation Make sure it's using the javaw.exe on the folder of the java install
code
code6mo ago
i appreciate your help yo @Brussel_sprouts
code
code6mo ago
not working even with jdk 21
No description
Brussel_sprouts
Brussel_sprouts6mo ago
Remove generational Java might be running on java 17 compatibility mode Specifically versions before 1.20.5/6 don't use jdk 21
code
code6mo ago
I figured it out you forgot a - lol infront of the xx: works fine now sry for bothering you
Brussel_sprouts
Brussel_sprouts6mo ago
Oh yeah Is okay
Want results from more Discord servers?
Add your server