Skip to content

Renderer does not work in Linux #42

@tavaughan

Description

@tavaughan

Findings so far:

  • Issue appears to start from a check in venv/lib/python3.11/site-packages/OpenGL/GL/VERSION/GL_2_0.py that gets the current context. If it is equal to 0, then an error is raised.
  • I found a few references on the internet to set some environment variables: PYOPENGL_PLATFORM=x11 and GDK_BACKEND=x11. These will change the platform from egl to glx but it does not change the error.
  • We are targeting the OpenGL API version 3.3.
  • I'm not sure I'm convinced that the GraphicsRenderer's call to SetContext() is actually doing anything... at least in Linux... 🤷

Related: #33

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions