Skip to content

Bug: OpenGL error on Linux with NVIDIA Driver (not sure about AMD) #305

Open
@Desoroxxx

Description

Version

1.87.7

What happened?

Mostly explained in the title, I currently do nothing special, the only thing being rendered is ImGui.

Reproduction

    static void render() {
        IM_GUI_GLFW.newFrame();
        IM_GUI_GL3.newFrame();

        ImGui.newFrame();

        renderGameplay();
        renderSettings();

        // Debug
        if (LOGGER.isDebugEnabled()) {
            renderLogicDebug();
            renderRenderingDebug();
        }

        ImGui.render();

        IM_GUI_GL3.renderDrawData(ImGui.getDrawData());
    }
    ```

### Relevant log output

```bash
2024-12-18 19:39:15.373 [Thread: Main] DEBUG: Unknown Type (0x00008251): Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STREAM_DRAW) will use VIDEO memory as the source for buffer object operations.
	 at org.lwjgl.opengl.GL15C.nglBufferData(Native Method)
	 at org.lwjgl.opengl.GL15C.glBufferData(GL15C.java:267)
	 at org.lwjgl.opengl.GL15.glBufferData(GL15.java:281)
	 at imgui.gl3.ImGuiImplGl3.renderDrawData(ImGuiImplGl3.java:458)
	 at dev.redstudio.mh.rendering.renderers.ImGuiRenderer.render(ImGuiRenderer.java:118)
	 at dev.redstudio.mh.rendering.renderers.GlobalRenderer.render(GlobalRenderer.java:63)
	 at dev.redstudio.mh.MH.doRendering(MH.java:150)
	 at dev.redstudio.mh.MH.loop(MH.java:127)
	 at dev.redstudio.mh.MH.main(MH.java:76)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions