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

ERROR: Default framebuffer is not complete, error 0x0 #471

Open
kracon7 opened this issue Oct 18, 2019 · 0 comments
Open

ERROR: Default framebuffer is not complete, error 0x0 #471

kracon7 opened this issue Oct 18, 2019 · 0 comments

Comments

@kracon7
Copy link

kracon7 commented Oct 18, 2019

Tried to call MjSim.render() but had an error message:

>>> sim.render()
Found 1 GPUs for rendering. Using device 0.
ERROR: Default framebuffer is not complete, error 0x0

MjRenderContext gives;

>>> ctx = MjRenderContext(sim, offscreen=True, opengl_backend='glfw')
Creating offscreen glfw
ERROR: GLEW initalization error: Missing GL version

Press Enter to exit ...
  • OS: Ubuntu 16.04
  • Python 3.6.8
  • Mujoco 2.0
  • mujoco-py 2.0.2.5

Environment

  • output of: echo $LD_LIBRARY_PATH
/home/jc/catkin_ws/devel/lib:/opt/ros/kinetic/lib:/opt/ros/kinetic/lib/x86_64-linux-gnu:/home/jc/.mujoco/mujoco200/bin:/usr/lib/nvidia-410:/usr/local/cuda-10.0/lib64:/usr/local/cuda-10.0/extras/CUPTI/lib64:/usr/local/cuda-10.0/targets/x86_64-linux/lib/
  • output of: echo $HOME
/home/jc
  • output of: echo $USER
jc
  • output of: echo $LD_PRELOAD
/usr/lib/x86_64-linux-gnu/libGLEW.so:/usr/lib/nvidia-410/libOpenGL.so

Though I can render offscreen mode by this work around. #187 (comment) I'm continously generating new MjSim object. This way I get a lot of OpenGL window which I can't close within python, not solving my problem actually.

It was fine previously when I use an older version of nvidia driver. Now the Nvidia-410 uses OpenGL 4.6

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

1 participant