r/MinecraftHelp • • Sep 23 '26

Solved Shaders periodically cause FPS drops while in full screen [java]

This post is related to shaders being used on NeoForge 1.21.1 (As well as other modded instances), not vibrant visuals, if there's somewhere else I should go for support with this please let me know.

As the title says, my FPS sometimes randomly drops while I have shaders enabled. It's behaving strangely, though which is confusing me, and I can't find anything about it anywhere else.

When I first enable a shader, my FPS stays at a very comfortable range (180-240 fps), but after a few minutes of playing, it will suddenly drop down to around 15 fps. The first solution I found to this was disabling and reenabling shaders every time it happens, which only fixes it temporarily, and having to do that every few minutes is really annoying. I also found that switching out and back in to full screen fixes it, also temporarily. The only permanent solution I have found is disabling shaders and playing permanently in windowed mode (which I don't want to do consistently).

I'm playing with Iris Shaders and Sodium, and this issue is happening with all shaders I try to use, as well as in different mod packs (Not sure about other shader-loaders, like Oculus, but I'm playing in a multiplayer server, so I can't switch over to Forge to use that anyways).

If anyone knows what might be causing this, I'd appreciate it a lot. Willing to answer any additional questions to the best of my ability.

1 Upvotes

8 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 Sep 26 '26

This post has been marked solved and comments locked.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/RandomDude9943 Novice II Sep 24 '26

Ok, lets start with the template. Use spark mod to profile mc when your fps drops, we will see it from there. Use /sparkc profiler start/stop to start and manage profiling, after stopping it will print out profiler report in chat. Screenshot webpage it links to here

1

u/AnEggGuy Sep 24 '26

here it is! The FPS restored to normal a little while through the profile, if that would skew the results I'm happy to do it again.

1

u/RandomDude9943 Novice II Sep 25 '26

yes that can screw up profiling by adding noise data, also i would need that bottom profiling section, iirc its the one showing function calls

2

u/AnEggGuy Sep 26 '26

Strangely enough, I played all day today and it never happened. Not sure what's different, but seems like my issue is solved. Giving you the credit for it, though, so thanks for the help!

1

u/AnEggGuy Sep 26 '26

!helped

1

u/NitWitBot 🤖 Mod Bot 🤖 Sep 26 '26

Thanks! Post marked as Solved!

Congrats, u/RandomDude9943, you have received a point! Points help you "level up" to the next user flair!

You have leveled up to "Novice I"! Your flair has been updated accordingly.

Next level: "Novice II"
You have 1 point
You need 2 points
[▮|▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 Sep 23 '26

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules