facebookresearch/habitat-lab

DISPLAY not detected. For headless systems, compile with --headless for EGL support

Columba0376 opened this issue · 5 comments

Habitat-Lab and Habitat-Sim versions

Habitat-Lab: v0.1.7

Habitat-Sim: v0.1.7

after I install Habitat-Sim: v0.1.7 with headless and run the test code I meet the error:
DISPLAY not detected. For headless systems, compile with --headless for EGL support.

Here is what I did while installing:

conda install -c aihabitat -c conda-forge habitat-sim=0.1.7 headless
git clone --branch v0.1.7 git@github.com:facebookresearch/habitat-lab.git
cd habitat-lab
python setup.py develop --all # install habitat and habitat_baselines
### test code:
python examples/example.py
###then the running stop at:
DISPLAY not detected. For headless systems, compile with --headless for EGL support.

How can I solve this problem?
Thank you in advanced!

Can you point to where you found these install instructions? You may want to follow the order of arguments as shown in the install section:

conda install habitat-sim=0.1.7 headless -c conda-forge -c aihabitat

Can you point to where you found these install instructions? You may want to follow the order of arguments as shown in the install section:

conda install habitat-sim=0.1.7 headless -c conda-forge -c aihabitat

I found the install instructions from another project:https://github.com/MarSaKi/ETPNav

However, after trying this code, I still get the same error

conda install habitat-sim=0.1.7 headless -c conda-forge -c aihabitat

Could you try installing a newer version of Habitat? It may be that older versions require older nvidia drivers as well. Are you installing this in a machine with GPUs?

Could you try installing a newer version of Habitat? It may be that older versions require older nvidia drivers as well. Are you installing this in a machine with GPUs?

Thank you. It seem it can run correctly using docker instead of using conda env

@Columba0376 Hi, which docker image do you use to solve this problem? Thank you in advance!