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

ERROR: Failed to EGL with glad. #333

Open
zhangcj13 opened this issue Jul 26, 2023 · 5 comments
Open

ERROR: Failed to EGL with glad. #333

zhangcj13 opened this issue Jul 26, 2023 · 5 comments

Comments

@zhangcj13
Copy link

zhangcj13 commented Jul 26, 2023

I have encountered some issues while runing python -m igibson.examples.environments.env_nonint_example, I received the following error message:


Description:
Creates an iGibson environment from a config file with a turtlebot in Rs (not interactive).
It steps the environment 100 times with random actions sampled from the action space,
using the Gym interface, resetting it 10 times.
********************************************************************************

INFO:igibson.render.mesh_renderer.get_available_devices:Device 0 is available for rendering
INFO:igibson.render.mesh_renderer.get_available_devices:Device 1 is available for rendering
INFO:igibson.render.mesh_renderer.get_available_devices:Command
'['/home/cjzhang/workspace/ebi/iGibson/igibson/render/mesh_renderer/build/test_device', '2']' returned non-zero exit status 1.
INFO:igibson.render.mesh_renderer.get_available_devices:Device 2 is not available for rendering
INFO:igibson.render.mesh_renderer.get_available_devices:Command
'['/home/cjzhang/workspace/ebi/iGibson/igibson/render/mesh_renderer/build/test_device', '3']' returned non-zero exit status 1.
INFO:igibson.render.mesh_renderer.get_available_devices:Device 3 is not available for rendering
ERROR: Failed to EGL with glad.

other info:

Ubuntu 20.04
Nvidia GPU RTX A6000
Nvidia driver 525.125.06 CUDA Version: 12.0
libEGL_nvidia.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_nvidia.so.0
libEGL_nvidia.so.0 (libc6) => /lib/i386-linux-gnu/libEGL_nvidia.so.0
libEGL_mesa.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so.1
libEGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so

please let me know what could cause this issue , how could i fix it?

Thanks!

@calcualatexzy
Copy link

I have the exact same problem here.
Have you solved? or can anyone help?

@NikoHsu
Copy link

NikoHsu commented Feb 3, 2024

I have the exact same problem here. Have you solved? or can anyone help?
请问你现在解决了吗

@shu1ong
Copy link

shu1ong commented Feb 22, 2024

I also met this problem.
And I've tried check the egl and downgrading the nvidia driver from 525 to 470.
Make no sense. I still can not launch the demo.

@kermitlinn
Copy link

same problem...

@NikoHsu
Copy link

NikoHsu commented Mar 6, 2024

I tackled this issue by reinstall the ubuntu system, while I compare the links between the error enviroment and the executable enviroment by run ldconfig -p | grep EGL, and here is the difference:
error enviroment:

libEGL_nvidia.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_nvidia.so.0
libEGL_nvidia.so.0 (libc6) => /lib/i386-linux-gnu/libEGL_nvidia.so.0
libEGL_mesa.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so.1
libEGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so

executable enviroment:

libEGL_nvidia.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_nvidia.so.0
libEGL_mesa.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so.1
libEGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libEGL.so

by run ldconfig -p | grep libnvidia-glcore
error enviroment:

libnvidia-glcore.so.550.40.07 (libc6,x86-64) => /lib/x86_64-linux-gnu/libnvidia-glcore.so.550.40.07
libnvidia-glcore.so.550.40.07 (libc6) => /lib/i386-linux-gnu/libnvidia-glcore.so.550.40.07

executable enviroment:
libnvidia-glcore.so.545.23.06 (libc6,x86-64) => /lib/x86_64-linux-gnu/libnvidia-glcore.so.545.23.06

I hope this helps!

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

5 participants