kuixu / kitti_object_vis

KITTI Object Visualization (Birdview, Volumetric LiDar point cloud )
MIT License
1.06k stars 231 forks source link

libGL error: MESA-LOADER: failed to open crocus/swrast #57

Open fusturnu opened 2 years ago

fusturnu commented 2 years ago

When I run this command below: $ python kitti_object.py --show_lidar_with_depth --img_fov --const_box --vis I have received this error:

data/object training libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: crocus libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: crocus libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast no pred file data/object/training/velodyne/000000.bin 0 image shape: (370, 1224, 3) 0 velo shape: (115384, 4) ======== Objects in Ground Truth ======== === 1 object === Type, truncation, occlusion, alpha: Pedestrian, 0, 0, -0.200000 2d bbox (x0,y0,x1,y1): 712.400000, 143.000000, 810.730000, 307.920000 3d bbox h,w,l: 1.890000, 0.480000, 1.200000 3d bbox location, ry: (1.840000, 1.470000, 8.410000), 0.010000 Difficulty of estimation: Easy ('All point num: ', 115384) ('FOV point num: ', (20285, 4)) pc_velo (20285, 4) ==================== (20285, 4) box3d_pts_3d_velo: [[ 8.96440459 -2.45859462 -1.60867186] [ 8.48444353 -2.45306157 -1.60607081] [ 8.49835837 -1.25324031 -1.59072653] [ 8.97831943 -1.25877336 -1.59332758] [ 8.97436611 -2.48287864 0.28114573] [ 8.49440505 -2.47734559 0.28374677] [ 8.50831989 -1.27752433 0.29909105] [ 8.98828095 -1.28305738 0.29649 ]] 2022-11-16 15:40:04.753 ( 3,183s) [ CE9DB440]vtkOpenGLRenderWindow.c:493 ERR| vtkEGLRenderWindow (0x2b22f20): GLEW could not be initialized: Missing GL version

How can I fix this issue? Thanks for your help.

tao0410 commented 1 year ago

I found three solutions, and finally the third one worked。 (1)https://stackoverflow.com/questions/71010343/cannot-load-swrast-and-iris-drivers-in-fedora-35/72200748#72200748 (2)https://www.bilibili.com/read/cv18458759/ (3)https://zhuanlan.zhihu.com/p/531801732(worked)