Chunks do not render when flying
When flying with elytra, the world does not load fast enough (if distant horizon is active). CPU is 100%. If I disable DH, world loads quickly. I did not preload the world, which is a realistic case. I want it to load in background.
Hardware : Amd Ryzen 5600H 6 core 12 thread at 3.3 GHz (base) to 4.2 GHz (boost). It is a fairly common mid range CPU configuration and it is faster than mostly used CPUs (according to steam hw survey).
Possible Resolutions : Automatically disable DH when CPU usage is 100% or better, detect when user is flying & only render in the direction of flight.
I have currently set DH to 3 threads. When I am walking around, 4 threads (out of 12) are doing nothing (which can be used for lod generation). CPU usage is low. If I increase cpu then flying situation becomes worse. Will it be possible to implement some kind of dynamic cpu utilization based on how many cores are free ?
Modlist :
GameMode : Single Player
DH Version : 2.3.2-b-1.21.1 (Latest from modrinth)
Minecraft : 1.21.1
Solution:Jump to solution
I created a suggestion https://discord.com/channels/881614130614767666/1030106067604082718/threads/1358720892028321823 . Let me know if any changes are required.
18 Replies
/slowgen
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)/overdraw
Q: There are holes at the edge of vanilla Render Distance, especially during movement
A: This is caused by either vanilla terrain not loading in fast enough, or shader's incorrect overdraw prevention implementation or configuration (if you use one)
Some world gen speed improvement can be found when adding these three mods, but the affect will be minor:
- Noisium
- Faster Random
- C2ME (DH 2.3.0+)
The easiest fix is to move slower and/or ignore it. This hole is most visible while moving over not generated (by vanilla) terrain. Moving over that terrain every subsequent time may not create the hole. And moving slower will give MC more time to load the chunks as you go.
If none of that helped, you can also tune the overdraw prevention, look at the third section to know how.
Q: There are low quality full blocks behind and around non-full block, e.g. fences or ladders
A: This is intended behavior, to prevent holes in the world while you move, DH will overlap with some part of the vanilla terrain.
How much of the terrain is covered is determined by the overdraw prevention:
1.0 will mean DH LODs start where vanilla chunks end.
0.1 will mean that DH render very close to the players position.
0.0 sets it on auto mode.
To fix this, you can either:
Increase your vanilla RD, which will move the DH LODs further from you.
Tune the Overdraw Prevention setting, see the next section to know how.
Q: Where do I edit the overdraw prevention setting?
A: Overdraw prevention setting can be edited inside the DH config under:
Advanced > Graphics > Quality
BUT: if you use shaders, they will influence overdraw prevention. The effectiveness of overdraw prevention depends on the shader’s internal settings, which may or may not be adjustable. However, the shader’s overdraw prevention will always operate within the limits set by DH’s overdraw prevention. To avoid conflicts, ensure that DH’s overdraw prevention is not set too high.
You have to balance the CPU load between DH gen and load and vanilla gen and load
There is no dynamic CPU load setting in DH
There were suggestions for such system though
You can like them if you want
yes, where are they ?
Is this supposed to happen then ?

This does not happen if I disable distant horizon.
I am already using performance mods that you mentioned in above message. This was during high speed flying with elytra.
#suggestions
DH might not keep up with your speed
how ?
I don't understand what is happening in above screenshot anyway. All my cores are at 1.9 GHz but they should be at 3.3 GHz.
I think, disabling lod generation during high speed movement, should fix the issue. Because, minecraft chunk generation is able to keep up.
In the current state, distant horizon is practically unusable
This hole is a lack of DH chunks, not MC chunks
It is super usable
You can always pregen the LODs if your PC can’t handle them in real time with what you’re doing
Not every person creates a new world and starts flying elytra on max speed
Most travel by foot on survival or pregen LODs in creative by standing still
No, MC chunks are lagging too. I am fairly close to ground, you can see the tree on bottom left. I cannot see the plains ahead, which is generated by minecraft without DH.
I mean with fast movement.
Blame Mojang and your CPU for that
Yes, without pregen not many PCs can handle handle flying at top speed
Unless you have GPU and RTF 0.0.7, but it won’t release anytime soon
Many would fly with elytra in the endgame and visit new locations. And I waited for a bit before started flying. But I doubt it matters since I am visiting new far off locations.
It's a 5600H, not the top of line but it is not a slow cpu either. I think it can be fixed easily if DH detects flying and throttles/stops background chunk generation and let minecraft do it's thing. Should I create a bug report for this ?
I have a GPU, what is RTF 0.0.7 ?
RTF is ReTerraForged
Version 0.0.7 introduces GPU acceleration that makes worldgen realtime even when flying at max speed in Spector, but it still has many issues to resolve before release
It is not a bug so no
You can bump the existing suggestions for such system
The thing about endgame is that it is at the end of the game, and even if DH will fall apart for everyone at endgame, they still can enjoy DH on the start and in mid game, you can also always remove DH at endgame if you want for whatever reason
I cannot find an existing suggestion that says "Disable LOD generation when moving fast"
https://discord.com/channels/881614130614767666/1334107083536076813/1334107083536076813
https://discord.com/channels/881614130614767666/1350230865933762641/1350230865933762641
These are the 2 suggestions we have right now
If you think non of those cover what you want to be added create a new one, but in the description make sure to write how it differs from what already exists
Also make sure the comments below the suggestion haven’t modified or added to it what you want
Solution
I created a suggestion https://discord.com/channels/881614130614767666/1030106067604082718/threads/1358720892028321823 . Let me know if any changes are required.