facebookresearch / habitat-lab

A modular high-level library to train embodied AI agents across a variety of tasks and environments.
https://aihabitat.org/
MIT License
1.96k stars 491 forks source link

Platform::WindowlessEglApplication::tryCreateContext(): unable to find CUDA device 0 among 1 EGL devices in total WindowlessContext: Unable to create windowless context #1925

Open QingChengLineOne opened 6 months ago

QingChengLineOne commented 6 months ago

(habitat) root@rt-res-public24-86f789d7bc-sxwxs:/public/zzy/habitat-lab# python examples/example.py pybullet build time: Apr 28 2024 15:42:17 2024-04-28 15:55:49,994 Initializing dataset RearrangeDataset-v0 2024-04-28 15:56:05,787 initializing sim RearrangeSim-v0 [15:56:05:865338]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : : No Glob path result found for data/hab_fetch_1.0/robots/fetch_no_base.urdf so unable to load templates from that path. [15:56:05:981303]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_00.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981407]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_01.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981456]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_02.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981504]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_03.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981551]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_04.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981597]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_05.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981644]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_06.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981693]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_07.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981740]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_08.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981786]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_09.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981837]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_10.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981884]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_11.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981931]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_12.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:981980]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_13.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982026]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_14.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982073]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_15.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982119]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_16.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982168]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_17.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982216]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_18.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982266]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_19.navmesh not found on disk as absolute path or relative to data/replica_cad [15:56:05:982315]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_20.navmesh not found on disk as absolute path or relative to data/replica_cad Platform::WindowlessEglApplication::tryCreateContext(): unable to find CUDA device 0 among 1 EGL devices in total WindowlessContext: Unable to create windowless context

AshisGhosh commented 5 months ago

I'm also getting this error. Did you have any luck?

aclegg3 commented 5 months ago

Take a look at these trouble shooting tips: https://github.com/facebookresearch/habitat-lab/blob/main/TROUBLESHOOTING.md#unable-to-create-context

0mdc commented 5 months ago

@AshisGhosh , @QingChengLineOne

Have you managed to work around the issue?

Tbuterin commented 2 months ago

Hi @QingChengLineOne! I noticed that we are experiencing the same issue, and it hasn't been resolved yet. I was wondering if you found any solutions or workarounds since you posted this?

Thank you very much!