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

About OpenGL render error when processing the hdf5 dataset #3

Open
weixiang-smart opened this issue Jan 22, 2024 · 6 comments
Open

Comments

@weixiang-smart
Copy link

Hello! @j96w It's an excellent work of robot learning.
When I tried to process the data downloaded from the google drive using
python scripts/dataset_states_to_obs.py --dataset 'datasets/playdata/demo_modified.hdf5' --done_mode 0 --camera_names agentview robot0_eye_in_hand --camera_height 84 --camera_width 84 --output_name image_demo_local.hdf5 --exclude-next-obs,
I got the render error about OpenGL
OpenGL.raw.EGL._errors.EGLError: EGLError( err = EGL_NOT_INITIALIZED, baseOperation = eglMakeCurrent, cArguments = ( <OpenGL._opaque.EGLDisplay_pointer object at 0x7fe287ca7dc0>, <OpenGL._opaque.EGLSurface_pointer object at 0x7fe2921ab840>, <OpenGL._opaque.EGLSurface_pointer object at 0x7fe2921ab840>, <OpenGL._opaque.EGLContext_pointer object at 0x7fe2921ab7c0>, ), result = 0 ).
Have you ever met this problem? Or I would like to know if the version of the mujoco causes this matter. My mujoco version is 3.1.1.

@varunagrawal
Copy link
Contributor

This is an issue from robosuite. I am not sure how to fix it myself. :(

@CAN-Lee
Copy link

CAN-Lee commented Mar 22, 2024

@weixiang-smart Hi, I also encountered the same problem. Have you solved it? Thanks.

@j96w
Copy link
Owner

j96w commented Mar 25, 2024

Hi @weixiang-smart @CAN-Lee , I'm still looking into this issue related to robosuite. In the meantime, feel free to download the processed dataset (image_demo.hdf5) from each dataset folder.

@RP-Wine
Copy link

RP-Wine commented May 6, 2024

Same problem, solved after i switched my GPU to nvidia GPU only (because i'm using a laptop that has an intel GPU and nvidia GPU). Don't know if this works in your cases

@yubinwang11
Copy link

Same error. I am actively looking for any solution.

@welen-zhou
Copy link

export MUJOCO_GL=glx ,it works for me.

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

7 participants