Can't get Distant Horizons to work on NeoForge server
Everything in this works fine except for Distant Horizons, and I have the NeoForge version too. I do get the warning on the main menu about the other Fabric client side mods not working, so if I could stop that issue that would be a two-for-one here. But my main concern is getting distant horizons working. Here are screenshots of both my client side mods.
The server loads up perfectly fine until I add in the Distant Horizons mod. Then it won't load at all and crashes out.
77 Replies
So you're trying to put DH onto a server?
/serverside
Distant Generation doesn't work in multiplayer, meaning DH won't be able to generate LODs for chunks outside the vanilla render distance.
Instead, as you travel around the world, LODs will be generated for areas you've visited.
Putting DH on your server will allow DH to generate LODs for chunks outside the vanilla render distance.
You will be able to add DH to your server granted it's running a compatible mod/plugin loader (Fabric, (Neo)Forge, Bukkit and their derivatives) once DH 2.3 is released.
If you wish to try the currently unfinished server-side branch of DH, read everything within the pinned message inside this thread: https://discord.com/channels/881614130614767666/1154490009735417989
Keep in mind that this branch is highly experimental, do not use it in critical/production environments.
When asking for support regarding issues with this branch, do so in the appropriate thread.
Oh, that doesn't cover that
DH is clientside and currently can't be put onto a server
Yeah I know but even when its only in my client side mods it doesnt work.
Thats why I included the screenshot of my client and server side mod folders.
/logstored
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.From what I can tell all my mods are compatible with that
Is that what you wanted?
Yea, thats it
So you've explored some terrain and the LODs where not created where you traveled?
You need Sodium 0.6.0 and Iris 1.8.0 to use DH 2.2.1
/shadersupport
Distant Horizons and Iris Shader Support Requirements:
- DH 2.1 + Iris
- Minecraft 1.20.1, 1.20.4, 1.20.6, 1.21
- Sodium 0.5.8+
- Iris 1.7.0 - 1.7.3
- Fabric API
- A compatible shaderpack: https://gist.github.com/Steveplays28/52db568f297ded527da56dbe6deeec0e
- DH 2.2 + Iris
- Minecraft 1.20.1 (wait for iris 1.8), 1.21.1
- Sodium 0.5.8+
- Iris 1.7.5, 1.8, or newer
- Fabric API
- A compatible shaderpack: https://gist.github.com/Steveplays28/52db568f297ded527da56dbe6deeec0e
Gist
Distant Horizons shader compatibility info
Distant Horizons shader compatibility info. GitHub Gist: instantly share code, notes, and snippets.
He is using Iris 1.8 and Sodium 0.6
I seee ok
Neoforge Instance
Do I need different versions for neoforge?
You're using the correct versions of sodium/iris
I guess the error is defferent
hmmm
But remove those files
from the mods folder
But I use those mods for my buddy's realm
Use a custom launcher
Will help a lot with modding minecraft
I recommend Modrinth or Prism launcher
Here is Modrinth tutorial:
https://discord.com/channels/881614130614767666/881614131877269586/1252525965758955634
Ok I'll set up Modrinth, but for now I just would like to resolve this DH issue
Sick thanks!
Here is how Modrinth looks
Is that pivotal in getting DH to work here?
I'm definitely going to set that up regardless, but later if thats ok
No, its not needed, but just makes life easier when modding
no, you can try it later
So what else might I need to do for DH here with Neo?
Could you try without physics mod?
Sure
Remove it from server, client, or both?
Client
IIrc, it had some issues with Iris or DH
Minecraft Physics Mod
Installation — Minecraft Physics Mod
Doesnt seem to be working even with physics mod removed
To be extra thorough I also removed all physics mod files from the server AND client and still no change.
does it work if you just have DH installed?
Like remove ALL mods other than DH right? No dependencies there?
Ok even with ONLY DH installed (all other mods removed from client AND server), it still does the same thing.
I did just try to launch a singel player game with all my mods in tact and it said DH had low memory of like 4gb I think? My server is set to use up to 10gb i believe
It crashes upon world join?
yeah
the client not the server
Oh, so when joining the server, it crashes, but on singleplayer the client doesn't crash?
Right, but the client says I have low memory for it
Shouldn't be causing a crash
and it freezes after a second or two and crashes eventually
How much RAM do you have allocated?
And how much total do you have?
Log from without any mods except DH could also be helpful
In my server, I have 8GB allocated, and I have 64gb
idk about how to set singleplayer ram allocation though
what minecraft launcher are you using now?
the normal official one?
Neofroge through Minecraft launcher
go to installations
hover over the instance
click the three dots
options
more options
java args or something like that
and change xmx2g to xmx8g
Ok this is the string I saved, it was 2G
-Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Looks good?
yep
Trying to run it now
Ok so now it launches but says "Shader pack failed, Let the developer know." lol
weird, never heard that before
do you have a compatible shaderpack?
Gist
Distant Horizons shader compatibility info
Distant Horizons shader compatibility info. GitHub Gist: instantly share code, notes, and snippets.
Just Iris
This is my server (top) and client (bottom) mod folders. I thought using ths Iris mod accomplished the shader part?
In my buddy's realm, we just use the iris mod on client side and it works. Same for this server actually. It always worked until now.
you need iris 1.8 for DH 2.2.x
thats what i have
oh right, you have that one, but you also have iris 1.7.3 installed
If I launch into my server without DH, Iris works fine
yeah that one is for my buddy's realm
and its using fabric so that one shouldnt be an issue
thats very confusing, doing it like that
but, what shaderpack do you have
.
I dont have any shader packs other than the iris mod in itself
i dont have optine or anything like that set up
what in the world
yeet out the other mods to see if thats the issue
just sodium, iris and DH
ok
That launches but still with the same "Shaders failed let the dev know" message.
so what does your mod list look like now?
But that worked just as well as before when I had them all still in, with my increased ram allocation for neoforge launcher to be clear
yea, so not at all right?
No it loads but says the pack failed to load and to let the dev know
i have no idea how you can fix the Shader pack failed, Let the developer know. message, id advise asking in the iris discord
Let me go verify that everything other than Iris is working here, and go fly up to make sure DH is working, then if thats all true, it's on Iris. But I'll make sure to report back here with a solution if we can get it fixed. If not I'll let yall know what they said.
Very surprised that more people dont try to use this combination though
people absolutely use this combination, and yet ive never seen anyone with this issue before
do let me know the outcome
just my luck
Oh I tried saying what da heck (acronym) and it blocked it
It seems like DH is wokring, but floors/ocean from a distance and a tall height dont seem to load in some areas, Is that common?
you probably just need to wait more
world generation takes time
Oh yeah ok its good now. I thought I fully rendered that area but once I went to it, it loaded and doesnt un-render like I thought it did before.
Ok off to the Iris discord! Thanks a TON for your help this far, I'll report back!
Ok yall, so all I had to do was disable and re-enable my shaders and it all works fine!
Haven't you said you didn't have any shaderpacks?
WDYM
disable and re-enable
Yeah idk when or how it got there. All I know is my buddy said to install iris, sodium, and some fabric api stuff for his Realm, and this all just worked. I never intentionally installed anything into the shaderpacks folder. But apparently I have ComplimentaryUnbound in there.