Metaworld
Metaworld copied to clipboard
can not render under Tesla-V100 GPU
Hi, it seems that the same bug always exists under V100-32G GPU environment:
Found 0 GPUs for rendering. Using device 0.
File "mjsim.pyx", line 156, in mujoco_py.cymj.MjSim.render
File "mjsim.pyx", line 158, in mujoco_py.cymj.MjSim.render
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
My code works well on P100 GPUs, does it mean that metaworld/mujoco_py do not support V100 rendering? Have your ever encounter such problem using V100 GPUs?
To be honest, I never tried rendering the environments on a gpu instance. I would run them headless and then render on my local non gpu machine, as I didn't need any of the rendered images during training, but only for evaluation purposes.
I have faced this issue before which was solved by unset LD_PRELOAD
variable for offscreen env.sim.render()
.
As Meta-World ownership has been transferred from the RLWorkGroup to Farama Foundation, I am closing this issue. If there are any questions or requests for features please join our Discord