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
Running vispy inside docker and not being able to access OpenGL drivers #2567
Comments
Please look at other issues related to docker or the EGL backend or offscreen rendering. I haven't used docker with vispy myself, but there are others who have and various solutions are spread throughout the issues I think. I'm sorry I don't have time right now to track the answers down myself. That said, I think you'll need to tell docker about your GPU in some way. I don't think a docker container has access to your GPU by default and I'm not sure environment variables (NVIDIA_*) do anything to help that. The other option would be to look at offscreen rendering where you setup a fake display inside docker and render to that. That is usually all CPU rendering though. |
I am using following Dockerfile to create a very simple setup with Vispy:
I run following command to create docker image:
Then, I run following commad that exercises simple vispy command to print system info:
The
GL version
field is empty which suggests that OpenGL driver was not properly initialized. Can someone please help with initializing OpenGL driver in this docker image?The text was updated successfully, but these errors were encountered: