I think this is related to issue #17 and probably has to do with environment configuration. I am on Ubuntu 18.04 and followed all the installation instructions. I was able to run the demo successfully. However, in the tutorial, whenever use_camera_obs is set to true, I got the following error message:
File "/home/robosuite/robosuite/environments/base.py", line 149, in reset
return self._get_observation()
File "/home/robosuite/robosuite/environments/sawyer_lift.py", line 274, in _get_observation
depth=self.camera_depth,
File "mjsim.pyx", line 149, in mujoco_py.cymj.MjSim.render
File "mjsim.pyx", line 151, in mujoco_py.cymj.MjSim.render
File "mjrendercontext.pyx", line 43, in mujoco_py.cymj.MjRenderContext.init
File "mjrendercontext.pyx", line 108, in mujoco_py.cymj.MjRenderContext._setup_opengl_context
File "opengl_context.pyx", line 128, in mujoco_py.cymj.OffscreenOpenGLContext.init
RuntimeError: Failed to initialize OpenGL
I am just wondering if you know what is causing this problem.
Hi,
I think this is related to issue #17 and probably has to do with environment configuration. I am on Ubuntu 18.04 and followed all the installation instructions. I was able to run the demo successfully. However, in the tutorial, whenever use_camera_obs is set to true, I got the following error message:
File "/home/robosuite/robosuite/environments/base.py", line 149, in reset return self._get_observation() File "/home/robosuite/robosuite/environments/sawyer_lift.py", line 274, in _get_observation depth=self.camera_depth, File "mjsim.pyx", line 149, in mujoco_py.cymj.MjSim.render File "mjsim.pyx", line 151, in mujoco_py.cymj.MjSim.render File "mjrendercontext.pyx", line 43, in mujoco_py.cymj.MjRenderContext.init File "mjrendercontext.pyx", line 108, in mujoco_py.cymj.MjRenderContext._setup_opengl_context File "opengl_context.pyx", line 128, in mujoco_py.cymj.OffscreenOpenGLContext.init RuntimeError: Failed to initialize OpenGL
I am just wondering if you know what is causing this problem.
Thanks!