Describe the bug
viewer = mujoco_py.MjRenderContextOffscreen(sim)
Error Messages
Found 0 GPUs for rendering. Using device 0.
Device id outside of range of available devices.
Traceback (most recent call last):
File "/home/xwq/桌面/robustified/shiyan.py", line 86, in
viewer = mujoco_py.MjRenderContextOffscreen(sim)
File "mjrendercontext.pyx", line 46, in mujoco_py.cymj.MjRenderContext.init
File "mjrendercontext.pyx", line 114, in mujoco_py.cymj.MjRenderContext._setup_opengl_context
File "opengl_context.pyx", line 130, in mujoco_py.cymj.OffscreenOpenGLContext.init
RuntimeError: Failed to initialize OpenGL
Desktop (please complete the following information):
Describe the bug viewer = mujoco_py.MjRenderContextOffscreen(sim)
Error Messages Found 0 GPUs for rendering. Using device 0. Device id outside of range of available devices. Traceback (most recent call last): File "/home/xwq/桌面/robustified/shiyan.py", line 86, in
viewer = mujoco_py.MjRenderContextOffscreen(sim)
File "mjrendercontext.pyx", line 46, in mujoco_py.cymj.MjRenderContext.init
File "mjrendercontext.pyx", line 114, in mujoco_py.cymj.MjRenderContext._setup_opengl_context
File "opengl_context.pyx", line 130, in mujoco_py.cymj.OffscreenOpenGLContext.init
RuntimeError: Failed to initialize OpenGL
Desktop (please complete the following information):
Environment
echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH:/home/xwq/.mujoco/mujoco210/bin:/usr/lib/nvidia:/usr/lib/nvidia-000echo $HOME
/home/xwqecho $USER
xwqecho $LD_PRELOAD
/usr/lib/x86_64-linux-gnu/libGLEW.so