Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errror while trying to drae visualization using open3d after running sapien render #186

Open
j-thapa opened this issue Dec 19, 2024 · 1 comment

Comments

@j-thapa
Copy link

j-thapa commented Dec 19, 2024

after i initiate sapien ; in the same script if i try to draw visualization using open3D i get following error:

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
[Open3D WARNING] GLFW Error: GLX: Failed to create context: GLXBadFBConfig
[Open3D WARNING] Failed to create window
[Open3D WARNING] [DrawGeometries] Failed creating OpenGL window.
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 15 (X_QueryTree)
Resource id in failed request: 0x2c00026
Serial number of failed request: 1518

@fbxiang
Copy link
Collaborator

fbxiang commented Dec 20, 2024

It is very surprising that SAPIEN would have any effect on open3d since SAPIEN does not use OpenGL at all. And there is certainly no way to cause /usr/lib/dri/swrast_dri.so to go missing. Can you first verify this problem does not occur with open3d alone and is not caused some other libraries and provide a minimal example?
For example, does import sapien enough to cause the issue, or you need to create a scene or create a viewer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants