openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.83k stars 810 forks source link

Mujoco in Docker with Nvidia Graphics #656

Open Infraviored opened 2 years ago

Infraviored commented 2 years ago

Describe the bug I am running mujoco 2.00 from a Docker container in Ubuntu 21.10. 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

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

Infraviored commented 2 years ago

Please help me.