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

pyglet.gl.lib.GLException: b'invalid operation' #2

Open
adwardlee opened this issue Apr 11, 2018 · 5 comments
Open

pyglet.gl.lib.GLException: b'invalid operation' #2

adwardlee opened this issue Apr 11, 2018 · 5 comments

Comments

@adwardlee
Copy link

Hi @martinseilair ,

When I use your package, I encounter this error "pyglet.gl.lib.GLException: b'invalid operation'" which occurs in "
File "/dm_control2gym/viewer.py", line 20, in update
self.window.clear(). "
Do you know the solution? Thanks.

@jiameij
Copy link

jiameij commented Jun 27, 2018

hi~ @adwardlee
have you solved this problem? i have the same problem
thank you ~

@adwardlee
Copy link
Author

@jiameij I replace the window with matplotlib.pyplot to render the pixels.

@jiameij
Copy link

jiameij commented Jun 27, 2018

@adwardlee ok! thanks!

@quantumiracle
Copy link

same problem

@yosider
Copy link

yosider commented Jul 25, 2019

Solved with osmesa:
export MUJOCO_GL="osmesa"

Maybe your libosmesa6-dev >= 19.0.5
if not,
$ sudo apt-add-repository ppa:ubuntu-x-swat/updates
$ sudo apt install libosmesa6-dev
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1835922

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

No branches or pull requests

4 participants