Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Desoroxxx opened this issue Dec 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Desoroxxx
Copy link

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)
@Desoroxxx Desoroxxx added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant