Github messages for voidlinux
 help / color / mirror / Atom feed
From: nuxion <nuxion@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package Request: nvidia-docker
Date: Sun, 01 May 2022 21:36:14 +0200	[thread overview]
Message-ID: <20220501193614.Dc23WEKt17lZMLf6QrvxKmXWy27glxmvqARldxEfqIE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

New comment by nuxion on void-packages repository

https://github.com/void-linux/void-packages/issues/11084#issuecomment-1114317975

Comment:
Hi! I tried this branch to install `nvidia-docker` package. It was succesfully installed but when I run the basic test command:
`docker run --gpus all nvidia/cuda:12.0-base nvidia-smi` 
it's fail with:
```
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ERRO[0000] error waiting for container: context canceled
```
I don't have any problem running nvidia-smi outside docker context:
```
nvidia-smi
Sun May  1 16:29:02 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02    Driver Version: 510.60.02    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:03:00.0  On |                  N/A |
|  0%   49C    P0    32W / 120W |    290MiB /  6144MiB |      4%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       989      G   /usr/libexec/Xorg                 157MiB |
|    0   N/A  N/A      4028      G   firefox                           120MiB |
|    0   N/A  N/A      4759      G   alacritty                           8MiB |
```
I tested different versions of nvidia/cuda image (9, 10 and 11) , none of them worked. Any idea or sugestion? Thanks in advance for making this package available.

  parent reply	other threads:[~2022-05-01 19:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11084@inbox.vuxu.org>
2022-04-15  0:51 ` github-actions
2022-05-01 19:36 ` nuxion [this message]
2022-05-01 19:53 ` nuxion
2022-06-20 17:52 ` [ISSUE] [CLOSED] " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220501193614.Dc23WEKt17lZMLf6QrvxKmXWy27glxmvqARldxEfqIE@z \
    --to=nuxion@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).