Shader reload memory leak, error and crash
Luracasmus opened this issue ยท 0 comments
Minecraft Version
1.21.3
Iris Version
iris-fabric-1.8.0-snapshot+mc1.21.2-build.5452.jar
Sodium Version
sodium-fabric-0.6.0-beta.4+mc1.21.3
Operating System
Windows 11 24H2
What is your GPU?
Nvidia Geforce RTX 4070
Java Version
Java 21.0.5
Reproduction Steps
- Select any shader pack, even a completely empty one (though I found the issue was easier to reproduce with a larger pack)
- Enter a world and start repeatedly reloading shaders
- The amount of time it takes for the issue to occur varies greatly. Sometimes it takes only a couple shader reloads, sometimes almost a minute of holding the reload button down
- Memory usage suddenly starts quickly increasing while the F3 "Mem:" counter stays within normal range. Continuing to reload shaders becomes very slow until an error appears or the game randomly freezes and/or crashes
Crash Report file and latest.log
crash-2024-11-02_15.36.33-client.txt
2024-11-02-1.log
2024-11-02-5.log
Additional context
The issue still occurs with just Iris, Sodium and Nsight-loader, even on Minecraft 1.21.1 (latest compatible Sodium and Nsight-loader, Iris 1.8-beta.4)
In one instance, which the second attached log belongs to, I was able to get an error message to appear without the game crashing