Having issues after world gen

I'm having issues after letting LOD's generate to completion on 400 DH Settings. As it was all loading I had relatively stable framerates averaging at around 40-60 FPS, but now that it's all done whenever I try to get down low to the ground and move around or move my mouse, the game freezes for a few seconds before unfreezing and acting as if nothing was ever wrong. This happens even after trying to reload into the world at ground level as opposed to high up where I was AFK to generate the LOD's and I'm not sure how to fix it considering my game runs way more fine as it's generating 400 chunks out, but it decides to die out on me when it's finished and I try moving around.
46 Replies
Puhpine
Puhpine5mo ago
What happens when you disable distant generation on dh's settings? Do you still get the freezes?
Miki_P98
Miki_P985mo ago
How much RAM did you allocate to MC? How much do you have in your PC? Try reducing the CPU load in DH settings And tuning your GC
Dert26
Dert26OP5mo ago
8 GB's dedicated to MC, 16 in total in my PC I haven't tried since I know that usually breaks it until relaunch I think I've also tried this, especially after DH was done loading LOD's but it didn't help
Miki_P98
Miki_P985mo ago
What is your RAM usage in the F3 Menu? Does the usage hit 100% near the freezes? . You can try installing Lithium mod if you don't have it
Dert26
Dert26OP5mo ago
Idk about RAM but GPU maxes out and then after DH is done loading everything it will stay above 90%
Puhpine
Puhpine5mo ago
That shouldn't break, that's weird
Dert26
Dert26OP5mo ago
Not "break" but I've seen videos of people turning DH off with Shaders on or vice versa and it causes a weird effect where the image on screen is duplicated Like OG Halo out of bounds map glitches
Miki_P98
Miki_P985mo ago
in the F3 menu on the right near the top, should be the RAM usage
Puhpine
Puhpine5mo ago
That is turning the rendering off and on. I'm now talking about distant generation
Dert26
Dert26OP5mo ago
I'll look for it next time I try
Dert26
Dert26OP5mo ago
Ohhhh, my bad my bad. I have not tried that either yet since I figured it would be done anyways Yeah I don't get that issue though but I also just don't mess with DH or Shader settings too much while in game I'll try all of this stuff later today and share the results. In terms of tweaking settings, is there anything else I should keep an eye out for when it comes to the fact that I've got the 400 DH distance fully loaded from spawn? Especially considering that I wanna try and take this world with the already generated LOD's and give it to a friend I plan on playing on that world with so he hopefully doesn't need to load it all in like I did
Puhpine
Puhpine5mo ago
You can give your friend the SQLite file(s) and they should be able to use the LODs as well /lodstored
YAGPDB.xyz
YAGPDB.xyz5mo ago
Single Player: - Overworld: .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite - Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite - End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite Multiplayer: - .minecraft/Distant_Horizons_server_data/SERVER_NAME/
Dert26
Dert26OP5mo ago
Ty ty In terms of this would I just be dragging those files to the appropriate folder in the Multiplayer server?
Puhpine
Puhpine5mo ago
Yes
Dert26
Dert26OP5mo ago
Awesome, tysm
Puhpine
Puhpine5mo ago
Well, not in the folders of the server itself But in the appropriate folder on the client yes
Dert26
Dert26OP5mo ago
On the client, so just mine and his PC but not the server hosting the world?
Miki_P98
Miki_P985mo ago
yes
Dert26
Dert26OP5mo ago
Ty guys. I'll get the results of the original thing later today Disabling once everything's loaded in helps marginally but it still freezes when I turn my mouse to parts of the screen I haven't seen yet FPS and GPU/Memory usage doesn't change whether above is enabled or disabled But my memory usage seems to hover at around 50% when idle
Miki_P98
Miki_P985mo ago
and when lag happens/you move you mouse? also what is your CPU usage?
Dert26
Dert26OP5mo ago
When the lag happens the memory usage goes up 10-20% with the Allocated usage saying 91% which I'm assuming is just telling me how much was used at it's peak Task Manager is saying my CPU usage is averaging in the 10-20% area Even after the lag spikes
Miki_P98
Miki_P985mo ago
It might be GC then, but it should not freez for so long Do you have any custom GC tuning flags?
Dert26
Dert26OP5mo ago
GC as in Graphics Card?
Miki_P98
Miki_P985mo ago
Garbage Collector
Dert26
Dert26OP5mo ago
I don't think I have any custom tuning flags? Is that a DH setting?
Miki_P98
Miki_P985mo ago
Try adding those flags: -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational -XX:+AlwaysPreTouch -XX:+UseFastUnorderedTimeStamps in the same field you increased the RAM allocation if it will crash remove -XX:+ZGenerational flag
Dert26
Dert26OP5mo ago
Should also be noted that after a few full 360 spins the lag isn't anywhere near as bad when initially getting into the world, but it still brings the FPS down when not standing still and not looking around
Miki_P98
Miki_P985mo ago
No description
Dert26
Dert26OP5mo ago
How much RAM would you suggest I allocate with 16GB's of DDR4? At least I'm assuming I have DDR4 but I highly doubt it's DDR3
Miki_P98
Miki_P985mo ago
depends, if you have browser in the background or other apps If you ran only MC try 12 Min 6 GB
Dert26
Dert26OP5mo ago
Should also be noted that this is a modded pack with more than just DH, Idk if I mentioned that or if I tagged it (If there is a tag) but even then I'm not sure I downloaded anything that should cause this bad of an FPS drop after DH finishes loading everything in Specifically only when DH is done too, I didn't get the freezing while it was still loading the way far out LOD's when I was turning
Miki_P98
Miki_P985mo ago
Install mod Ferritecore and apply the GC flags I've sent
Dert26
Dert26OP5mo ago
With all of the LOD's I want being loaded/saved, should I keep Chunky installed as well? I've seen conflicting things on it on whether it helps or not Will also do this, just waiting for my MC instance to not be frozen after saving and quitting, lol
Miki_P98
Miki_P985mo ago
/chunky
YAGPDB.xyz
YAGPDB.xyz5mo ago
Chunky is known to cause LODs to turn into swiss cheese and bloat up world size, as can be seen in the attached screenshot. We recommend you enable "Distant Generation" in Distant Horizons' settings and wait. If you actually want to pre-generate vanilla chunks along with LOD data, disable Distant Horizons, wait for chunky to finish, then re-enable Distant Horizons.
Dert26
Dert26OP5mo ago
These go here?
No description
Miki_P98
Miki_P985mo ago
I think yes
Dert26
Dert26OP5mo ago
Alright, I've got that in and that mod installed. On launch I get a crash saying it can't create a Java virtual machine?
Miki_P98
Miki_P985mo ago
remove flag -XX:+ZGenerational it would be better to swich to JDK 21 but you would have to figure out yourself how to do so removing this 1 flag is the second best thing to do
Dert26
Dert26OP5mo ago
Issue still persists
Miki_P98
Miki_P985mo ago
JAVA virtual crash or game lagging during mouse movement?
Dert26
Dert26OP5mo ago
Lagging during mouse movement
Puhpine
Puhpine5mo ago
You could try running Minecraft with just DH, see if anything changes
Want results from more Discord servers?
Add your server