sp614x / optifine

1.81k stars 418 forks source link

[1.21.3] XorDevs Default causes many OpenGL errors, and is broken #7783

Open Lolothepro opened 3 weeks ago

Lolothepro commented 3 weeks ago

Description of Issue

XorDevs Default causes many OpenGL errors, and is broken

Steps to Reproduce

  1. Try to apply XorDevs Default

OptiFine Version

J2_pre1

Log file

https://mclo.gs/OvfJnem latest.log

Video

https://github.com/user-attachments/assets/eb3b0f56-fe14-43b7-9b44-913076a1abc4

[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Render thread/ERROR]: [Shaders] OpenGL error: 1282 (Invalid operation), program: gbuffers_entities (gbuffers_textured), at: pre-useProgram
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Render thread/ERROR]: [Shaders] OpenGL error: 1282 (Invalid operation), program: gbuffers_entities (gbuffers_textured), at: pre-useProgram
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Render thread/ERROR]: [Shaders] OpenGL error: 1282 (Invalid operation), program: gbuffers_entities (gbuffers_textured), at: pre-useProgram
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
[19:15:25] [Render thread/ERROR]: [Shaders] OpenGL error: 1282 (Invalid operation), program: gbuffers_entities (gbuffers_textured), at: pre-useProgram
[19:15:25] [Thread-14/ERROR]: OpenGL API ERROR: 1282 (GL_INVALID_OPERATION error generated. Invalid VAO/VBO/pointer usage.)
java.lang.Exception: Stack trace
    at ffk.a(GlDebug.java:179) ~[minecraft.jar:?]
    at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:46) [lwjgl-opengl-3.3.3.jar:build 5]
AstromanGaming commented 3 days ago

Same here!

But with Optifine J2_pre5 on Ubuntu 24.10 (with Wayland) and a Nvidia GPU. On Minecraft, with BSL Shader.

But the error no show on Windows 11 in the same pc or on Ubuntu 24.10 in Minecraft with no shader.