habitat-sim
habitat-sim copied to clipboard
[None Docker and headless install in conda enviroment] unable to find EGL device for CUDA device 0
Habitat-Sim version
v0.1.7
conda install -c aihabitat -c conda-forge habitat-sim=0.1.7 headless git clone --branch v0.1.7 [email protected]:facebookresearch/habitat-lab.git cd habitat-lab python setup.py develop --all # install habitat and habitat_baselines
I had installed openGL, and successed to use EGL to show UI in another conda enviroment(python3.8 torch2.1.0+cu121) but errors occupied when I used habitat-smi in a new conda eviroment(python3.6 torch1.9.1+cu111)
GPU: nvidia 4090
❓ Questions and Help
I0808 14:58:27.797049 2805534 Simulator.cpp:156] Loading navmesh from data/andong/Matterport/v1/mp3d/17DRP5sb8fy/17DRP5sb8fy.navmesh
I0808 14:58:27.797112 2805534 Simulator.cpp:158] Loaded.
I0808 14:58:27.797122 2805534 SceneGraph.h:93] Created DrawableGroup:
eglQueryDevicesEXT(): EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
eglQueryDevicesEXT(): EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
Platform::WindowlessEglApplication: eglQueryDeviceStringEXT(EGLDevice=0): EGL_EXT_device_drm EGL_EXT_device_drm_render_node
eglQueryDeviceAttribEXT(): eglQueryDeviceAttribEXT
Platform::WindowlessEglApplication: eglQueryDeviceStringEXT(EGLDevice=1): EGL_EXT_device_drm EGL_EXT_device_drm_render_node
eglQueryDeviceAttribEXT(): eglQueryDeviceAttribEXT
Platform::WindowlessEglApplication: eglQueryDeviceStringEXT(EGLDevice=2): EGL_EXT_device_drm EGL_EXT_device_drm_render_node
eglQueryDeviceAttribEXT(): eglQueryDeviceAttribEXT
Platform::WindowlessEglApplication: eglQueryDeviceStringEXT(EGLDevice=3): EGL_MESA_device_software EGL_EXT_device_drm_render_node
eglQueryDeviceAttribEXT(): eglQueryDeviceAttribEXT
Platform::WindowlessEglApplication::tryCreateContext(): unable to find EGL device for CUDA device 0
WindowlessContext: Unable to create windowless context
@0mdc thoughts?
Same problem here.
same
same
If you use habitat-sim in the docker or WSL:
- Install somthing essential
apt-get install -y libx11-dev libgles2-mesa libgles2-mesa-dev gnupg2 libbullet-dev && rm -rf /var/lib/apt/lists/*
- Down habitat-sim headlss version from this
wget https://anaconda.org/aihabitat/habitat-sim/0.1.7/download/linux-64/habitat-sim-0.1.7-py3.7_headless_bullet_linux_856d4b08c1a2632626bf0d205bf46471a99502b7.tar.bz2 && conda install /tmp/habitat-sim-0.1.7-py3.7_headless_bullet_linux_856d4b08c1a2632626bf0d205bf46471a99502b7.tar.bz2
-
echo "unset DISPLAY" >> ~/.bashrc && source ~/.bashrc
-
enjoy!
anyone know how to fix the problem?