300,000 chunks loading, 3 hours remaining? is this normal!?

just installed this mod with fabric/iris and its giving me this indication that itll take this long to load? is there something i can do to fix this?
No description
92 Replies
Skillnoob_
Skillnoob_2mo ago
totally normal !slowgen
YAGPDB.xyz
YAGPDB.xyz2mo ago
World generation in general is quite slow, if you want to speed it up: Install Noisium, Lithium and C2ME(DH 2.3.0+). These mods can improve generation speed by a bit, but it will still not be fast. 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)
Ramelstag
Ramelstag2mo ago
not only that's normal, but you're also not expected to wait for it to all load before start playing
cuttle
cuttleOP2mo ago
also i now have weird ghost artifacts in my game
No description
Skillnoob_
Skillnoob_2mo ago
Place/break a few blocks in that chunk and wait My autocomplete has learned that sentence lmao
Ramelstag
Ramelstag2mo ago
isn't that a bug that was fixed recently?
Skillnoob_
Skillnoob_2mo ago
That was a different thing This still sometimes happens
cuttle
cuttleOP2mo ago
ok placing blocks seems to have fixed that
Ramelstag
Ramelstag2mo ago
when you do that it forces the LOD to update and it will do so with actual world data that's why it fixes it
cuttle
cuttleOP2mo ago
if i set the generation distance to 32 for example, will this give me the default render distance while being less intensive on my pc compared to just maxing out the render distance normally?
Ramelstag
Ramelstag2mo ago
you mean, if for example, you set the DH render distance to 32, and your regular render distance to something much smaller like 8? then yes, DH rendering is a lot more lightweight that's the whole idea behind it
cuttle
cuttleOP2mo ago
ok so if i just want to see a bit further i can put the DH render to something more reasonable like 32-64 and turn my actual render distance down
Ramelstag
Ramelstag2mo ago
yeah usually 8-12 chunks of regular render distance is recommended for dh no more than 12 tho DH isn't a performance mod but you can sorta use it as a performance mod if you want a lot of render distance and have a weak gpu, if you set the DH render distance between 32 and 64 or so, and then the vanilla render distance to something tiny like 6 or so the real challenge with DH is cpu usage, dh has several tasks besides just rendering the LODs
Skillnoob_
Skillnoob_2mo ago
using DH for render distances such as 64 is not really recommended, there's no point the further you render, the less DHs terrain will have a effect on fps, hence the LODs
cuttle
cuttleOP2mo ago
huh? but increasing the DH render takes significantly longer to load
Skillnoob_
Skillnoob_2mo ago
I'd use 128 as a minimum, but 256 won't make a huge difference
Ramelstag
Ramelstag2mo ago
.
Skillnoob_
Skillnoob_2mo ago
you can still play while it loads disable the message in the DH main settings page and play it loads in the background see this if you want to speed it up
cuttle
cuttleOP2mo ago
but if it takes 3 hours to load at 256 its kind of pointless unless i plan on playing for 3 hours and at the end of it want an incredible view?
Ramelstag
Ramelstag2mo ago
it won't waste those hours it spent generating it it stores the LOD data in a file
Skillnoob_
Skillnoob_2mo ago
the LODs don't pop in once its done generating, its done gradually and shows them as they are being generated
Ramelstag
Ramelstag2mo ago
so when you join the world again it loads from the file which is fast instead of generating from scratch
cuttle
cuttleOP2mo ago
so youre saying if i set the render to something big like 256, everytime i quit minecraft and load it up again it will be 256 render immediately? assuming i dont move
Skillnoob_
Skillnoob_2mo ago
not immediatly, but it will load a lot faster, at most maybe a few minutes
Ramelstag
Ramelstag2mo ago
well it's not instant, but it's like, instead of 3 hours it would be like, 3 minutes
Skillnoob_
Skillnoob_2mo ago
and you can move when its doing that DH doesn't require you to stand still you can just begin playing
cuttle
cuttleOP2mo ago
ok and how do i toggle the message saying the chunks loaded and time remaining
Skillnoob_
Skillnoob_2mo ago
in the main dh settings page is a toggle for that show gen % progress or something like that !config
YAGPDB.xyz
YAGPDB.xyz2mo ago
To edit the config, press the button next to the FOV slider to edit the config. The config file found in .minecraft/config/DistantHorizons.toml
cuttle
cuttleOP2mo ago
sweet thank you very much guys very helpful sorry one last thing, just a thought, if the DH render is gigantic, is there any reason to have the default render to anything other than the minimum? you guys say to have it no more than 12, why not turn it all the way down to 2?
Ramelstag
Ramelstag2mo ago
try it and you'll see why dh rendering is too undetailed to be so close to you
cuttle
cuttleOP2mo ago
once DH renders all the chunks will things in the distance still look undetailed like this?
cuttle
cuttleOP2mo ago
No description
cuttle
cuttleOP2mo ago
or will it have actual clarity
Ramelstag
Ramelstag2mo ago
no dh render is always undetailed like that it's the whole point of the mod it lowers the detail more and more as the distance increases so it is feasible to render it, and you can see far out still
cuttle
cuttleOP2mo ago
i see, do you know what the limiting factor is for having a high regular render distance? if im stuttering at say 20 render distance but im fine at 12, if i allocate more ram would that help?
Ramelstag
Ramelstag2mo ago
the stuttering is usually due to the background tasks DH does, nothing related to rendering/gpu allocating more ram could help or it could do a whole lot of nothing depends on how many threads you have and how much you already allocated if the game is stuttery/choppy try reducing the cpu load the balanced cpu preset is 50% of your threads low impact is 25%, aggressive is 75% and i paid... is 100%, minimal impact is 10%
cuttle
cuttleOP2mo ago
i only ask because before i installed DH, i was getting stuttering on high render distances. after installing DH i increased the allocated ram from 2 to 4 and now i am able to run a render distance of 20 with DH render at 256 and everything is running smooth
Ramelstag
Ramelstag2mo ago
render distance itself won't dictate whether you'll sutter or not rendering is a gpu process also, vanilla render distance above 12 is not advised with DH
cuttle
cuttleOP2mo ago
why?
Ramelstag
Ramelstag2mo ago
because it starts getting too intensive on top of DH's rendering adds more cpu work too when you start moving
cuttle
cuttleOP2mo ago
hmm when DH finishes loading chunks does the cpu usage go down? im at 100% cpu usage whether im at 12 render or 20 render but im still loading DH chunks
Ramelstag
Ramelstag2mo ago
yes, because generating LODs is the most intensive task it has if it is not set to the max cpu load, something else is taking the rest of the cpu power in that case you may wanna lower it also just moving causes cpu usage spikes, in minecraft in general and if your fps is way higher than you'd need it to be, capping the fps helps a lot too
cuttle
cuttleOP2mo ago
i want to test some things, if i uninstall DH do all the LODs go with it?
Ramelstag
Ramelstag2mo ago
no !lodstored
YAGPDB.xyz
YAGPDB.xyz2mo 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/ Server Mod - Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite - Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite - End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite Server Plugin All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite NOTE: Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal and .sqlite-shm If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together! If you don't, the database will become corrupted.
cuttle
cuttleOP2mo ago
oh it looks like the DH data is only in the kb range anyway so not alot of space
Ramelstag
Ramelstag2mo ago
wait what nanananah that aint right it's usually way bigger than that
cuttle
cuttleOP2mo ago
No description
Ramelstag
Ramelstag2mo ago
that's for the end were you in the end? you were mostly in the overworld didn't you
cuttle
cuttleOP2mo ago
oh my b lol
cuttle
cuttleOP2mo ago
No description
Ramelstag
Ramelstag2mo ago
yeah that's the real stuff
cuttle
cuttleOP2mo ago
how would i go about doing a complete uninstall?
Ramelstag
Ramelstag2mo ago
just delete the mod, the config, and those three DH sqlite databases
cuttle
cuttleOP2mo ago
so remove the DH jar from the mods folder, then in the saves folder manually delete the 3 Sqlites from every dimension where is the config?
Ramelstag
Ramelstag2mo ago
config/DistantHorizon.toml
cuttle
cuttleOP2mo ago
ah got it also since DH is rendering everything in a massive radius at low resolution, when i actually get close enough to something, is the rendering process easier because things are also kind of half rendered? cause its kind of crazy that without DH i was stuttering on 20 render but with DH and 20 render everything is running smooth
Ramelstag
Ramelstag2mo ago
well it won't really change how much gpu stress you're getting, because when you move, the LODs that were close to you turn down in detail, and the ones that were farther from you go up in detail this it will raise and lower detail as you get closer or far away be noted that this process also isn't instant if vanilla rendering at 20 was causing stutters, vanilla render at 20 with DH on top of that, would cause 10x the stuttering, this doesn't make sense DH doesn't touch vanilla renderer, it adds a whole new kind of rendering, after the vanilla renderer ends this is why it isn't a performance mod, a performance mod doesn't really add anything, but makes existing stuff run better
cuttle
cuttleOP2mo ago
just ininstalled DH and everything is still running smooth, maybe because i allocated more ram? but you said rendering was a gpu thing
Ramelstag
Ramelstag2mo ago
yeah as soon as stuff loads in the cpu is gonna be chill rendering is just drawing stuff on the screen
cuttle
cuttleOP2mo ago
no idea whats happening lol, im using photon shaders with iris and it normally runs smooth but id occasional get stutter so bad the game was unplayable, thought id try the DH mod so i can see more with lower vanilla render
Ramelstag
Ramelstag2mo ago
oh right you see, what dh helps with, is adding a type of rendering that goes really, reeeeaaally far out, and is still feasible for the gpu to run when the gpu struggles, normally what you get is your fps gets lower, with maybe some choppiness at most full-on stutters is gonna be a memory thing or a cpu thing which is something DH won't help with would probably make it worse actually but you should try to investigate what's going on when you get those stutters
cuttle
cuttleOP2mo ago
from what you describe, if full on stutters is a memory thing, then allocating more ram must have solved the issue
Ramelstag
Ramelstag2mo ago
possibly, yes but usually it's also a cpu thing in most games it is a cpu thing but java is weird with memory too you allocate too little, you get stutters, you allocate too much, you get stutters there's a different memory garbage collector you can try that would reduce max fps but would make it less stuttery, that can help when the issue is the garbage collection and not insufficient memory allocation
cuttle
cuttleOP2mo ago
ill look into that if the issue persists, for now it seems just adding more ram fixed the stutters just reinstalled DH too what was the thing that made the chunks load faster?
Ramelstag
Ramelstag2mo ago
uh, a mod? c2me?
cuttle
cuttleOP2mo ago
at the very start of this convo you mentioned something that can help with the 300000 chunks and 3 hour loading time
Ramelstag
Ramelstag2mo ago
that wasn't me, but noisium, lithium, and c2me can slightly speed it up but again, for the billionth time, you dont need to care about the estimated time, you don't need to wait for it
cuttle
cuttleOP2mo ago
i know but it would be nice to speed up the loading so i can reduce cpu stress asap
Ramelstag
Ramelstag2mo ago
then just reduce the cpu load because waiting for it to finish so you can have enough cpu to play the game is not feasible what cpu you got?
cuttle
cuttleOP2mo ago
ill check in a minute away from pc atm
Ramelstag
Ramelstag2mo ago
and speeding it up, will just, speed it up, not reduce cpu stress, and it would still take hours
cuttle
cuttleOP2mo ago
i have an intel(R) Core(TM) i7-9700
Ramelstag
Ramelstag2mo ago
seems to be performing as expected sure is better than mine on balanced i get some choppyness and on low impact is a lot smoother, not perfectly smooth, but good still but i have other tricks under my sleeve so, this isn't a fair comparison see if on low impact, you can play comfortably while DH is generating more stuff in the background
cuttle
cuttleOP2mo ago
one sec i wanna test something just uninstalled it again. with a vanilla render of 20, my cpu usage is at about 40=50%. with DH installed and loading chunks, its at 95-100% constantly. im assuming this is because its loading hundreds of thousands of chunks initially but once that process is complete, will the cpu usage drop to something more normal?
Ramelstag
Ramelstag2mo ago
that cpu usage would also drop even further than that, when it would be done because the game running on almost idle is not gonna use 50% of that cpu also right as you load in to a world with dh it's normal to see the cpu usage at 100% for a minute or so even if it is at low impact
cuttle
cuttleOP2mo ago
when my vanilla render is maxed out at 32, i get about 40-50% cpu usage standing still and it increases to around 70-80% when i move no lag, no stutter i do like the DH mod but if its gonna put my cpu at 100% constantly maybe its not worth using again, is it only at 100% because its trying to load the initial 300k chunks?
Ramelstag
Ramelstag2mo ago
did you tune back the render distance to 8 - 12 when trying with dh?
cuttle
cuttleOP2mo ago
yea i lowered it down to 12
Ramelstag
Ramelstag2mo ago
only if you set the cpu preset to the highest, the default balanced preset will use 50% of the threads, so that's 50% usage plus whatever else the game may be doing this initial 100% usage is even more apparent if you've been deleting the database file for each trial
cuttle
cuttleOP2mo ago
ill try it again tomorrow cuz ive gtg soon but thank you so much for all the help youre amazing dude
Ramelstag
Ramelstag2mo ago
capping the fps helps too
cuttle
cuttleOP2mo ago
hey, im back so about the cpu usage when using the balanced preset, my cpu usage is between 90-100% constantly this lines up with what you said earlier, if the balanced preset is using 50% of the threads, when i checked my cpu usage with DH uninstalled, my cpu was using 40-50% to simply run the game lowering the preset to minimal or low lowers the cpu usage dramatically to something more sustainable, but terrain takes far too long to load in could i leave my pc on overnight to generate chunks and then lower my preset to minimal later on?
Miki_P98
Miki_P982mo ago
Yes
cuttle
cuttleOP2mo ago
whenever i try and change the quality preset from anything other than custom, i click done and when i go back into the menu its displaying as custom again
Skillnoob_
Skillnoob_2mo ago
thats a known bug, it uses the one you set, it just displays custom
cuttle
cuttleOP2mo ago
can i use a chunk loader mod like chunky to speed up chunk generation?
Miki_P98
Miki_P982mo ago
No !chunky
YAGPDB.xyz
YAGPDB.xyz2mo ago
Using Chunky to pregenerate for DH is not recommended for several reasons. The first one is the swiss cheese that might show up when using chunky while DH is installed. The second reason is that it's pointless, as DH has a build in pregenerator that is better integrated than chunky: - It saves space by only storing LODs, not normal chunks - It is faster to use DH's pregenerator to generate the LODs than first using chunky to generate the normal chunks, and then using DH to convert the normal chunks to LODs - It is part of DH, and therefore always/only called when DH needs it - Chunky calculates it's radius in blocks, confusing the user if they are not aware of this Distant Horizons' built-in LOD pregenerator is enabled by default, and can be sped up or slowed down by changing the Cpu Load in DH's settings, or disabled by turning off Distant Generation. If you want to pregenerate both LODs and normal chunks, set the Distance Generator Mode to Internal Server under Advanced, World Generator. This will of course take up quite a lot more storage space. Make sure you have C2ME installed if you want to use Internal Server, as the generation speed will be crap if you don't. Note, this also applied to other similar pregeneration mods.
Miki_P98
Miki_P982mo ago
If you want both LODs and Chunks, using DH generator is faster And you avoid problems !slowgen
YAGPDB.xyz
YAGPDB.xyz2mo ago
World generation in general is quite slow, if you want to speed it up: Install Noisium, Lithium and C2ME(DH 2.3.0+). These mods can improve generation speed by a bit, but it will still not be fast. 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)

Did you find this page helpful?