Skip to content

opengl error when used with open3d #301

@richardrl

Description

@richardrl
pyrender.OffscreenRenderer(viewport_width=image.shape[1],                                                      viewport_height=image.shape[0],                                                      point_size=1.0)
*** OpenGL.error.GLError: GLError(
    err = 12290,
    baseOperation = eglMakeCurrent,
    cArguments = (
        <OpenGL._opaque.EGLDisplay_pointer object at 0x7f4d19eaed40>,
        <OpenGL._opaque.EGLSurface_pointer object at 0x7f4c97bc1ac0>,
        <OpenGL._opaque.EGLSurface_pointer object at 0x7f4c97bc1ac0>,
        <OpenGL._opaque.EGLContext_pointer object at 0x7f4d19eb2140>,
    ),
    result = 0
)

I had a script running the above code and getting the above error. It was not fixable by any fix proposed online. I found out it had something to do with Open3d, and removing the Open3D code removed the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions