How do I fix Minecraft stuttering when I use Complementary Shaders Reimagined?
I have pretty decent specs (ryzen 7 7700 rtx 4070s 16gb ram), and when I run the shaders at a moderate render distance (20 chunks with the sim distance at 16), the game will stutter frequently and I will get lag spikes when I am (for example) walking around in a desert. I tried using Fabulously optimized to fix this, but the issue still persists. How do I make my game run smoothly?
Edit: My platform is Java, my game version is 1.21.11.
Edit: My platform is Java, my game version is 1.21.11.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
If the lagspikes correspond to memory usage % drops on the F3 screen you can usually fix them by using certain JVM arguments.
-Xmx6G -XX:+UseZGC -XX:+ZGenerational
Something is fundamentally wrong with your setup. Add [Spark mod](https://modrinth.com/mod/spark) and run this command when the game is lagging
/sparkc profiler start --threads * --timeout 30