Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader reload memory leak, error and crash #2514

Open
Luracasmus opened this issue Nov 3, 2024 · 0 comments
Open

Shader reload memory leak, error and crash #2514

Luracasmus opened this issue Nov 3, 2024 · 0 comments

Comments

@Luracasmus
Copy link
Contributor

Luracasmus commented Nov 3, 2024

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

  1. Select any shader pack, even a completely empty one (though I found the issue was easier to reproduce with a larger pack)
  2. Enter a world and start repeatedly reloading shaders
  3. 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
  4. 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
Image
Image
Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant