habitat-sim
habitat-sim copied to clipboard
Platform::WindowlessEglApplication::tryCreateContext(): unable to find EGL device for CUDA device 0 WindowlessContext: Unable to create windowless context
Habitat-Sim version
v0.2.1
Hi there, I install the habitat challenge docker from the instruction here : https://github.com/facebookresearch/habitat-lab#docker-setup.
Then I am trying to run python examples/example_pointnav.py but get the error : Platform::WindowlessEglApplication::tryCreateContext(): unable to find EGL device for CUDA device 0 WindowlessContext: Unable to create windowless context
My nvidia-driver is installed. NVIDIA-SMI 510.60.02 Driver Version: 510.60.02 CUDA Version: 11.6
Also, the following command results in the following output.
ldd $(python -c "import habitat_sim; print(habitat_sim._ext.habitat_sim_bindings.file)")
linux-vdso.so.1 (0x00007ffe330ff000)
libz.so.1 => /opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/_ext/../../../../libz.so.1 (0x00007f445919d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f445789f000)
libgomp.so.1 => /opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/_ext/../../../../libgomp.so.1 (0x00007f44590ad000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4457680000)
libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007f445746c000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4457268000)
libOpenGL.so.0 => /usr/lib/x86_64-linux-gnu/libOpenGL.so.0 (0x00007f445703a000)
libstdc++.so.6 => /opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/_ext/../../../../libstdc++.so.6 (0x00007f4456e8f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4456af1000)
libgcc_s.so.1 => /opt/conda/envs/habitat/lib/python3.7/site-packages/habitat_sim/_ext/../../../../libgcc_s.so.1 (0x00007f4459096000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4456700000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4458f90000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f445644a000)
The command cat /usr/share/glvnd/egl_vendor.d/10_nvidia.json
outputs the following result:
cat /usr/share/glvnd/egl_vendor.d/10_nvidia.json { "file_format_version" : "1.0.0", "ICD" : { "library_path" : "libEGL_nvidia.so.0" } }
So frustrated about my very beginning journey on habitat QWQ. Please offer me some assistance @erikwijmans
Hey @johncruyff14,
Any luck with this issue so far?