gelsightinc / gsrobotics

GelSight SDK for robotic sensors
GNU General Public License v3.0
80 stars 24 forks source link

Show3d.py----- [Open3D WARNING] GLFW Error: GLX: Failed to create context: GLXBadFBConfig #9

Closed Programmer-Jiaoyang closed 1 year ago

Programmer-Jiaoyang commented 1 year ago

Hi all, when I was running the demo show3d.py, i got the following error information and the image I got is the same with showimages.py. Is this the supposed output and how to fix it? I run this on Ubuntu 22.04.1 with Python 3.9.13. Thanks!

Screenshot from 2023-03-27 18-46-33

debrashure commented 1 year ago

Hi all, when I was running the demo show3d.py, i got the following error information and the image I got is the same with showimages.py. Is this the supposed output and how to fix it? I run this on Ubuntu 22.04.1 with Python 3.9.13. Thanks!

Screenshot from 2023-03-27 18-46-33

Hi,

show3d.py should display the live 2D image as well as the 3D image. It uses open3d to display the 3D data. The issue you ran into is that your environment is not configured to use open3d. It is looking for some libraries that it can't find.
The first thing to try is sudo apt-get install libgl1-mesa-dri If that doesn't resolve your issue, reach out to me directly at debra_shure@gelsight.com and we can get you set up to use open3d