ch-sa / labelCloud

A lightweight tool for labeling 3D bounding boxes in point clouds.

Home Page:https://ch-sa.github.io/labelCloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ailed to load driver: iris & failed to load driver: swrast. how can i do?

346575116 opened this issue · comments

Dear ch-sa,

 can you help me? I have tried several method,but can't solve it.

my system: ubuntu20.04
nvidia: GTX1650

=======================I I have tried the bellow=========
https://stackoverflow.com/questions/71010343/cannot-load-swrast-and-iris-drivers-in-fedora-35
https://askubuntu.com/questions/1412683/ubuntu-20-04-libgl-error-failed-to-load-driver-swrast
https://candid.technology/libgl-error-failed-to-load-driver-swrast/
2023-05-23 22-15-54 的屏幕截图

=======================

*$ python3 labelCloud.py
Set export strategy to CentroidFormat.
Saving rotations absolutely to positve x-axis in degrees (0..360°).
libGL error: MESA-LOADER: failed to open iris: /lib/x86_64-linux-gnu/libLLVM-12.so.1: undefined symbol: ffi_type_sint32, version LIBFFI_BASE_7.0 (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /lib/x86_64-linux-gnu/libLLVM-12.so.1: undefined symbol: ffi_type_sint32, version LIBFFI_BASE_7.0 (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: 无法打开共享对象文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Loading next point cloud...
Loading point cloud from pointclouds/exemplary.ply using Open3DHandler.
========================================================================================== Loading exemplary.ply ==========================================================================================
Successfully loaded point cloud from pointclouds/exemplary.ply!
Number of Points: 86357
Number of Colors: 86357
Point Cloud Center: [ 0.03 -0.37 0.29]
Point Cloud Minimums: [-2.02 -1.42 -0.03]
Point Cloud Maximums: [0.98 0.95 0.94]
Initial Translation: [-0.03 0.37 -4.22]

There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
Alignmode was changed to False!
Imported 1 labels from labels/exemplary.json.
Loaded 1 bboxes!
There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
There is currently no active bounding box to manipulate.
Showing GUI...
Closing window after saving ...
File labels/exemplary.json already exists, replacing file ...
Exported 1 labels to labels/exemplary.json in CentroidFormat formatting!
(labelcloud) fred@fred-HP:~/Work/Labelcloud/labelCloud$

==============
nvidia-smi
Tue May 23 22:21:31 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 34C P0 5W / 50W | 6MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1047 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+

pip list
Package Version


addict 2.4.0
aiofiles 22.1.0
aiosqlite 0.19.0
anyio 3.6.2
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
asttokens 2.2.1
attrs 23.1.0
Babel 2.12.1
backcall 0.2.0
beautifulsoup4 4.12.2
black 23.1.0
bleach 6.0.0
certifi 2023.5.7
cffi 1.15.1
charset-normalizer 3.1.0
click 8.1.3
comm 0.1.3
contourpy 1.0.7
cycler 0.11.0
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
deprecation 2.1.0
executing 1.2.0
fastjsonschema 2.17.1
fonttools 4.39.4
fqdn 1.5.1
idna 3.4
importlib-metadata 6.6.0
importlib-resources 5.12.0
iniconfig 2.0.0
ipykernel 6.23.1
ipython 8.12.2
ipython-genutils 0.2.0
ipywidgets 8.0.6
isoduration 20.11.0
jedi 0.18.2
Jinja2 3.1.2
joblib 1.2.0
json5 0.9.14
jsonpointer 2.3
jsonschema 4.17.3
jupyter_client 8.2.0
jupyter_core 5.3.0
jupyter-events 0.6.3
jupyter_packaging 0.12.3
jupyter_server 2.5.0
jupyter_server_fileid 0.9.0
jupyter_server_terminals 0.4.4
jupyter_server_ydoc 0.8.0
jupyter-ydoc 0.2.4
jupyterlab 3.6.3
jupyterlab-pygments 0.2.2
jupyterlab_server 2.22.1
jupyterlab-widgets 3.0.7
kiwisolver 1.4.4
labelCloud 1.0.1
MarkupSafe 2.1.2
matplotlib 3.7.1
matplotlib-inline 0.1.6
mistune 2.0.5
mypy 0.991
mypy-extensions 1.0.0
nbclassic 1.0.0
nbclient 0.8.0
nbconvert 7.4.0
nbformat 5.8.0
nest-asyncio 1.5.6
notebook 6.5.4
notebook_shim 0.2.3
numpy 1.23.5
open3d 0.15.2
packaging 23.1
pandas 2.0.1
pandocfilters 1.5.0
parso 0.8.3
pathspec 0.11.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.5.0
pip 23.0.1
pkgutil_resolve_name 1.3.10
platformdirs 3.5.1
pluggy 1.0.0
prometheus-client 0.16.0
prompt-toolkit 3.0.38
psutil 5.9.5
ptyprocess 0.7.0
pure-eval 0.2.2
py 1.11.0
pycparser 2.21
Pygments 2.15.1
PyOpenGL 3.1.7
PyOpenGL-accelerate 3.1.7
pyparsing 3.0.9
PyQt5 5.15.9
PyQt5-Qt5 5.15.2
PyQt5-sip 12.12.1
PyQt5-stubs 5.15.6.0
pyquaternion 0.9.9
pyrsistent 0.19.3
pytest 7.1.3
pytest-qt 4.1.0
python-dateutil 2.8.2
python-json-logger 2.0.7
pytz 2023.3
PyYAML 6.0
pyzmq 25.0.2
requests 2.31.0
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
scikit-learn 1.2.2
scipy 1.10.1
Send2Trash 1.8.2
setuptools 66.0.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.4.1
stack-data 0.6.2
terminado 0.17.1
threadpoolctl 3.1.0
tinycss2 1.2.1
tomli 2.0.1
tomlkit 0.11.8
tornado 6.3.2
tqdm 4.65.0
traitlets 5.9.0
types-pkg-resources 0.1.3
types-setuptools 57.4.18
typing_extensions 4.6.0
tzdata 2023.3
uri-template 1.2.0
urllib3 2.0.2
wcwidth 0.2.6
webcolors 1.13
webencodings 0.5.1
websocket-client 1.5.2
wheel 0.38.4
widgetsnbextension 4.0.7
y-py 0.5.9
ypy-websocket 0.8.2
zipp 3.15.0

This seems to be an issue that is not specific to labelCloud but rather OpenGL or pyopengl.

Please open an issue there.

You can double check this assumption by running an MVP opengl visualization in Python.

Thanks very much for your replies.
How can check OpenGL or pyopengl ?
when I re-install the requirements,the error hanpen again and I don't know how to resolve it.
libGL error: MESA-LOADER: failed to open iris
libGL error: MESA-LOADER: failed to open swrast: