Distant horizons + optifine + vivecraft causes opengl errors

This combo on 1.20.1 causes opengl error 1167 and DH LODS don't render in.
No description
60 Replies
Griell
GriellOP3w ago
might be due to how vivecraft renders the game but idk dh + iris + vivecraft work its just optifine gets much much higher shader fps with vivecraft compared to iris
Puhpine
Puhpine3w ago
Can you also send logs? /logsstored
YAGPDB.xyz
YAGPDB.xyz3w 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.
Griell
GriellOP3w ago
Puhpine
Puhpine3w ago
Can you try turning off generic rendering in dh's settings and seeing if that makes a difference?
Griell
GriellOP3w ago
errors still there
No description
Puhpine
Puhpine3w ago
Darn
Miki_P98
Miki_P983w ago
What happens if you remove Optifine?
Griell
GriellOP3w ago
no optifine, no problems ie:dh chunks work
Miki_P98
Miki_P983w ago
Does Embeddium work? If so, just switch
Griell
GriellOP3w ago
i would but as i said above, optifine performs so much better than iris (or oculus for that matter) for shaders 6800xt and iris struggles for 50 fps while optifine easily gets 90 (which is target for vr)
Miki_P98
Miki_P983w ago
That is weird, Sodium/Embeddium always gave me way way more fps Only Iris/Oculus supports shaders with DH
Griell
GriellOP3w ago
that makes a lot more sense thanks :) this is true for non-vr but for some reason, even without shaders, optifine shows better vr performance and the same holds for shaders
Miki_P98
Miki_P983w ago
That is interesting
Griell
GriellOP3w ago
just a shame dh and optifine shaders dont play nice cos its not a hardware limit my gpu is only at like... 70%
Miki_P98
Miki_P983w ago
/shadersupport
YAGPDB.xyz
YAGPDB.xyz3w ago
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, 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.
Puhpine
Puhpine3w ago
that means you're cpu limited
Miki_P98
Miki_P983w ago
It is not Optifine shaders that is the problem as most shaders work with both Optifine and Iris, sometimes with different feature sets. The main issue is that Optifine as the shader loader would need to add shader support Not really, more like OpenGL/optimisation limited
Puhpine
Puhpine3w ago
being OpenGL/optimisation limited is not a thing
Miki_P98
Miki_P983w ago
My GPU is also not near 100%, but reducing, e.g. the resolution somehow increases the FPS
Griell
GriellOP3w ago
right i get you my cpu is a ryzen 7 5800x you would think thats fine right? its also not at 100% in these scenarios close to like 60%
Puhpine
Puhpine3w ago
its a simple formula: if gpu usage is near 100 percent, you are gpu bottlenecked if gpu usage is below 100 percent, you are cpu bottlenecked if cpu usage is near 100 percent, you are cpu bottlenecked if cpu usage is below 100 percent, you cant tell where the bottleneck is
Griell
GriellOP3w ago
right riddle me this one
Griell
GriellOP3w ago
No description
Griell
GriellOP3w ago
50 fps
Puhpine
Puhpine3w ago
looks like a gpu bottleneck as gpu usage was at 100 percent when you didnt have task manager open
Griell
GriellOP3w ago
80%
No description
Puhpine
Puhpine3w ago
you cant trust the f3 menu
Griell
GriellOP3w ago
right
Puhpine
Puhpine3w ago
try installing RTSS and seeing what that reports RTSS gets shipped with MSI afterburner
Griell
GriellOP3w ago
what am i looking to get with rtss? the actual gpu usage? fps?
Puhpine
Puhpine3w ago
yes
Miki_P98
Miki_P983w ago
GPU usage is always at 100% for the duration of task manager startup Both my GPU and CPU is below 100%
Puhpine
Puhpine3w ago
not for me
Miki_P98
Miki_P983w ago
Usualy you can say an Engine bottleneck
Puhpine
Puhpine3w ago
minecraft doesnt have an engine bottleneck there are indeed engines that cant go above a few hundered fps. minecraft is not that
Miki_P98
Miki_P983w ago
Vanilla MC is
Puhpine
Puhpine3w ago
iris doesnt change the engine that means you are probably cpu bottlenecked
Miki_P98
Miki_P983w ago
Sodium, lithium, etc. does
Puhpine
Puhpine3w ago
i dont think sodium does
Miki_P98
Miki_P983w ago
Then where the additional GPU usage and fps come from?
Puhpine
Puhpine3w ago
it just optimizes the existing one
Miki_P98
Miki_P983w ago
Well, then it is no longer the original
Puhpine
Puhpine3w ago
maybe but i very much doubt you are engine limited
Miki_P98
Miki_P983w ago
Me too, but I don't see any other way a resolution change that does not change the CPU load changes fps while the GPU is not at 100% either way
Puhpine
Puhpine3w ago
how much more fps are you getting
Miki_P98
Miki_P983w ago
from 30-50 to 60-100 cutting the resolution in half
Puhpine
Puhpine3w ago
oh thats quite a big difference i dont know about that
Griell
GriellOP3w ago
okay i've done some more playing around and got something respectable in iris my current issue is that i need to have low quality lods for good fps but water isn't shaded properly until medium but medium loses me 20fps
Griell
GriellOP3w ago
do either of you know a way to only increase the quality of water for lods?
No description
Griell
GriellOP3w ago
so i can avoid the falloff between shaded and non-shaded areas?
Miki_P98
Miki_P983w ago
You can enable transparency in DH settings It gets auto disabled on low, but can be toggled separatelly
Griell
GriellOP3w ago
yea thats perfect ty
Miki_P98
Miki_P983w ago
45 fps at 80% GPU usage at 6880x2880 to 120 at 75% GPU usage at 3440x1440 CPU looks same on both
Puhpine
Puhpine3w ago
what are you using to measure gpu usage? maybe try using RTSS
Miki_P98
Miki_P983w ago
Task manager
Puhpine
Puhpine3w ago
task manager is not known for its great usage reporting my guess is that your gpu is at 100% at that resolution, but task manager is reporting it wrong
Miki_P98
Miki_P983w ago
Possible Will test later
Puhpine
Puhpine3w ago
alright
Want results from more Discord servers?
Add your server