Distant Horizons stops working once I travel quickly

I got Iris and Distant horizons working really well on 1.20.6, but i noticed that the second I hoped in a boat and travelled distant horizons stopped working and i went back to my normal render distance for what was infront of me. I'm assuming this is because I was simply moving too quickly for my pc to keep up with loading, but I was wondering if there was a fix for this?
87 Replies
hardester
hardesterā€¢6mo ago
:harold: Distant Horizons needs time before it can generate all the chunks specified in the settings. If you're going to use it for screenies, it's best to increase a few settings and leave Distant Horizons running overnight. Other than that, the default settings are best used for survival worlds, barring high velocity movements.
Moki ā™”_ā™”
Moki ā™”_ā™”OPā€¢6mo ago
would any of the mods that pre load chunks be able to help with the load time?
That Guy
That Guyā€¢6mo ago
they would be able to preload them but not speed up the loading times
hardester
hardesterā€¢6mo ago
If you mean Chunky, then it's advised not to use it as it causes holes in lods. Besides, with tuned performance settings following the guide pinned in #dh-help, you'll get the best possible performance without holes in lods. You can try and install a few world gen performance mods like Noisium and possibly add C2ME and Lithium. Those can help speed up things slightly further.
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
C2ME and Noisium speed things up by over 30 percent it's pretty significant
Pandemic
Pandemicā€¢6mo ago
if I'm setting up a server where me and a bunch of friends will be using distant horizons, can I use chunky to pre-generate the entire world? Or should I be looking at a different technique for that?
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
you need to explore the chunks manually, I don't believe pregenerating chunks even works on a server
That Guy
That Guyā€¢6mo ago
You can pregenerate chunks on a server
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Huh I guess chunky tricks the server into thinking your loading the chunks yourself Distant Horizons' distant generator is also a chunk pregeneator but it doesn't work on servers, only single player worlds
That Guy
That Guyā€¢6mo ago
But the problem is that it can cause major lag for anyone online at that time
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
yeah just another reason not to do that I guess
Pandemic
Pandemicā€¢6mo ago
i want to generate before i "host" it for everyone. hence "pre-generate"
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
that won't work, the people will still have to load in their own chunks
Pandemic
Pandemicā€¢6mo ago
damn
hardester
hardesterā€¢6mo ago
Consider exploring the experimental server variant of Distant Horizons on their Discord server if you're looking for playing with it on servers.
Pandemic
Pandemicā€¢6mo ago
is that on the github? and do i need a diff build for the client side mod to make it work?
Untitled Geek
Untitled Geekā€¢6mo ago
are they in ur pack if you were to host a server with a custom pack i bet you could include the distant horizons cache in the pack
Pandemic
Pandemicā€¢6mo ago
mhm i have already planned pre generating both the world chunks with chunky and the LODs with DH : ) in fact thats exactly why i asked
Untitled Geek
Untitled Geekā€¢6mo ago
nice yeah just either include the cache in the pack or send the cache to others
That Guy
That Guyā€¢6mo ago
you need to go onto the distant horizons discord server to find the serverside fork
Pandemic
Pandemicā€¢6mo ago
thank you!
That Guy
That Guyā€¢6mo ago
@Pandemic Here is the link (look at the pinned messages) https://discord.com/channels/881614130614767666/1154490009735417989
Untitled Geek
Untitled Geekā€¢6mo ago
what are the server side fork features
hardester
hardesterā€¢6mo ago
The server generates both chunks and lod data, which then passes it to the players to render and down-sample.
Untitled Geek
Untitled Geekā€¢6mo ago
cool
That Guy
That Guyā€¢6mo ago
yea pretty useful Could you please mark this post as solved thanks
hardester
hardesterā€¢6mo ago
They're not the OP. :harold:
That Guy
That Guyā€¢6mo ago
oh my bad wait can you do you have permissions to mark it as solved?
hardester
hardesterā€¢6mo ago
I can but I am willing to wait until the OP themselves to mark it as such. Beside, they opened this post to find a solution to their problem.
Untitled Geek
Untitled Geekā€¢6mo ago
yeah this thread kinda went off track
Pandemic
Pandemicā€¢6mo ago
bruh i legit tohught i was the OP šŸ’€
That Guy
That Guyā€¢6mo ago
same lol
Untitled Geek
Untitled Geekā€¢6mo ago
the OP had their question already answered at the start
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
In my base optimizations pack? Noisium is, C2ME isn't, turns out C2ME actually slows things down now so don't use it šŸ¤£
Untitled Geek
Untitled Geekā€¢6mo ago
C2me is faster for me Wdym @Piotr Barcz YT
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
James Seibel said it can slow things down he's the Distant Horizons dev I still use C2ME just because but maybe I won't and I'll see what happens
Untitled Geek
Untitled Geekā€¢6mo ago
Huh
hardester
hardesterā€¢6mo ago
C2ME is mostly beneficial for vanilla chunk loading speeds. Not so much for Distant Horizons chunk generator. Wait the sec... :Render_Thinking: What if C2ME helps for the type of people that move around places?
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Maybe helps
Untitled Geek
Untitled Geekā€¢6mo ago
So won't it still help with the real chunks
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
yes it will
Pandemic
Pandemicā€¢6mo ago
C2ME in my modpack always causes a crash always At least when using Chunky to gen I can't confirm beyond that But I'm pretty sure it will clash with any and all chunk gen optimization mods
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
don't use chunky, causes chunk holes and is slower than optimized threading for DH's own generator
Pandemic
Pandemicā€¢6mo ago
Shit really?
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
yeah
Pandemic
Pandemicā€¢6mo ago
I've had no issues w chunk holes but it does require a ton of babysitting
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
I don't know why anyone wastes their time using the thing DH on I Paid For The Whole CPU is faster šŸ¤£
Pandemic
Pandemicā€¢6mo ago
So I should just use DH, disable the view setting, enable distant gen, fire & forget? Will I eventually run out of memory the same way as I do with Chunky?
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
yeah probably don't load over 312 chunks, it's pointless
Pandemic
Pandemicā€¢6mo ago
Damn, so I still have to babysit
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
if you're not overloading your ram then you just let it sit
Pandemic
Pandemicā€¢6mo ago
I want to pregen a 1024-2048 chunk diameter world for a server, LODs and all
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
just leave distant generation on
Pandemic
Pandemicā€¢6mo ago
I guess I can leave that to the server client when I'm ready
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
and turn off the renderer that way DH can use threading, build LODs as it goes and it just won't render them just let the computer sit around
Pandemic
Pandemicā€¢6mo ago
BTW do you know of any way to force CPU affinity on launch with Prism? I'm not using that system explorer thing whatever
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
affinity?
Pandemic
Pandemicā€¢6mo ago
BC the only way to make it work is to compile the executable in visual and that's too much work https://superuser.com/questions/181577/what-is-windows-priority-and-affinity-and-what-advatanges-does-it-provide
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
I don't know anything about that kind of stuff, why would you need to compile Prism in Visual Basic
Pandemic
Pandemicā€¢6mo ago
Not prism Okay Windows allows u to manually configure what threads a running executable is allowed to use Only issue is, it doesn't stick in Win10
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Oh well Prism uses all the threads
Pandemic
Pandemicā€¢6mo ago
Yes I'm referring to the javaw executable when MC launches Prism is fine
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
if DH is running the CPU is running 100 percent the whole time or rather, Minecraft uses all the resources it has on hands
Pandemic
Pandemicā€¢6mo ago
Without going into too much detail I've found on my CPU that allowing javaw.exe to use cores from both CCDs actually makes it less efficient since it cannot distinguish which cores come from which CCDs and provision tasks accordingly so I force it to only one CCD using Task Mgr If I launched javaw.exe manually I could just configure its launch args myself but I can't since it launches through Prism @Piotr Barcz YT wait doesn't DH discard chunks after it loads them? I want the chunks to remain after I generate them
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Nope, it doesn't discard them
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
DH discord links? I'm not joining that server just to see what the heck was said there šŸ¤£ they have an anti idiot system that I wouldn't pass through most likely
Pandemic
Pandemicā€¢6mo ago
It's multiple messages from the DH devs stating that DH discards chunks after it generates them into LODs
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
after it builds LODs resembling them you mean yeah
Pandemic
Pandemicā€¢6mo ago
I need the generated chunks to stay
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
well that's odd since even after the 2.0.3 updates that reduced world file size the world sizes still reached into the gigabytes @Pandemic What you could do is use fabric chunk pregenerator, I think it might not screw up the LOD generation like Chunky does not to mention it gives you a progress bar
Pandemic
Pandemicā€¢6mo ago
Chunky gives a progress bar Does chunky rly screw up LOD gen? I haven't had issues with it so long as I don't load both mods simultaneously I load Chunky w/ modpack, make sure DH isn't loaded Load my chunks Unload Chunky, Load DH Render my LODs This has worked before I just hit a couple hiccups but I think I found a workaround
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
for practically everyone I've seen who've used it there have been the weirdest chunk loading glitches and no chunky doesn't give a progress bar, that's fabric chunk pregenerator
Pandemic
Pandemicā€¢6mo ago
How much you wanna bet
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
I've used chunky several times trying it out it doesn't have a progress bar
Pandemic
Pandemicā€¢6mo ago
No description
Pandemic
Pandemicā€¢6mo ago
it even has a console output!
No description
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
New update I guess
Pandemic
Pandemicā€¢6mo ago
Either way, I can't use DH's chunk gen because it conflicts with Yung's mods and likely a bunch of other worldgen mods I'm using Chunky doesn't have that issue though
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Distant Horizons won't even work with Alex's Caves period so that's not surprising
Pandemic
Pandemicā€¢6mo ago
Won't work or won't generate the chunks of? There's a big difference there This is my worldgen modlist: Better Archeology Bountiful ChoiceTheorem's Overhauled Village Create (Create: Structures) Fabric Waystones Farmer's Delight Geophilic Incendium Nullscape Tectonic Terralith The Lost Castle Tidal Towns Towns & Towers Villagers Plus When Dungeons Arise YUNG's Better Desert Temples YUNG's Better Dungeons YUNG's Better Jungle Temples YUNG's Better Mineshafts YUNG's Better Nether Fortresses YUNG's Better Ocean Monuments YUNG's Better Strongholds YUNG's Better Witch Huts YUNG's Bridges YUNG's Extras
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
No it just bugs out like crazy with Alex's caves, doesn't render terrain right at all
Pandemic
Pandemicā€¢6mo ago
Oh wow thats unfortunate Glad I'm not using it
That Guy
That Guyā€¢6mo ago
False
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
true, according to Hardester I believe
That Guy
That Guyā€¢6mo ago
I mean you would pass the anti idiot system
Piotr Barcz YT
Piotr Barcz YTā€¢6mo ago
Oh xD
Want results from more Discord servers?
Add your server