Celivalg
DHDistant Horizons
•Created by Celivalg on 3/6/2025 in #help-me
Nightly Forge 1.16.5 Server startup crash on post-init
https://mclo.gs/7wUkcaC
[06Mar2025 06:28:48.581] [Server thread/INFO] [DistantHorizons-AbstractModInitializer/]: Mod Post-Initialized
[06Mar2025 06:28:48.622] [Server thread/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER
right after DH post-init message,
Disabling DH removes the error and the server works fine.
(I have made sure to delete world/ and config/DistantHorizon.toml to make sure I get everything fresh)
I am going to continue disabling mods until I either:
- find an incompatibility
- find something I am doing wrong
- confirm it's DH crapping itself
If you have already experienced something like that with the latest nightly I'd like to know! could save me some time 🙂6 replies
DHDistant Horizons
•Created by Celivalg on 9/3/2023 in #bug-report
Incompatibility with Advanced Chimneys
(To clarify, I'm 99% sure it's advanced chimneys that's doing something wrong)
Huge tps drops when trying to get the lighting for the Pump block of Advanced chimneys,
For context, this mod adds fancy chimney mechanics, and one of the blocks (the pump) can be powered and emit light.
If I understand correctly, when DH tries to get the lighing for its lods, the pump assumes that getting its lighting value means it is in loaded chunks, and is trying to determine if it's getting powered?
but since the chunks are unloaded, it's loading the chunks, each tick. Now I got all of this from the spark profiler, I'll go read their code if it's open source and see for myself what they have done.
in the meantime here is my spark profiler log: https://spark.lucko.me/60Oqc2QDui (I recomend the flame graph view, button on the top right)
As I don't know how long spark keeps the logs, I can supply the profile file and you can open it on the spark website
8 replies
DHDistant Horizons
•Created by Celivalg on 9/1/2023 in #bug-report
Big FPS drop on crossing chunk boundaries
Solved: 1.19 vanilla issue, fixed in 1.20
Getting some strong FPS drops upon crossing chunk boundaries, from 130fps to 10 or lower for half a sec
Stronger when it is the first time I load the chunk upon joining world (not just world generation, loading the chunk, if I'm crossing between 2 chunks repeatedly, the issue still happens, but it's 130 to 30 and not to 10 and lower)
As far as I can tell, it's not linked directly to world gen or DH world gen, although the issue is much worse when I do have to generate chunks
It's only a fps drop, tps doesn't, well except when it hangs when I just fly at max speed and eventually cause the game to crash
Error on chunk generator, dunno if it's relevant
https://mclo.gs/3G0qkqF
config should be the default one
1.19.2 + Forge
(also tested on Fabric, but only with nightly, same issue)
Very few mods loaded (DH (tried RC2 and nightly, both same behaviour), spark (for tps testing, didn't show anything of substance), better F3 and it's dependency, cloth config API)
Just DH, just tried it, both nightly and RC2
Do I need to make an issue on GitLab with more info?
Just tested it in vanilla, no DH, I do still see a fps drop, but it doesn't go as low as 10-20 fps, maybe 300 to 60 (big drop, but heh, I don't need 600 fps)
So I don't think It's an issue per say, rather a performance requirement, it does make it unplayable on on a 1060 6GB tho which I find a bit weird...
22 replies
DHDistant Horizons
•Created by Celivalg on 1/2/2023 in #help-me
System wide silent crash
Hi,
randomly, usually after at least an hour in game, the whole system will hard crash. I am running Linux (specifically Manjaro and kernel 5.10), my system, including drivers, is up to date, and running a 1060 (with 6gb of vram). No logs in journalctl, as if the crash didn't happen (no mention of shutdown tho).
Now I've seen mentionned that DH has a tendency to uncover faulty hardware, I'm shooting in the dark here, but maybe someone knows of debugging tools or logging tools that could help me pin point that?
I don't really know why the game crashes, sometimes, I've been standing in the same area for a while, sometimes I'm exploring... tried different render distances to see if it was a Vram issue... same thing.
Ofc no game logs either.
I don't think my gpu is overheating (it's actually mostly under-utilized most of the time, but i'm gonna check that next).
Any insight is appreciated.
6 replies
DHDistant Horizons
•Created by Celivalg on 12/26/2022 in #help-me
DH and True Darkness custom LightMap
Hello!
So I've been trying to make a kitchensink with True Darkness and DH, but I realised that the DH lod chunks weren't actually dark during the night. So I investigated a bit how True Darkness makes blocks actually dark, and it's modifying the Lightmap. Now I have no background in minecraft's render loop, I do know a bit of openGL though, but since I am not clear enough with the render loop, it doesn't help me too much.
here is where I think True Darkness is hooking up to change the lightmap : https://github.com/grondag/darkness/blob/1.19/common/src/main/java/grondag/darkness/mixin/MixinGameRenderer.java
and here: https://github.com/grondag/darkness/blob/1.19/common/src/main/java/grondag/darkness/mixin/MixinLightTexture.java
From what I understand of reading DH's injections, it's rendering before blocks are rendered, and from what I read, True Darkness injects themselves a bit later... if I understood correctly.
(Can someone sanity check me?)
So are there some things that could be done on either sides to make this work? I don't think I dug up nearly enough info to determine that, but I am limited by my knowledge at the moment. I'll do more reading ofc, but I would appreciate some help towards maybe making a patch (it might be time for me to finally get into proper modding)
12 replies