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

[None Docker and headless install in conda enviroment] unable to find EGL device for CUDA device 0 #2443

Open
TLvCo opened this issue Aug 8, 2024 · 2 comments
Labels
support User support requested (e.g. specific issue or API usage question)

Comments

@TLvCo
Copy link

TLvCo commented Aug 8, 2024

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
@aclegg3
Copy link
Contributor

aclegg3 commented Aug 12, 2024

@0mdc thoughts?

@aclegg3 aclegg3 added the support User support requested (e.g. specific issue or API usage question) label Aug 12, 2024
@nicklhy
Copy link

nicklhy commented Aug 15, 2024

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support requested (e.g. specific issue or API usage question)
Projects
None yet
Development

No branches or pull requests

3 participants