You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, I run following commad that exercises simple vispy command to print system info:
docker run --entrypoint python opengl-vispy-issue-ubuntu -c "import vispy; print(vispy.sys_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:
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: