Distant Horizons

DH

Distant Horizons

Join the community to ask questions about Distant Horizons and get answers from other members.

Join

help-me

bug-report

How to show DH/Gen Import?

I already set "True" but I can't saw it on screen
No description

Something with chunks

Why? This is official dh smp and simply optimized + dh client
Solution:
itll fix itself if you wait long enough
No description

DH crashes with Access Violation(FogShader & FogRenderer) joining server or world

Mod list: Just DH. No error messages in logs. Logs end with
[13:04:35] [Render thread/INFO]:
Shader loaded sucessfully.
[13:04:35] [Render thread/INFO]:
Loading shader with type: 35632
[13:04:35] [Render thread/INFO]:
Shader loaded sucessfully.
[13:04:35] [Render thread/INFO]:
Loading shader with type: 35632
...

Server crashes on startup with DH 2.3 installed

My 1.20.1 minecraft forge server fails to start when Distant Horizons 2.3.0-b is installed. Error message: `Exception in thread "main" java.lang.module.ResolutionException: Modules grieflogger and distanthorizons export package org.sqlite.javax to module valkyrienskies at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)...
Solution:
i just completed it and the mod causing the issue turns out to be Grieflogger

FPS Tanks Even If Everything Is Disabled

As the title says, my FPS tanks even if I have everything turned off and the settings set to minimum. I verified by duplicating the modpack and only removing DH, FPS without DH is 140+, with DH and everything enabled 30, but even if I disable everything, I still only get 30-45fps. Is this normal behavior for the mod? Other thing I noticed was even when everything on the settings was disabled, it was still queing chunks and running tasks in the "f3" display. The only section it wasn't running/generating tasks for was the generate/import LOD section. Hardware is...
Solution:
Solved the issue myself, for future reference the issue was that I was setting the "LOD Chunk Render Distance Radius" too high. For others reference, I had it set to 1000, and even when lowered afterwards I was still at low FPS. This is because you need to restart the game when you lower the setting. For reference I get 45-60 at 256, and solidly over 60 at 128...

LOD not working on server, Black border

No matter what i set my stuff to, it all looks like this. Fabric 1.21.1 on server and client.
No description

Server Install Help

I have tried the install from the nightly build one and the newest one on forge, placed it in the .minecraft/mods folder, and restarted the server but there is no config file and the mod isn't showing up anywhere Running Forge 1.21.4 on Apex Hosting, joining from a vanilla client, DH is the only mod...

Some Clarification On How DH 2.3 Works On Servers.

I am curious how generating the LOD's on a server now work. I understand from the video that now the server generates LODs outside of where players have been like how it works in single player, rather than before where you could only generate locations where you've been on servers. My question/confusion, is does that offload generation entirely to the server which then sends it to the client? Or do you still have to run the generation through both? For example when you join a new single player world, it's recommended that you turn up the CPU usage and wait till its done generating, will this still be required on servers even if the server has already been running a long time and finished generating? Or will new players have the LODs sent to them from the server and just need to render them rather than generating?...
Solution:
LOD generation happens only on the server, but the client will do LOD downsampling from high quality to the lower qualities. Enabling "n-sized generation" under DH Settings -> Advanced -> Server -> Experimental will get rid of this as well, and zero LOD generation or downsampling will happen on the client.

Excess memory usage on Paper server

i installed the server-side DH plugin on a small server I'm running, and upon joining the server, the ram spikes up extremely fast and promptly runs out of memory and crashes. even at 16gb of memory, it just goes up to the max in less than a minute and crashes - is this ram usage normal, or is there anything I can do to fix it?
Solution:
You have told Java that its heap can be the full memory limit of the container, but that's not true

Config help

Can anyone explain what builder_type and builder_resolution do? Does lowering the resolution number increase or decrease resolution? what do each of the builder types do?

MacOS (M4 pro, X Minecraft Launcher) JRE Crashes when join singleplayer world

When I only use Distant Horizontal mod to join the world, all things work fine. But when I add sodium and indium mod, and then join the singleplayer world, the game will crash (without generating crash report). The latest log does not really says anything goes wrong. But instead, I found a hs_err log at the root directory of the minecraft instance. I've also tried to disable Instanced Rendering, but the game will still crash. Latest.log:...

Can I remove DH from my server mods folder or do I need to do anything fancy?

My old server can't handle it lol. Any help is appreciated.

"Server sent invalid level key" error using server side plugin

Latest server side plugin release, error is only shown to mod users when logging in
Solution:
removing the space from the world name solved the issue. no more error message and plugin works properly
No description

Some thoughts and questions about the "Early Download" feature

Our server is currently trying to use DH to give players a better experience, but because DH has a huge demand on the network that we can't satisfy, resulting in a very poor experience for most players, we plan to mimic the practice of some "3A" games and implement a "pre-download "We are going to split this function into server-side Mod and client-side Mod, the specific implementation idea is as follows Server-side Mod: regularly convert the map data into lod data, and generate a version file, then somehow synchronize the generated lod data to a local folder or some network disks, and generate a string of sharing code encoded in some way for the client to share with the players, which will be used for the client. Then somehow synchronize the generated lod data to a local folder or some netdisk, and generate a code to be used by the client to get the updated data.
At this point, the server mod will not send lod packets to the player, and will only generate lod blocks, and will only generate lod blocks, and will not allow the player to join in the process, to ensure the best performance.
Client Mod: By filling in the code generated by the server mod while adding servers, the player will be able to get a share code when joining these servers. Sharing code, when players join these servers, the Mod will automatically parse the sharing code and check if the local lod data is downloaded and doesn't need to be updated, otherwise it will go into a download process and only allow joining of the server when they have downloaded all the data and it is completely rendered by the client side...

No LODs, chunks are black

Anyone know whats going on here? I just updated from the release can didate to the proper beta version of DH, and now the LODs do not render and the outer edge of vanilla chunks are all black. GPU: Apple M1 Pro...
No description

Transition with shaders is not good

the transition without shaders on 2.3.0 is very good but with shaders it is not. This is with complementary unbound 5.4 iris 1.8.8
No description

Question Regarding DHS on Chunk Generation

Hi, does the "Requests unload without save for chunks loaded during LOD generation. Should improve performance and memory usage." part in 0.8.0 update now means newly generated chunks for LODs by DHS will no longer be saved? (Hence never actually generated on the server) (I'm referring to the DHS bukkit based server plugin)...
Solution:
DHS very politely asks the server to unload chunks without saving, yes. But chunks are still saved during generation, so how much of an effect this has on performance is unknown. Your world will still grow.

unusual block substitutions being made in LODs

about half the trees are rendered as just the leaf block, is this a setting i can change? only have dh installed
Solution:
Turn up the quality preset, or manually turn up vertical quality in the advanced settings
No description

"/dh" commands don't work

I am trying to set up the plugin but the commands don't work. The plugin is running and generating lods but is super laggy. My server is on 1.21.4 there was a possible conflict with decent holograns (/dh) plugin, but disabling it didnt change anything....