Skip to content

Problem: Headless rendering with nvidia and using libOpenGL.so #27

Closed
@tasptz

Description

@tasptz

How can I make pyopengl use libOpenGL.so and not libGL.so.
For detailed explanation see Pro Tip: Linking OpenGL for Server-Side Rendering.

To use glX and OpenGL today, you should link against libOpenGL.so as well as libGLX.so. The first contains the OpenGL symbols, the latter the GLX symbols. If you want to use EGL context management instead, link against libOpenGL.so and libEGL.so.

I used lsof -p <pid> and for sure the python process loaded libGL.so and thus the EGL-OpenGL context was not working.

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