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

[Bug] Minecraft Black Screen with Iris and Sodium Mods After Several Minutes of Play (1.20.1) #2529

Open
yukke6174 opened this issue Nov 15, 2024 · 0 comments

Comments

@yukke6174
Copy link

yukke6174 commented Nov 15, 2024

What happened?

I am experiencing an issue where the screen randomly turns black after several minutes to half an hour of play in Minecraft 1.20.1. The game continues running (I can hear sound), but the screen remains black. No crash report is generated. I have to manually shut down my PC and restart it. This issue also happens even when only using the Sodium and Iris mods together.

Mods:

  • Iris Shaders (installed via Iris installer)
  • Sodium
  • Other performance-enhancing mods (Indium, LTHum, Nvidium, etc.)
    Java Version: OpenJDK 17

Steps to Reproduce:

  1. Install Minecraft version 1.20.1.
  2. Install Fabric version fabric-loader-0.16.9-1.20.1.
  3. Install Iris Shaders and Sodium using the respective installers.
  4. Play the game with shaders enabled and render distance set to 32 chunks or higher.
  5. After several minutes to half an hour, the screen turns black, but the game continues to run with sound.

Screenshots

No response

Log output

[15:53:08] [Thread-33/INFO]: OpenGL debug message: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. does not specify a valid attachment for the default framebuffer.'

Minecraft Version

fabric-loader-0.16.9-1.20.1

Iris Version

iris-1.7.2+mc1.20.1.jar

Operating System

Windows 10

What is your GPU?

NVIDIA RTX 3080

Additional context

  • RAM: 32GB

What I've Tried:

  1. Switching Java versions (Java 8, Java 17)
  2. Adjusting Iris and Sodium settings
  3. Modifying OpenGL settings (-Dorg.lwjgl.opengl.display.allowSoftwareOpenGL=true)
  4. Updating GPU drivers

Expected Behavior:
The game should not show a black screen and should run without issues.

Additional Information:
The issue happens randomly after anywhere between 6 to 36 minutes of gameplay. It occurs even with only the Sodium and Iris mods. The mods were installed using their respective installers (Iris from the official Iris installer).

The shader used is ComplementaryUnbound_r5.3.

Thank you for your time and help in resolving this issue. I appreciate the hard work that the development team puts into making this mod possible.

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