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

libGL error #6

Open
pradal opened this issue Jun 18, 2022 · 5 comments
Open

libGL error #6

pradal opened this issue Jun 18, 2022 · 5 comments
Assignees

Comments

@pradal
Copy link
Contributor

pradal commented Jun 18, 2022

When running PlantGL, I have liGL errors

libGL error: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

It seems related to openai/gym#509

One solution would be to add to the Docker image

apt-get install -y mesa-utils libgl1-mesa-glx
@thomasarsouze
Copy link
Contributor

@pradal Can you specify a workflow please, I cannot reproduce ? I have visualea running, Webber&Penn demo -> plot3D and a successfull PlantGL window display.

@pradal
Copy link
Contributor Author

pradal commented Jun 20, 2022

I have the same workflow. When I plot with PlantGL, i have this error.
But I havn't a NVIDIA Card

@thomasarsouze
Copy link
Contributor

Me neither... Will investigate this

@pradal
Copy link
Contributor Author

pradal commented Jun 22, 2022

libGL error: failed to load driver: swrast
X Error: GLXBadContext 161
Extension: 149 (Uknown extension)
Minor opcode: 4 (Unknown request)
Resource id: 0x600026

@thomasarsouze
Copy link
Contributor

@pradal can you tests some possible workaround (doesn't look like stable solutions though) ?

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