LOD's and Shaders have about a 50/50 chance to completely break upon rejoining a server

MULTIPLAYER with mod on Client AND Server Minecraft version 1.21.10 The mod is working almost flawlessly on Fabric 1.21.10, however it will only temporarily work upon a fresh boot of the game. Rejoining the server will frequently cause the shaders to bug out and LOD's dissapear. I think I remember the issue happening spontaneously as well without rejoining, but rejoining consistently makes it happen. This persists until the game is restarted. No server restart is necessary. It also happens with more than one shader. I have tried Bliss, BLS classic, and Complementary reimagined. Disabling shaders still doesn't fix the LOD's, and the LOD's can break without having shaders enabled. This is happening on more than one computer, as my wife has the same mods on her laptop. I am using a desktop. We both have Nvidia GPU's and Intel CPU's The attached images show the before and after along with the error that appears in chat. It also shows the Client mod list and the server mod list, respectively.
No description
No description
No description
No description
No description
52 Replies
43eyes
43eyesOP2w ago
Note: The error only appears in the logs if it breaks with shaders enabled. If shaders are not enabled, the LOD's silently break.
Puhpine
Puhpine2w ago
whats the error if shaders are not enabled? does it still break if iris is not installed? can you send the whole log file? !logs
YAGPDB.xyz
YAGPDB.xyz2w ago
You should send your latest.log file to provide additional useful information. Logs are usually 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.
43eyes
43eyesOP2w ago
Yes, let me try without iris. Just broke without Iris enabled
43eyes
43eyesOP2w ago
Just tried with the only these mods enabled:
No description
43eyes
43eyesOP2w ago
Same behavior
43eyes
43eyesOP2w ago
Logs with minimum mods + Iris: https://mclo.gs/tPxqXac
mclo.gs
Vanilla Client Log [#tPxqXac]
1012 lines | 5 errors
43eyes
43eyesOP2w ago
Just tried with minimum mods on server and client, same issue Could it be some kind of SQLite DB corruption? The world was pregenerated on my main PC with chunky in-game and then moved to a different machine to run the server. Would that cause issues?
Puhpine
Puhpine2w ago
you can try moving the database so DH cant find it, and seeing if that fixes it
43eyes
43eyesOP2w ago
Wouyld I need to do that on the client or server?
Puhpine
Puhpine2w ago
you can try both for if you didnt know: !lodstored
YAGPDB.xyz
YAGPDB.xyz2w ago
Single Player: - Overworld: .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite - Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite - End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite Multiplayer: - .minecraft/Distant_Horizons_server_data/SERVER_NAME/ Server Mod - Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite - Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite - End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite Server Plugin All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite NOTE: Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal and .sqlite-shm If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together! If you don't, the database will become corrupted.
BackSun
BackSun2w ago
This appears to be a very inconsistent issue on my end. I was able to reproduce it once but can't any more. That being said it appears to be a crash on Iris' end, it's just that DH is catching the error and logging it. If you enable/disable shader and/or rejoin the server it appears to fix itself.
43eyes
43eyesOP2w ago
Weird that the LOD's break even when Iris isnt enabled @James Seibel GMT-5 And those fixes dont work for me
BackSun
BackSun2w ago
Do you have a log when that happens? I haven't seen that issue before.
43eyes
43eyesOP2w ago
Only restarting the game Yeah let me redproduce one right now With no mods enabled other than whats neccessary
43eyes
43eyesOP2w ago
@James Seibel GMT-5 Here. No mods other than Sodium, DH, and Fabric API. Worked initially on connection, broke after reconnecting once: https://mclo.gs/ZlWFEqB
mclo.gs
Vanilla Client Log [#ZlWFEqB]
523 lines | 3 errors
43eyes
43eyesOP2w ago
Ive tried disabling all server mods except DH as well. No dice. Not much on the server tho, just some performance mods and apple skin and DH.
BackSun
BackSun2w ago
Weird. I don't see any errors in the log. Does the issue occur on older DH version and/or a vanilla MC server?
43eyes
43eyesOP2w ago
Never tried. Let me try setting up a local server real quick on 1.21.8 Is it possible to pregen with DH on the server console? Or does it have to be in game
BackSun
BackSun2w ago
There's a command, but I don't know what it is off hand. /dh pregen I think?
43eyes
43eyesOP2w ago
I used chunky before
BackSun
BackSun2w ago
Otherwise you could just copy over the world/DH database. Nothing major changed in MC's world format.
43eyes
43eyesOP2w ago
My problem world will work on 1.21.8? No nether yet so no dried ghasts
BackSun
BackSun2w ago
At least for testing it should
43eyes
43eyesOP2w ago
Okay I reproduced the issue on my main computer on local host. Singleplayer worlds continue to function even when the server breaks I also just tested. Going to downgrade both my local server and client to 1.21.8, then if it still doesnt work I will try a vanilla server on 1.21.10, then if that doesnt work, a vanilla server on 1.21.8 Bad bot
43eyes
43eyesOP2w ago
So when using the same world, and migrating my sqlite between clients, on official 1.21.8 from Modrinth, I still get this upon joining:
No description
43eyes
43eyesOP2w ago
I mean I wasnt getting that on 1.21.10 But I didnt migrate my client DB before It says its going to be 70h so no rush So the behavior is weird on 1.21.8. But at least its consistent. That message stays on screen and LODs stay loaded as I fly around. But rejoining wipes them until I fly around again. Im guessing those are cached LODs while it loads the DB, but IDK why it needs to load the DB if I migrated it.
43eyes
43eyesOP2w ago
Getting this on 1.21.8 From the server Let me try one thing Yeah getting this error on 1.21.8 [20:00:49] [DH-PriorityTaskPicker Thread[1]/WARN]: Unable to deserialize blocks for chunk section [74, -2, -61], error: [(Unknown registry key in ResourceKey[minecraft:root / minecraft:block]: minecraft:iron_chain -> using default)]. This can probably be ignored, although if your world looks wrong, optimizing it via the single player menu then deleting your DH database(s) should fix the problem. I cant get the downgrade migration to work
BackSun
BackSun2w ago
Ah shoot forgot about the compressor change. You'll have to delete your old DH database. DH added a new default compressor that isn't available in the old versions That can be ignored.
43eyes
43eyesOP2w ago
Okay. Ill delete the old DB Have you updated the latest jar with the fade fix yet? @James Seibel GMT-5 Will I have to delete the DB on the server, too? I deleted it anyway
BackSun
BackSun2w ago
yes yes
43eyes
43eyesOP2w ago
@James Seibel GMT-5 Yeah so I can rejoin the server all I want on 1.21.8 The fact it loads perfectly the first time on 1.21.10 leads me to believe its not a corruption of the DB issue Oh youre a Christian? That's cool. Dont see that a ton in this community. My name is Christian. Sorry off topic but Its nice to see that
BackSun
BackSun2w ago
Does it consistently happen on the second load? lol nice
43eyes
43eyesOP2w ago
About 90% of the time I think I did fix it once by joining a third time but couldnt reproduce it Latest Nightly didnt fix it I didnt have high hopes
BackSun
BackSun2w ago
Hmm. Well I'm afraid I don't have any suggestions since I'm unable to reproduce the issue on my end. Sorry about that.
43eyes
43eyesOP2w ago
Well, I set the sleep gamerule so only one person needs to sleep so no one needs to rejoin. That will work for now. Do you think its worth deleting my DB?
BackSun
BackSun2w ago
I doubt it would fix anything, although you could rename them to test. That way if the issue persists you still have your old data.
43eyes
43eyesOP2w ago
Thank you for taking time out of oyur day to attempt to help me. God bless you. I will continue trouble shooting because I cant leave anything alone
BackSun
BackSun2w ago
lol, best of luck. If you can find a way to consistently reproduce it feel free to let me know.
43eyes
43eyesOP2w ago
@James Seibel GMT-5 Did you try reproducing with Terralith and Tectonic on client and server?
BackSun
BackSun2w ago
No just vanilla world gen Although I wouldn't expect that to change anything unless there's some error on the server
43eyes
43eyesOP2w ago
Yeah server showed no errors Spamming reconnect does seem to fix it about 1/10 times. @пшш @James Seibel GMT-5 This issue has also been resolved by the latest nightly. Thank you so much for investigating! I wonder why the new Minecraft version caused it?
fripp
fripp7d ago
I believe I'm having the same issue. LODs bug out 90% of the time on connecting to server. And pretty much 100% of the time when minimizing Minecraft itself.
fripp
fripp7d ago
Managed to capture it working that 1/10 times on connect. @James Seibel GMT-5
BackSun
BackSun7d ago
Update to latest stable or nightly build
fripp
fripp7d ago
This is the latest nightly fabric build. @James Seibel GMT-5 On both server and client, fresh world/db
BackSun
BackSun7d ago
This is an unrelated issue. The previous issue was only when joining the world and DH wouldn’t load at all. This appears to be an issue with how Iris or the shader handles minimizing/screen resizing. This doesn’t appear to be a DH issue.
fripp
fripp7d ago
I'll see if I can isolate what's causing it, can confirm however it happens regardless of what shader is used.
fripp
fripp7d ago
@James Seibel GMT-5 Just wanted to let you know I found the culprit
Modrinth
RenderScale - Minecraft Mod
Allows you to change Minecraft's render resolution separately from the HUD elements.

Did you find this page helpful?