Distant Horizons Not Running Very Well

Hey so I have a pretty good PC (4080, AMD 7800X3D, 64 gb RAM), and distant horizons doesn't run very well in minecraft. Also, I gave minecraft 32 gb of ram to use
28 Replies
PopeOfPickles
PopeOfPickles4mo ago
i can also send my most recent log if needed
PopeOfPickles
PopeOfPickles4mo ago
can i get some help gang
Miki_P98
Miki_P984mo ago
Do you have custom GC flags? Default GC will strugle with anything above 12 GB and result in noticable stutter Best to use generational Z GC
PopeOfPickles
PopeOfPickles4mo ago
uh so what does that mean
Miki_P98
Miki_P984mo ago
What are your DH main settings and vanilla RD? Do you use shaders? What fps did you expect? GC stands for garbate collector, it is a JAVA thing that clears up RAM during app runtime The default one runs after a specified time passes and stops MC until it finishes Z GC runs in the background and does not stop MC Generational Z GC is newer better Z GC
PopeOfPickles
PopeOfPickles4mo ago
no shaders, 16 render distance in vanilla,
No description
PopeOfPickles
PopeOfPickles4mo ago
is this something i can download
Miki_P98
Miki_P984mo ago
It is something you can change by adding custom JAVA flag in the launcher or instance settings For Generational Z GC you need JAVA 21 which is the only thing you may need to download if you would like to use the best GC What fps did you expect?
PopeOfPickles
PopeOfPickles4mo ago
not really sure I just saw people running the same setting with a similar build and getting close to 200 fps and even with shaders
Miki_P98
Miki_P984mo ago
FPS might increase when the LOD generation finishes Check the fps after disabling Distant generation and setting CPU load to minimum and waiting couple minutes for the setting change to apply properly
PopeOfPickles
PopeOfPickles4mo ago
should i try this Generational Z GC first?
Miki_P98
Miki_P984mo ago
It won’t increase your average, only 1% lows, and decrease feelable stutter
PopeOfPickles
PopeOfPickles4mo ago
alright ill skip that since i dont really understand it fps is a lot better now what do those setting change
Miki_P98
Miki_P984mo ago
Distant generation enables DH to generate (not load, only the first time generation!) LODs outside of your vanilla render distance without the need of exploring the chunks by hand CPU load controls how much CPU DH uses for: - lod generation - lod loading - lod updates
PopeOfPickles
PopeOfPickles4mo ago
wow alright thanks
Miki_P98
Miki_P984mo ago
Most people have Distant generation on and CPU load on agressive and increased lod RD, wait couple hours for lods to generate and then reduce DH RD and CPU load to get back some fps It will make your game smoother but in a different way If you don’t notice it, it is hard to explain In a simple turn every 60 frames your game pauses for 2 frames It is simplified explanation With Z GC you would lose those 2 frames that the game was pause for, but it will No longer pause so the resulting image should feel smoother
PopeOfPickles
PopeOfPickles4mo ago
oh ok maybe ill figure out how to implement it
Miki_P98
Miki_P984mo ago
Google: custom Java flags in {your launcher game} It should be next to RAM allocation slider Or if you don’t have a slider, a flag just like the RAM flag Just a different incantation
PopeOfPickles
PopeOfPickles4mo ago
found this
Miki_P98
Miki_P984mo ago
Those are old flags that only tune the old GC ZGC is preatty new And it is designed to tune itself So the only flag you need to add it the use Z GC flag
PopeOfPickles
PopeOfPickles4mo ago
got it ill try to figure it out
Miki_P98
Miki_P984mo ago
Here is the Z GC flag: -XX:+UseZGC And here is the flag to make it generational (better but requires JAVA 21): -XX:+ZGenerational
PopeOfPickles
PopeOfPickles4mo ago
-Xmx32G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M so this is my current
Miki_P98
Miki_P984mo ago
You can try replacing: -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M With the ZGC flags But as you already had the tuned G1 GC the improvement won’t be that big Improvement is still and improvement 😁 You can always go back
PopeOfPickles
PopeOfPickles4mo ago
right thank you for your help
Miki_P98
Miki_P984mo ago
No problem 😸
Want results from more Discord servers?
Add your server