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

has_offscreen_render=True does not work (GLEW initalization error: Missing GL version) #653

Open
RayYoh opened this issue Nov 24, 2021 · 3 comments

Comments

@RayYoh
Copy link

RayYoh commented Nov 24, 2021

Describe the bug To Reproduce
When I use the Quickstart codes of robosuite, it work perfectly when I use:

env = suite.make(
    env_name="Lift", # try with other tasks like "Stack" and "Door"
    robots="Panda",  # try with other robots like "Sawyer" and "Jaco"
    has_renderer=True,
    has_offscreen_renderer=False,
    use_camera_obs=False,
)

But when I use:

env = suite.make(
    env_name="Lift", # try with other tasks like "Stack" and "Door"
    robots="Panda",  # try with other robots like "Sawyer" and "Jaco"
    has_renderer=False,
    has_offscreen_renderer=True,
    use_camera_obs=True,
)

it dose not work, and there is an error GLEW initalization error: Missing GL version.

Error Messages
GLEW initalization error: Missing GL version

Desktop (please complete the following information):

  • OS: Ubuntu20.04
  • Python Version 3.8.12
  • Mujoco Version 200
  • mujoco-py version 2.0.2.13

I have try below to slove this problem, but this don't help.

@lorepieri8
Copy link

The problem is still there, any solutions?

@SATE001
Copy link

SATE001 commented Apr 27, 2022

The problem is still there, any solutions?

Give up immediately.
Instead, use 'OpenGL.GL.glReadPixels ()'.

@famishedrover
Copy link

@SATE001 can you elaborate more on your response? (like some small example with some environment)?
Thanks!

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

4 participants