-
Notifications
You must be signed in to change notification settings - Fork 161
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
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] #57
Comments
Looks like OpenGL is using integrated graphics instead of the dedicated graphics cards. Ideally it should show vendor being Nvidia.
|
I guess you can try to reinstall nvidia driver, and select install OpenGL driver when installing. The docker problem originates from the same issue, preventing you from using |
You can try installing |
Thanks so much for helping with this. However, I still get the same result with There was never any option to include OpenGL driver etc. Is there something specific you were thinking of, or another method to install the driver? Thanks again |
Thanks for getting back @izkula, I think I have more information about your particular issue.
This might be caused by the fact that you have a display connected to the iGPU, as reported here and here is a full thread of people having similar issues.
If you have access to this workstation, you can try to connect the monitor with the GPU. Otherwise, you can also edit |
Hi, After going down an unsuccessful rabbit hole with ssh -X and vnc, I decided to try switching computers. I am getting the same error with docker, though (and I was unable to install using the two other methods).
This is through a remote desktop, and all the other things look fine...
and I'm at a loss. Do I need to try running this on AWS or google cloud? |
Hi @izkula, this computer does look promising since the OpenGL driver is found. re: re: unable to install using the two other methods |
Hmmm,
Other errors are here:
ERROR: Command errored out with exit status 1: /home/izkula/anaconda/envs/ig/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/izkula/src/iGibson/setup.py'"'"'; file='"'"'/home/izkula/src/iGibson/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. for
|
Okay, I solved the docker issue by installing the nvidia container toolkit (nvidia-docker2)
It would still be great to figure out why the other install methods don't work here, though |
For the build error, looks like something like you can also configure the build not to use cuda (this way rendering to tensor is not available, but you can still use most of iGibson features), by changing this line to FALSE: https://github.com/StanfordVL/iGibson/blob/master/gibson2/render/CMakeLists.txt#L11 |
Hi there,
I am unable to get either docker or pip installation to run with GUI on a remote server (Ubuntu 18.04.5 LTS).
nvidia-smi
showsNVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0
With a GeForce RTX 2080 SUPER
After installing docker according to these direction: https://docs.docker.com/engine/install/ubuntu/
sudo docker run hello-world
runs successfullyI cloned the repository
docker images
shows that I have these repositories download:igibson/igibson-gui latest f1609b44544a 6 days ago 8.11GB
igibson/igibson latest e2d4fafb189b 6 days ago 7.48GB
But
sudo ./docker/headless-gui/run.sh
elicits this error:Starting VNC server on port 5900 with password 112358
please run "python simulator_example.py" once you see the docker command prompt:
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
sudo ./docker/base/run.sh
also elicits:docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
One guess is that something is wrong with OpenGL, but I don't know how to fix it.
If I run
glxinfo -B
, I getname of display: localhost:12.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
display: localhost:12 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL vendor string: Intel Inc.
OpenGL renderer string: Intel(R) Iris(TM) Plus Graphics 655
OpenGL version string: 1.4 (2.1 INTEL-14.7.8)
Note: I can successfully run
xeyes
on the server and have it show up on my local machine.And
glxgears
shows the gears image but the gears are not rotating.(and returns this error:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
)
I also tried the steps from the trouble shooting page:
ldconfig -p | grep EGL
yieldslibEGL_nvidia.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.0
libEGL_nvidia.so.0 (libc6) => /usr/lib/i386-linux-gnu/libEGL_nvidia.so.0
libEGL_mesa.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL.so.1
libEGL.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libEGL.so
And I checked that
/usr/lib/x86_64-linux-gnu/libEGL.so -> libEGL.so.1.0.0
I also do not appear to have any directories such as
/usr/lib/nvidia-vvv
(I only have /usr/lib/nvidia, /usr/lib/nvidia-cuda-toolkit, and /usr/lib/nvidia-visual-profiler)
Any help would be very much appreciated! Thank you so much.
The text was updated successfully, but these errors were encountered: