Oculus

Oculus

60M Downloads

[Forge] [1.18.2] Unable to load shader: Cannot modify immutable buffer.'

Raft08 opened this issue ยท 0 comments

commented

What happened?

Cannot load shaders, everytime I try to load a shader an OpenGL error occurs and it reset to the vanilla shader saying the shaders are broken or incompatible

Screenshots

No response

Relevant log output

[05:33:30] [Thread-17/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
	at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:62) ~[eventbus-5.0.3.jar:?]
	at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-5.0.3.jar:?]
	at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:21) ~[eventbus-5.0.3.jar:?]
	at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:20) ~[eventbus-5.0.3.jar:5.0.3+70+master.d7d405b]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-9.1.3.jar:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-9.1.3.jar:?]
	at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-9.1.3.jar:?]
	at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-1.0.8.jar:?]
	at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-1.0.8.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-1.0.8.jar:?]
	at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-1.0.8.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-1.0.8.jar:?]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
	at com.mojang.blaze3d.platform.GlDebug.m_84038_(GlDebug.java:95) ~[?:?]
	at org.lwjgl.opengl.GLDebugMessageCallbackI.callback(GLDebugMessageCallbackI.java:39) [lwjgl-opengl-3.2.2.jar%2348!/:build 10]
[05:33:30] [Thread-17/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Cannot modify immutable buffer.'
[05:33:33] [Render thread/INFO]: Destroying pipeline OVERWORLD
[05:33:33] [Render thread/ERROR]: Pack "ComplementaryReimagined_r1.3.2.zip" is not valid! Can't load it.
[05:33:33] [Render thread/WARN]: Falling back to normal rendering without shaders because the shaderpack could not be loaded
[05:33:33] [Render thread/INFO]: Shaders are disabled

Minecraft Version

1.18.2

Oculus Version

oculus-1.6.4.jar

Rubidium Version

rubidium-0.5.6.jar

Operating System

Linux, Fedora

What is your GPU?

Nvidia Geforce GTX 1650

Java Version

Adoption Temurin 17

Additional context

I manually installed my drivers on my distro this could be one of the cause of this issue,

Nvidia Driver: 535.54.03 - Linux 64 (https://www.nvidia.fr/Download/driverResults.aspx/205464/en-us)