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
What happens when you disable distant generation on dh's settings?
Do you still get the freezes?
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
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
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
Idk about RAM but GPU maxes out and then after DH is done loading everything it will stay above 90%
That shouldn't break, that's weird
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
in the F3 menu on the right near the top, should be the RAM usage
That is turning the rendering off and on. I'm now talking about distant generation
I'll look for it next time I try
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
You can give your friend the SQLite file(s) and they should be able to use the LODs as well
/lodstored
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/
Ty ty
In terms of this would I just be dragging those files to the appropriate folder in the Multiplayer server?
Yes
Awesome, tysm
Well, not in the folders of the server itself
But in the appropriate folder on the client yes
On the client, so just mine and his PC but not the server hosting the world?
yes
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
and when lag happens/you move you mouse?
also what is your CPU usage?
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
It might be GC then, but it should not freez for so long
Do you have any custom GC tuning flags?
GC as in Graphics Card?
Garbage Collector
I don't think I have any custom tuning flags?
Is that a DH setting?
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
flagShould 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
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
depends, if you have browser in the background or other apps
If you ran only MC try 12
Min 6 GB
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
Install mod
Ferritecore
and apply the GC flags I've sentWith 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
/chunky
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.
These go here?
I think yes
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?
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 doIssue still persists
JAVA virtual crash or game lagging during mouse movement?
Lagging during mouse movement
You could try running Minecraft with just DH, see if anything changes