Describe the bug
I am running mujoco 2.00 from a Docker container in Ubuntu 20.04. On my other devices, this works.
For my PC with 2 GTX 980s i get the error
MuJoCo Pro version 2.00
ERROR: could not initialize GLFW
when trying to use ./mujoco200/bin/simulate
python tendon_test.py GLFW error (code %d): %s 65544 b'X11: Failed to open display :1' GLFW error (code %d): %s 65544 b'X11: Failed to open display :1' Traceback (most recent call last): File "tendon_test.py", line 11, in <module> viewer = mujoco_py.MjViewer(sim) File "/env/lib/python3.6/site-packages/mujoco_py/mjviewer.py", line 137, in __init__ super().__init__(sim) File "/env/lib/python3.6/site-packages/mujoco_py/mjviewer.py", line 28, in __init__ super().__init__(sim) File "mujoco_py/mjrendercontext.pyx", line 318, in mujoco_py.cymj.MjRenderContextWindow.__init__ File "mujoco_py/mjrendercontext.pyx", line 43, in mujoco_py.cymj.MjRenderContext.__init__ File "mujoco_py/mjrendercontext.pyx", line 109, in mujoco_py.cymj.MjRenderContext._setup_opengl_context File "mujoco_py/opengl_context.pyx", line 44, in mujoco_py.cymj.GlfwContext.__init__ File "mujoco_py/opengl_context.pyx", line 64, in mujoco_py.cymj.GlfwContext._init_glfw mujoco_py.cymj.GlfwError: Failed to initialize GLFW
Describe the bug I am running mujoco 2.00 from a Docker container in Ubuntu 20.04. On my other devices, this works. For my PC with 2 GTX 980s i get the error
MuJoCo Pro version 2.00 ERROR: could not initialize GLFW when trying to use ./mujoco200/bin/simulate
python tendon_test.py GLFW error (code %d): %s 65544 b'X11: Failed to open display :1' GLFW error (code %d): %s 65544 b'X11: Failed to open display :1' Traceback (most recent call last): File "tendon_test.py", line 11, in <module> viewer = mujoco_py.MjViewer(sim) File "/env/lib/python3.6/site-packages/mujoco_py/mjviewer.py", line 137, in __init__ super().__init__(sim) File "/env/lib/python3.6/site-packages/mujoco_py/mjviewer.py", line 28, in __init__ super().__init__(sim) File "mujoco_py/mjrendercontext.pyx", line 318, in mujoco_py.cymj.MjRenderContextWindow.__init__ File "mujoco_py/mjrendercontext.pyx", line 43, in mujoco_py.cymj.MjRenderContext.__init__ File "mujoco_py/mjrendercontext.pyx", line 109, in mujoco_py.cymj.MjRenderContext._setup_opengl_context File "mujoco_py/opengl_context.pyx", line 44, in mujoco_py.cymj.GlfwContext.__init__ File "mujoco_py/opengl_context.pyx", line 64, in mujoco_py.cymj.GlfwContext._init_glfw mujoco_py.cymj.GlfwError: Failed to initialize GLFW
echo $LD_LIBRARY_PATH
/usr/local/nvidia/lib64:/root/.mujoco/mujoco200/bin:
echo $HOME
/root
echo $USER
I tried to install different Nvidia drivers without any effort.
My Dockerfile is: https://github.com/Roboy/mujoco_tendon/blob/master/Dockerfile