[Error] nvidia-smi not working on Arch container, even with --nvidia flag
- Vorherrschende Sprache
- Go
- Sterne
- 13k
- Forks
- 541
- Ø Merge
- 20 Std. 47 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
**Describe the bug**
After making an Arch distrobox with the `--nvidia` flag, running `nvidia-smi` in that container leads to this error:
NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system.
Please also try adding directory that contains libnvidia-ml.so to your system PATH.
**To Reproduce**
Install Arch Linux as a Distrobox, adding `--nvidia` in your command, and then run `nvidia-smi`.
**Expected behavior**
Something like this:
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2 |
+-----------------------------------------+------------------------+----------------------+
| 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 Quadro T2000 Off | 00000000:01:00.0 Off | N/A |
| N/A 54C P8 3W / 60W | 1MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
**Logs**
https://pastebin.com/qC4Apap0
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod?
Podman
- Which version or podman, docker or lilipod?
5.8.2
- Which version of distrobox?
1.8.2.4
- Which host distribution?
Nobara Linux
- How did you install distrobox?
Through the terminal with `sudo dnf install distrobox`.
**Additional context**
`nvidia-smi` works perfectly fine on the host machine. Installing `nvidia-open` drivers in the Arch container does not resolve the issue.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.