Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can use env.render() with V100-32G GPU #724

Open
zhengsipeng opened this issue Jun 15, 2022 · 1 comment
Open

I can use env.render() with V100-32G GPU #724

zhengsipeng opened this issue Jun 15, 2022 · 1 comment

Comments

@zhengsipeng
Copy link

Hi, I can not use env.render() of mujoco_py using V100-32G GPU, it will always output such error:

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

However, my code runs well on P100 GPUs.
So my question is: can V100 GPU support GPU rendering? If it can't, what else can I do?

@famishedrover
Copy link

Is it the same setup? [os / env variables / library version etc?]

can you try export LD_PRELOAD trick in my response here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants