Tried fixing swiss cheese problem, got worse
as mentioned in the faq, i had swiss cheese problem, so i put DH mod out of the folder while chunky generated, but when i put DH back in, entered the world, LODs are generating only about 2 chunks after the normal chunks (which are 12), cpu is under pressure, so something must be generating, but nothing appears. version 1.20.1, chunky, tectonic and other mods. What should i do?
18 Replies
/slowgen
World generation in general is quite slow, if you want to speed it up:
Install Noisium and Lithium, these mods can improve generation speed by a couple percent.
Make sure to remove the C2ME mod as it significantly slows down DH chunk generation by up to 35%.
Increase
CPU Load
in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU.
To see if Distant Generator
is really working or not:
1) Check CPU usage while in-game, using Aggressive
settings of CPU Load
. If CPU usage's hovering around 80-100%, the LoDs are generating in the background.
2) Go to DH settings > Advanced Options > Debug > Wireframe
, set Enable Debug Wireframe Rendering
and Show World Gen Queue
to True
.
Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)Also if the holes already happened, delete the DH LOD DB or make a new world
/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/
Try the second part to see it distant generation works
Also are you on a server?
/server
Distant Generation doesn't work in multiplayer, meaning DH won't be able to generate LODs for chunks outside the vanilla render distance.
Instead, as you travel around the world, LODs will be generated for areas you've visited.
In the next update, DH 2.3, you will be able to add DH to your server granted it's running a compatible mod/plugin loader (Fabric, (Neo)Forge, Bukkit and their derivatives). This will allow the server to generate LODs and send them to the client, making distant generation possible on multiplayer.
If you wish to try 2.3 early, read everything in this thread: https://discord.com/channels/881614130614767666/1285883332768563284
Keep in mind that this build is still experimental, we do not encourage using it on large servers until further testing.
hi, it's singleplayer, and the holes happen on any new world, noisium and lithium installed, c2me absent, i'll try your suggestions later, thanks for now
hi again, i deleted the DistantHorizons.sqlite file from the world that didn't want to render the LODs, it worked but did take a really long time, it's like i'm generating the chunks again, left the world for 9 hrs and here's the result
aggressive, 512 distance, cpu always was at 60-90%
that is what the sqlite file is, the dh world save
when you delete it dh has to rebuild all the chunks
which does fix holes
but takes a while
oh ok, i guess that's it, thanks to both of you
I'm having the same thing happen.. It seems with the more recent versions of DH that maybe DH is not using pre-generated chunk data in making LODs. If I generate via chunky with DH not installed and then install DH with disable Distant Generation disabled none of the LODs get built. Then when I enable Distant Generation the LODs build but it takes a very long time... I'm assuming very few people are using chunky?
If you disable distant generation distant LODs will in fact not be generated
If you set it to pre-existing chunks only, DH will generate distant LODs only if where vanilla chunk is preset and can be used
If you set it to features it will use vanilla chunks if avaible and generate it's own if not avaible
World generation in general is quite slow, if you want to speed it up:
Install Noisium and Lithium, these mods can improve generation speed by a couple percent.
Make sure to remove the C2ME mod as it significantly slows down DH chunk generation by up to 35%.
Increase
CPU Load
in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU.
To see if Distant Generator
is really working or not:
1) Check CPU usage while in-game, using Aggressive
settings of CPU Load
. If CPU usage's hovering around 80-100%, the LoDs are generating in the background.
2) Go to DH settings > Advanced Options > Debug > Wireframe
, set Enable Debug Wireframe Rendering
and Show World Gen Queue
to True
.
Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)Using Chunky for generation should be ~35% slower then DH generator
OH! sweet! I didn't know about this feature. I suppose it doesn't matter that much if I use DH distant generation along side chunky. I'd like to have LOD and vanilla chunks pregen to save cpu for users with worse computers on my server, so I'm just testing things out now. Also pregenerating the mapping mod is a nice bonus.
Thanks for the tip!
/chunky
Using Chunky's pregeneration and Distant Horizons at the same time is known to cause LODs to turn into swiss cheese as can be seen in the attached screenshot.
Distant Horizons has a built-in LOD pregenerator called Distant Generation. However, Distant Generation only saves the LODs, not the vanilla chunks. This is in order to save file space, as pregeneration often leads to huge file sizes.
If you actually want to pregenerate vanilla chunks along with LOD data, remove Distant Horizons, use chunky to pregenerate, and add Distant Horizons back. Once the pregeneration is done and Distant Generation is enabled, Distant Horizons will convert all the pregenerated, saved chunks, inside your DH Render Distance to LODs.
If you only want the LOD data and don't need the vanilla chunks, use Distant Generation instead of Chunky's pregeneration.
Note, these issues may not only occur with Chunky, but also with other similar pregeneration mods.