Suddenly broken across all Prism instances (M1)
I don't know how else to word the title. I was creating a singleplayer Fabric modpack on Prism launcher, adding dozens and dozens of mods. All the while, Distant Horizons continued to run flawlessly. After adding a new handful of mods and opening the game one time, DH started having weird behavior. LODs would not appear without shaders, and with shaders only a few would appear and they would be spotty and broken. With debug enabled I get an alternating loop of "same context buffer" and "shared context buffer."
What's strange about this is that this behavior is now universal across any instance I try DH on. I tried removing the new mods I added and shader settings I changed right before it broke—still broken. Tried creating a brand new instance with only the basic DH dependencies and without copying over any of my settings—still broken. It's like I somehow irreversibly broke Prism launcher, and reinstalling the launcher itself would be beyond a nightmare.
Any ideas what I might have done? Could I have corrupted or broken something about the launcher or java or my computer itself? Did one of the DH dependencies simply update to a new version that is broken on Mac? I'm not sure how the logs work and what parts of them are helpful to include here so please request things.
Minecraft 1.20.1 Prism Launcher 8.4, DH 2.1.2-a, Iris 1.7.2, Sodium 0.5.11, Indium 1.0.34, Java Temurin 17
123 Replies
/logsstored
You should send your
latest.log
file to provide additional useful information.
Logs are located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.You don't need an explanation of how logs work, just upload the latest.log file to mclo.gs and share it here
dh is even broken on old instances itworked fine on that i havent altered or updated in any way
on an older 1.20.4 instance it manages to load way more LODs but still eventually gives up and stops loading any more
it never did this before
im actually going insane over this
im trying using earlier versions of dh, sodium, indium, and iris
nothing is changing
it just gives up after loading a few lods
i witnessed peak, and it was snatched from my grasp as it was too pure for my mortal eyes
the peak in question was betternether + cinderscapes + amplified nether + tectonic + complementary + distant horizons
heres my f3 with and without shaders if that helps
any help is appreciated i have been going crazy over this all day
weirdest modded minecraft issue i have ever had to troubleshoot
ive never had something just universally stop working across all environments
new development after new development
my fresh instance can load more lod chunks now
many more than my modded one which quickly gives up
but still gives up long before finishing
additionally when i turn up the lod distance past 128 i start getting the fog on non lod chunks issue
Can you start by allocating more ram? 4 is pretty low when you're generating new chunks with DH
the modpack i was using when it initially broke had 8gb
ill try allocating 8 to this fresh instance
8 is probably fine, but maybe you should try a bit more like 12
still seems to give up long before fully generating
i set it to 512 so i could be sure it was stopping before finishing
the memory is never even reaching 40%
queued chunk updates alternating between 1 and 2 most of the time
also all shader clouds are rendering ontop of lods for some reason
i tried setting chunk update threats to 10 to see if that would help
Chunk update treads are not related to world gen
i cant tell if its fixed rn
Try without shaders, vanilla render distance low, fps limited, and a high cpu load in DH's settings
this doesnt look like 512 to me but it might be because the fog is broken
That's definitely not 512 chunks
More like 64
Are you sure you have a compatible shader? Fog should not behave like this with a compatible one
Gist
Distant Horizons shader compatibility info
Distant Horizons shader compatibility info. GitHub Gist: instantly share code, notes, and snippets.
complementary is compatible
Depends on the version
my issue is that the exact setup im using worked fine a couple days ago
You need the latest
Yea that's weird
and its broken without shaders anyway so they cant be responsible
this is 8 render distance, 60 fps limit
Let it generate for 5 minutes, see if it works
It takes a long time to generate chunks
/slowgen
If it feels like LoD generation with
Distant Generator
is too slow:
Try increasing 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)You could try the second part
i though the sudden breakage might have been due to me accidentally updating a mod
and the new version of said mod breaking it on my device
Seems to be working
but i tried out older versions of dh and all its dependencies and it still happened
Try this and tell me what happens
might be working now?
im not seeing the chunk boxes
Tp up a thousand blocks
To see better
i turned my shaders back on and the bugs have miraculously vanished
fog and clouds render properly now
Huh alright
im so confused
Lol
but im remembering something now
If it works don't touch it I guess
when i first booted up dh with shaders
this exact same thing happened
at first the fog and clouds didnt work
but after a few minutes it just miraculously fixed itself
Huh weird
but this still doesnt answer why it suddenly stopped working in my modpack
and then after that it didnt even work in a brand new fresh instance
until now when it has suddenly decided to work again
im gonna try doing a similar thing to what i just did but on my modded instance
Alright
using an fps limit of 20, vanilla render distance of 2, and aggressive cpu preset
and its still busted
oh wait its pushing through
i just dont understand why i have to lower all these settings to get it to generate lods still incredibly slowly
when previously i could have my shaders on and everything and it would still generate chunks very quickly
with roughly the same modlist
i tried disabling all the mods i added to the list since the last time i know for a fact dh was working and i didnt notice any difference in the chunk loading
Im not sure either sorry
sort of unrelated but i get this blocky flickering in water lods when i have shaders disabled
Thats normal on macos
gotcha
its not a problem since im not gonna play without shaders
Turning off fog will get rid of it
ok lots of chunks have rendered
i turned shaders back on and everything seems normal
gonna try teleporting myself to the edge of the lods and see how fast it generates new ones
it crashed lol
yeah its struggling hard to generate new chunks with shaders on
it was perfectly fine before idk what changed
this is my modded instance but i have every single mod disabled except the shader and dh dependencies
it should be the same but it feels even slower than teh fresh instance
Sounds like you'll need to generate a lot of LODs, and then play with distant generation off
i was getting 30x faster chunk generation before with a bunch of worldgen/structure mods
Very weird. Maybe it's just a Mac moment?
if this was just a hardware limitation or something id just accept it and play the best i can but this is something i could do before that i just suddenly inexplicably cant
Yea, I'm out of ideas honestly
ugh and im getting crashes too
i have a possible theory
maybe i generated a bunch of lod chunks back when my modpack didnt have very many worldgen mods
and then as i kept adding new worldgen mods that were slowing down my lod loading speed, i never noticed because i wasnt actually explorung new chunks while testing
because i only noticed once i traveled far in the nether and went through a portal
That could very well be the case yes
but that still doesnt explain why the chunks loaded so fast before with shaders and now on a fresh instance i still have to turn off shaders, lower my render distance, and cap my fps to get the same lod loading speed
Yea
maybe that difference could be due to c2me and/or noisium?
i havent been putting those in the fresh testing instances
maybe adding those mods made me able to quickly generate lods with shaders
but then i quickly lost that capability when i stacked on a bunch of worldgen mods
C2me makes DH terrain generation worse, and noisium doesn't help that much that it would be anywhere like 5x as fast
oh
guess not then lol
are there any known optimization mods that actually enhance dh
im trying to figure out how my significantly more modded instance couldve been faster than my fresh one
but then become slower again once i add even more mods
gonna try reenabling every mod but removing c2me
Well noisium helps a bit, and I've heard faster random can as well. Just generally try to have as low of a cpu usage from normal minecraft so DH can take the rest
ah
so if dh lod loading is at a standstill its probably because base game isnt leaving it any cpu power?
and in that case to troubleshoot i should see what mods/settings are impacting my cpu usage the most?
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
thanks yagpdb i really needed that
Maybe, I doubt it though
i turned on enable debug wireframe rendering and show world gen queue but it still wasnt showing the red and blue squares
is there some other setting i have to enable to see debug overlays
do i have to change one of these
Just those two as described in YAGPDBs message
Whatever the default is
does this look like 512 chunks
Nope
Like 80 maybe
does this part of f3 indicate what dh is doing
im using terralith and tectonic btw
This one does
ah
should that first number be rising if progress is being made
its stuck around 100
512 takes a long time btw, can take 24 hours or more
oh i see
i dont actually want to play at 512
i was trying to play at 96
i just didnt want the chunks to take 8 years to load
No, as long as the completed world tasks are rising it's good
is that the next number
its going up and down
hovering between 35000 and 35400
It's the last number in this screenshot. So I guess for you that line is more important lol
ooh
yeah thats going up
slowly but surely
So it is working, but slow
lemme switch shaders on, bring my render distance back up, and uncap my fps and see how much more slowly it rises
also turning cpu load back down to aggressive
i guess one solution to the worldgen always looking incomplete would be to set the lod render distance really high but then lower how far i can actually see in the shader fog settings
that way its always rendering new chunks outside of what i can currently see
worldgen complete tasks shockingly seems to be rising at the same rate
lemme try going to the nether and see how it changes
thanks for the persistent help btw i appreciate it a ton
its a lot slower now
Np!
trying to get this as playable as i can
do you know any quick fixes for getting better lod loading rates with shaders
Maybe the nether is harder to generate or smth? Just trying to come up with ideas here
my theory was its slower when generating chunks nearer to the player
Using shaders has a higher cpu usage, so not really no
i can go back through to the overworld after some nether travel to see if its the same
how big of a difference does lowering vanilla render distance usually ahve
or is that negligible with shaders on
oh its not happy with me
I don't know
Oof
im gonna disable dynamic fps so dh is able to generate at full speed when the game window isnt focused
That's not what dynamic fps does
oh is it just a framerate cap exclusively?
Yes
i thought it throttled the cpu and gpu resources available to the game
ok in that case it probably actually speeds it up
Dont think so
Yes, but you can also just set a fps limit of 10 yourself
yeah
worst case scenario i can just afk for like 8 hours in each dimension before starting a new playthrough lol
Yea, would suck but it sounds like the only solution atm
does having a lot of mods that change worldgen slow down dh?
Generally, yes
because more mods have to check for available places to spawn structures for each chunk or something?
thought so
maybe i should cut down on my modpack bloat
i was trying to populate it with every half decent structure mod i could find
World gen mods can slow down chunk generation by a lot. I think I've heard some world gen mod being 5x slower than vanilla
is it mainly the ones that fully overhaul terrain/biomes?
or structure mods too
back when my lod loading speed was really good with shaders i was using terralith and tectonic
and i havent really added anything new that changes terrain
only tons of structures and dungeons
I'm not sure how much structure mods impact chunk gen speed
its giving me this again
is it asking me to lower the cpu load in the dh settings?
or lower the cpu load of the game itself via other means so dh has more to work with
what is the actual consequence of this error does fixing it even matter
complete tasks appear to still be rising
it stopped rising
stuck at 5 now
how is it so inconsistent
how do i figure out whats getting the worldgen stuck
my lod loading speed is suddenly atrocious again
like 1 every 10 seconds at most
i didnt do anything
still in the same dimension with the same mods
just suddenly stopped working
worldgen still inexplicably broken
complete tasks still sitting at 0
this must be what happened before
it was fine until it just wasnt
could it be that its stuck on generating something with a structure thats breaking it?
ill troubleshoot this more tomorrow
still isnt resolved
worldgen works fine, until it just doesnt
it sometimes just gives up
i suspected it was this one dungeon mod i added, as disabling it made worldgen resume, but after enabling it again it continued working so ill have to see if i can get it to break again with and without the mod
Maybe you can see if it's stuck on something in logs
im trying to use dh on a clientside mod only setup now
no matter what my other mods are it randomly crashes
where do i find crashlogs on prism
.minecraft/crash-reports, probably
dont think prism changes that
can i revive this thread
its crashing on my new modded instance
where do i find crash logs
there is no .minecraft/crash-reports
I don't know then
these are the only mods i have enabled
on 1.21.1
and its still crashing
wth
Remove indium and try again