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

detect missing nvidia driver and give a useful prompt #173

Open
tfoote opened this issue Mar 9, 2022 · 0 comments
Open

detect missing nvidia driver and give a useful prompt #173

tfoote opened this issue Mar 9, 2022 · 0 comments
Labels
enhancement New feature or request nvidia Connected to the nvidia extension

Comments

@tfoote
Copy link
Collaborator

tfoote commented Mar 9, 2022

If you don't install nvida-docker2 you get this less than helpful traceback.

Executing command: 
docker run --rm -it -v /home/yadu:/home/yadu   --gpus all -v /run/user/1000/pulse:/run/user/1000/pulse --device /dev/snd  -e PULSE_SERVER=unix:/run/user/1000/pulse/native -v /run/user/1000/pulse/native:/run/user/1000/pulse/native --group-add 29   -e DISPLAY -e TERM   -e QT_X11_NO_MITSHM=1   -e XAUTHORITY=/tmp/.docker9h4b_k2f.xauth -v /tmp/.docker9h4b_k2f.xauth:/tmp/.docker9h4b_k2f.xauth   -v /tmp/.X11-unix:/tmp/.X11-unix   -v /etc/localtime:/etc/localtime:ro  a8728a86bf55 
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
@tfoote tfoote added enhancement New feature or request nvidia Connected to the nvidia extension labels Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nvidia Connected to the nvidia extension
Projects
None yet
Development

No branches or pull requests

1 participant