Iris 1.8+ crashing on launch (intel linux)

Every time I attempt to load Iris, the game crashes on launch with the below error. It works fine when I load Sodium without Iris. I am running on linux (per glxinfo: OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2), OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.1), and have tested with multiple game versions + compatible combinations of iris/sodium patch versions. The error:
net.minecraft.class_1041$class_4716: GLFW error 65543: GLX: Failed to create context: BadMatch (invalid parameter attributes)
at knot//net.minecraft.class_1041.method_4501(class_1041.java:212)
at knot//org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokePPPP(Native Method)
at knot//org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2058)
at knot//org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2229)
at knot//net.minecraft.class_1041.redirect$zkn000$sodium$wrapGlfwCreateWindow(class_1041.java:1073)
at knot//net.minecraft.class_1041.mixinextras$bridge$redirect$zkn000$sodium$wrapGlfwCreateWindow$55(class_1041.java)
net.minecraft.class_1041$class_4716: GLFW error 65543: GLX: Failed to create context: BadMatch (invalid parameter attributes)
at knot//net.minecraft.class_1041.method_4501(class_1041.java:212)
at knot//org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:43)
at knot//org.lwjgl.system.JNI.invokePPPP(Native Method)
at knot//org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2058)
at knot//org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2229)
at knot//net.minecraft.class_1041.redirect$zkn000$sodium$wrapGlfwCreateWindow(class_1041.java:1073)
at knot//net.minecraft.class_1041.mixinextras$bridge$redirect$zkn000$sodium$wrapGlfwCreateWindow$55(class_1041.java)
2 Replies
JellySquid
JellySquid5d ago
You might be running into a system-level bug Try opening the config file at config/sodium-options.json in a text editor And change the value for option use_no_error_gl_context to false After saving the file, try restarting Minecraft.
busy_keming
busy_kemingOP4d ago
Rats, that's what I was afraid of Disabling error checks got it running (thanks for the tip!!). Still curious what the root cause is... Based on elsewhere it may be an interaction between Mesa/LWJGL/the bundled GLFW build, that's Linux for ya
Want results from more Discord servers?
Add your server