-
Notifications
You must be signed in to change notification settings - Fork 64
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
failed to EGL with glad. #59
Comments
Hello, I encountered the same err, could you please share how you solve this? |
I just render in headless mode, then the error disappeared. |
Hi, Thanks! |
@qureshinomaan what exactly are you running? The datarenderer in calvin_env is not being used during training, we just used it to render the dataset once after recording it with teleoperation. During training, it's the rollout callbacks that use the calvin_env simulator, so as a quick fix you could disable them during training (they are just used to evaluate the performance during training), however, you would still need to render at one point for the full evaluation after the training is done. (for disabling them, set ~callbacks/rollout and ~callbacks/rollout_lh in the command line arguments for the training). What is the output if you run this script in calvin_env? |
Hi @lukashermann!
I am running this on a machine with a 3080Ti GPU with 16GB VRAM. In the environment, torch is properly installed (cuda.is_available() is true) I get the following output :
|
EGL has nothing to do with torch, it is the GPU renderer of
|
Anyway, this is not an issue with our repository, but with |
The output of the commands you said to run.
I think there is a mismatch between the egl driver and cuda driver in my system. I have seen similar issues on Habitat and ai2thor repositories as well. I setted up the repository on another system, followed the same instructions and was able to run it. Anyways, thanks for your help! |
I don't think that the cuda driver is relevant here, maybe the nvidia driver. |
Sorry but can you teach me how to render in headless mode? |
It renders in headless mode by default. which error do you get? |
Hello: The output of the commands nvidia driver: |
Are you sure the nvidia-drivers are correctly installed? What's your output for |
Hi,Sorry but can you help me with the same bug? I try to run the command I also try the list_egl_options.py and get ----------Option #2 (id=1)------------- ----------Option #3 (id=2)------------- ----------Option #4 (id=3)------------- ----------Option #5 (id=4)------------- libEGL warning: failed to open /dev/dri/renderD131: Permission denied eglInitialize() failed with error: 3008 ----------Option #6 (id=5)------------- libEGL warning: failed to open /dev/dri/renderD130: Permission denied eglInitialize() failed with error: 3008 ----------Option #7 (id=6)------------- libEGL warning: failed to open /dev/dri/renderD129: Permission denied eglInitialize() failed with error: 3008 ----------Option #8 (id=7)------------- libEGL warning: failed to open /dev/dri/renderD128: Permission denied eglInitialize() failed with error: 3008 ----------Option #9 (id=8)------------- Hope for your reply. |
me too! |
error:failed to EGL with glad.
Does this error occur because I didn't install EGL properly?
When I enter "ldconfig -p | grep libEGL" in the terminal, I get the following output.
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
Can you please guide me on what to do next? Thank you very much.
The text was updated successfully, but these errors were encountered: