OpenGL error spam
ShinyArmorYT opened this issue ยท 6 comments
Describe the bug
Severe OpenGL error spam while in a loaded world with just Nothirium and it's dependencies installed.
Reproducibility
- I reproduced this issue with as few other mods as possible installed.
- I am unable to reproduce this issue consistently.
To Reproduce
- Load the game with just Nothirium and it's dependencies installed
- Create a new world
- Wait for the new world to load
- See error
Versions
Nothirium: 0.4.5
RenderLib: 1.4.3
Forge: 14.23.5.2860
Minecraft: 1.12.2
Hardware
CPU: Intel(R) Core(TM) i5-6600K @ 3.50GHz
RAM: 16 GB
GPU: AMR Radeon RX 6650 XT
VRAM: 8 GB
Log File
https://mclo.gs/t5A3XVx
Just enabled that option and now it instead says:
[Client thread/ERROR] OpenGL API Error High 1052 glMultiDrawArraysIndirect parameter <drawcount> has an invalid value '0': must be greater than 0 (GL_INVALID_VALUE) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
In the RenderLib config set setContextDebugBit to true.
Also, try upgrading or downgrading your driver.
I have the same issue as @ShinyArmorYT , even when I change setContextDebugBit to true, the error is the same, but the lag is less evident. Still the logs are crazy big on technic launcher, any tip on how to fix this? And also, any tip to deactivate the logs at all? I have 8gb of logs... too much for my ssd, thank you both
I get the exact same error
However I was able to fix this by changing the renderer in nothirium.cfg from "automatic," to GL42.
According to the logs provided here, and my own logs (identical error), the issue originates from GL43, which was automatically selected.
It might be related to AMD's graphics drivers
Versions
Nothirium: 0.4.5-beta
RenderLib: 1.4.3
Forge: 14.23.5.2860
Minecraft: 1.12.2
Hardware
CPU: AMD Ryzen 5 7600X 6-Core Processor 4.70 GHz
RAM: 32 GB
GPU: AMD Radeon RX 7600 XT
VRAM: 16 GB
I'm getting similar errors, looks like the fix @SpazoTron12 posted works thanks.
I'm still posting a log file for @Meldexun in case they want to fix it so everything works with the automatic/latest versions of whatever that other stuff is.
Latest.log (with setContextDebugBit set to true in the RenderLib config):
Also I noticed this error after applying the fix @SpazoTron12 posted and thought I would post it here because idk if it's related or not but it looks like most of the other errors are gone/fixed now
[16:06:26] [Client thread/ERROR] [renderlib]: OpenGL API Error High 1014 glBindFramebuffer requires an object reference but it is missing, possibly because a referenced binding point is empty; a referenced name is invalid to this operation; or the object is reserved (GL_INVALID_OPERATION)
at meldexun.renderlib.opengl.debug.OpenGLDebugMode.log(OpenGLDebugMode.java:396)
at meldexun.renderlib.opengl.debug.OpenGLDebugMode.log(OpenGLDebugMode.java:373)
at meldexun.renderlib.opengl.debug.OpenGLDebugMode$1$$Lambda$933/1621130615.handleMessage(null:-1)
at org.lwjgl.opengl.GL30.nglBindFramebuffer(GL30.java:-2)
at org.lwjgl.opengl.GL30.glBindFramebuffer(GL30.java:1125)
at net.minecraft.client.renderer.OpenGlHelper.func_153171_g(OpenGlHelper.java:641)
at net.minecraft.client.shader.Framebuffer.func_147610_a(Framebuffer.java:202)
at com.anthonyhilyard.advancementplaques.util.CustomItemRenderer.tryBindFramebuffer(CustomItemRenderer.java:73)
at com.anthonyhilyard.advancementplaques.util.CustomItemRenderer.renderItemModelIntoGUIWithAlpha(CustomItemRenderer.java:93)
at com.anthonyhilyard.advancementplaques.ui.render.AdvancementPlaque.drawPlaque(AdvancementPlaque.java:151)
at com.anthonyhilyard.advancementplaques.ui.render.AdvancementPlaque.render(AdvancementPlaque.java:256)
at com.anthonyhilyard.advancementplaques.ui.AdvancementPlaquesToastGui.func_191783_a(AdvancementPlaquesToastGui.java:90)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1121)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:9114)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)