test failed with 'libEGL'
Short description
On Linux, DeepIM-PyTorch can't run ./experiments/scripts/demo.sh. The only log/error message are:
loading 3D models
libEGL warning: DRI2: failed to create dri screen
libEGL warning: Not allowed to force software rendering when API explicitly selects a hardware device.
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/media/DeepIM-PyTorch/tools/../ycb_render/build/test_device', '1']' returned non-zero exit status 1.
number of devices found 3
Loaded EGL 1.5 after reload.
./experiments/scripts/demo.sh: 行 16: 10132 段错误 (核心已转储) ./tools/test_images.py --gpu 0 --imgdir data/demo/ --meta data/demo/meta.yml --color *color.png --network flownets --pretrained data/checkpoints/ycb_object/flownets_ycb_object_20objects_color_self_supervision_epoch_10.checkpoint.pth --dataset ycb_object_test --cfg experiments/cfgs/ycb_object_flow.yml
Tried solutions
I followed the instruction in this iGibson/issues/9 but still failed.
More info
-
resut of
cat /etc/issue-
Ubuntu 18.04.5 LTS \n \l
-
-
resut of
anaconda env -
result of
nvidia-smi-
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce RTX 2060 Off | 00000000:01:00.0 On | N/A | | 0% 37C P8 12W / 170W | 703MiB / 5931MiB | 9% Default | +-------------------------------+----------------------+----------------------+
-
-
result of
ldconfig -p | grep libOpenGL-
libOpenGL.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so.0 libOpenGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libOpenGL.so
-
I'm a beginner and I want to know what should I do test ycb renderer fold and run 'python ycb_renderer.py'.
Thank you!
I have the same question.
This segmentation fault is related to pyassimp https://github.com/NVlabs/DeepIM-PyTorch/blob/b46ccd2465ce69ac575bf454d4171a5dcb9c6908/ycb_render/ycb_renderer.py#L341. I made it work by downgrading pyassimp from 4.1.4 to 3.3.
This segmentation fault is related to pyassimp
https://github.com/NVlabs/DeepIM-PyTorch/blob/b46ccd2465ce69ac575bf454d4171a5dcb9c6908/ycb_render/ycb_renderer.py#L341
. I made it work by downgrading pyassimp from 4.1.4 to 3.3.
what's the problem with this "load" code? I got a error around here