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
back in my day...
back in my day...OP3mo ago
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
Samalando (ping on please)
I think it’s the shaders Also don’t use 1.21.6 there are some big bugs in it
back in my day...
back in my day...OP3mo ago
The FPS drops only happen when DH is enabled though
back in my day...
back in my day...OP3mo ago
Look at this
No description
No description
back in my day...
back in my day...OP3mo ago
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
Samalando (ping on please)
Hm what if you disable vsync and set your gps cap to unlimited Well yeah more shader processing is done with dh on
back in my day...
back in my day...OP3mo ago
I'm also running Sodium yeah but isn't that supposed to be culled if it's not in view?
Samalando (ping on please)
Dh will always be doing something
back in my day...
back in my day...OP3mo ago
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
Samalando (ping on please)
Sodium’s fps cap is vanillas fps cap
back in my day...
back in my day...OP3mo ago
is there a better way to cap FPS without harming performance?
Samalando (ping on please)
Probably some external system Mcs isn’t the best
hardester
hardester3mo ago
I would say you may want to disable v-sync and use just the fps cap.
Miki_P98
Miki_P983mo ago
You can try NVIDIA driver cap or RTSS cap
back in my day...
back in my day...OP3mo ago
that's what I was thinking yes, but disabling Vsync and using the cap I still get performance issues It's really weird
hardester
hardester3mo ago
The lower frame rate is with Distant Horizons rendering enabled?
John
John3mo ago
RTSS or MangoHud are the goat
back in my day...
back in my day...OP3mo ago
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
hardester
hardester3mo ago
This might require some observation testing, will do that tomorrow.
back in my day...
back in my day...OP3mo ago
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?
hardester
hardester3mo ago
Uh, about that...
back in my day...
back in my day...OP3mo ago
no shot has Minecraft gotten that demanding 😭 this is my first time playing since the 1.14 days
hardester
hardester3mo ago
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.
back in my day...
back in my day...OP3mo ago
well yeah, I know I've had this monitor for like 6-7 years now
hardester
hardester3mo ago
With a 4K monitor, you might be able to regain some frames by using the shader's upscaler, if available.
🌒 ΛRGENTVΛSIMR™ 🌘
@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
back in my day...
back in my day...OP3mo ago
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
🌒 ΛRGENTVΛSIMR™ 🌘
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
Droid_22
This sounds more like a shader specific issue than a DH issue
back in my day...
back in my day...OP3mo ago
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
🌒 ΛRGENTVΛSIMR™ 🌘
It does, just checking
back in my day...
back in my day...OP3mo ago
by this I mean that they're still there but I can't figure out why they're happening and in what situations
🌒 ΛRGENTVΛSIMR™ 🌘
I'm experiencing same framerate outside and inside my glass box
No description
No description
Droid_22
@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
back in my day...
back in my day...OP3mo ago
oh shoot, do you think the fact that I have connected textures might be a factor?
Droid_22
I've had issues with them myself Id be curious if I'm a one off or if you have the same thing
back in my day...
back in my day...OP3mo ago
seeing your screenshot I just realized I forgot to mention I have connected textures
Droid_22
I also have a 3090
back in my day...
back in my day...OP3mo ago
I'll give it a shot
🌒 ΛRGENTVΛSIMR™ 🌘
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
No description
Droid_22
I have a bug where my GPU utilization will be low, I'll reinstall my drivers. Then my GPS will double
back in my day...
back in my day...OP3mo ago
This photo does show a dip, 144 -> 133
🌒 ΛRGENTVΛSIMR™ 🌘
My framerates are super unstable lol
back in my day...
back in my day...OP3mo ago
oh no my GPU utilization is high in these cases, even now I'm catching it flirt with 100%
🌒 ΛRGENTVΛSIMR™ 🌘
Look at the frametime graphs in the bottom left for both screenshots
back in my day...
back in my day...OP3mo ago
how do you enable that graph? what key combo
back in my day...
back in my day...OP3mo ago
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
John
John3mo ago
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
🌒 ΛRGENTVΛSIMR™ 🌘
External tools like what? :O Hopefully mods compatible with Neoforge 1.21.1?
John
John3mo ago
RTSS or in your case on Linux MangoHud with MangoHud you can even choose which frame limiter to run
🌒 ΛRGENTVΛSIMR™ 🌘
I tried installing mangohud, but I wasn't sure how to set it up properly and I think I uninstalled it
Skillnoob_
Skillnoob_3mo ago
You can install goverlay so you can configure how mangohud looks
Skillnoob_
Skillnoob_3mo ago
And the prism launcher has a option to enable mangohud
No description

Did you find this page helpful?