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

Renderer does not work in Linux #42

Open
tavaughan opened this issue Jun 14, 2024 · 0 comments
Open

Renderer does not work in Linux #42

tavaughan opened this issue Jun 14, 2024 · 0 comments

Comments

@tavaughan
Copy link

tavaughan commented Jun 14, 2024

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

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

No branches or pull requests

2 participants