Low performance with transparent objects
So, using DH on 1.21.6, I'm noticing that my FPS tanks anytime that I'm viewing the horizon/LODs through something transparent like glass. Just looking out the window of my house I go from like 60 to 40 FPS, and the more varied the transparency is, the worse the drop is. I also looked at the horizon through my friend's super smelter and FPS dropped to like 20. Same thing looking through the transparency effect on a Nether portal.
Computer specs:
Core i7 10700KF
64 GB DDR4
RTX 3090
I'm running at 4K w/ Complementary Shaders, native render distance set to 10 chunks and DH set to 128.
54 Replies
Wondering what the issue is, if this is due to the nightly version I'm using or something else? I used the GitHub link that was posted in help-me yesterday because my server is on 1.21.6 and not about to update to 1.21.7
this is the version I'm on
https://gitlab.com/distant-horizons-team/distant-horizons/-/jobs/artifacts/main/download?job=build:%20[1.21.6]
Noticing that when I turn down the render distance the issue is much less pronounced.
64 block render distance actually performs fine with transparency
It's just really weird that I get FPS drops only when dealing with transparent objects like that, especially with my specs
I think it’s the shaders
Also don’t use 1.21.6 there are some big bugs in it
The FPS drops only happen when DH is enabled though
Look at this


The exact same scene, mining inside a glacier
The only difference is enabling/disabling the rendering of LODs in the DH menu
This makes no sense to me
Also, Complementary Shaders aren't exactly demanding, and I'm running it on a 3090
Hm what if you disable vsync and set your gps cap to unlimited
Well yeah more shader processing is done with dh on
I'm also running Sodium
yeah but isn't that supposed to be culled if it's not in view?
Dh will always be doing something
I don't know why, but removing the FPS cap is somehow helping performance
this makes no sense
I tried Vysnc on, Vsycn off with 60 FPS cap, and Vsync off with unlimited FPS
Vsync on and Vsync off with 60 FPS cap were pretty similar, but Vysnc off with unlimited FPS performs better
like, perfectly fine, no issues
Is Sodium's FPS cap broken or something? A well-implemented FPS cap shouldn't harm performance like this
Sodium’s fps cap is vanillas fps cap
is there a better way to cap FPS without harming performance?
Probably some external system
Mcs isn’t the best
I would say you may want to disable v-sync and use just the fps cap.
You can try NVIDIA driver cap or RTSS cap
that's what I was thinking
yes, but disabling Vsync and using the cap I still get performance issues
It's really weird
The lower frame rate is with Distant Horizons rendering enabled?
RTSS or MangoHud are the goat
Correct, with enabling rendering my FPS tanks
But only in weird situations where the horizon isn't visible, or if I'm looking through glass or a Nether portal
just walking around, going up to a high spot, looking at the horizon, etc have zero issues
and my performance is better only if I uncap the FPS, if I leave the FPS capped it's still wonky
This might require some observation testing, will do that tomorrow.
ended up also helping FPS by turning down my shaders settings
It's still not perfect
but I feel like 4K60 with a 3090 isn't that unreasonable, no?
Uh, about that...
no shot
has Minecraft gotten that demanding 😭
this is my first time playing since the 1.14 days
In Minecraft, 4K is exactly 4 times the number of pixels compared to 1080p. Using 4K resolution will cut your frame rate to 1/4th the frame rate of 1080p.
well yeah, I know
I've had this monitor for like 6-7 years now
With a 4K monitor, you might be able to regain some frames by using the shader's upscaler, if available.
@back in my day... I'm going to try reproducing the issue on my end, standby
@back in my day... Can you explain what you're doing to recreate this issue? "Transparent objects" implies I need to build something specific
So, the transparent objects thing got better when I turned my shader settings down
But initially it was chugging just LOOKING through a glass window in my house, at the horizon
Or through my friend's super smelter (which has glass blocks in the design) out at the horizon
I could be wrong on the FPS numbers btw, I was pulling numbers out of my memory from yesterday
I had gotten 200 fps somehow, but now I'm at like 120-150 with 192 render distance, quality preset set to medium
This sounds more like a shader specific issue than a DH issue
Now the FPS dips are a little less easy to pinpoint, I'll have to do more fiddling
He's got the same shaders I do
It does, just checking
by this I mean that they're still there but I can't figure out why they're happening and in what situations
I'm experiencing same framerate outside and inside my glass box


@back in my day... this is gonna sound weird, try updating or reinstalling your Nvidia GPU drivers but after don't restart your machine at first, see if your fps goes up at all. I'm pretty sure there's a really weird bug with iris rn related to some opengl updates Nvidia made recently
oh shoot, do you think the fact that I have connected textures might be a factor?
I've had issues with them myself
Id be curious if I'm a one off or if you have the same thing
seeing your screenshot I just realized I forgot to mention I have connected textures
I also have a 3090
I'll give it a shot
Framerate had dropped when I entered the water, sits at around 130-140 FPS. That's prob more the shader's problem than DH's

I have a bug where my GPU utilization will be low, I'll reinstall my drivers. Then my GPS will double
This photo does show a dip, 144 -> 133
My framerates are super unstable lol
oh no my GPU utilization is high in these cases, even now I'm catching it flirt with 100%
Look at the frametime graphs in the bottom left for both screenshots
how do you enable that graph?
what key combo
F3 + 2
cool
I'm not able to do more testing RN but when I get the chance, I'll post some screenshots with that graph enabled
Might capture the unstable framerate easier
and I'll do some more settings fiddling and try updating my drivers
Thanks guys
Unless running a 50 series Nvidia card it is best to stick to either 572.60 or 566.36 on Windows and run the latest with Linux
also always run uncapped, no vsync and use external tools to limit the framerate
External tools like what? :O
Hopefully mods compatible with Neoforge 1.21.1?
RTSS or in your case on Linux MangoHud
with MangoHud you can even choose which frame limiter to run
I tried installing mangohud, but I wasn't sure how to set it up properly and I think I uninstalled it
You can install
goverlay
so you can configure how mangohud looksAnd the prism launcher has a option to enable mangohud
