- Ubuntu18.04
- CUDA 10.0
- 内核 5.3.0-53-通用
我按照 NVIDIA 的说明将 CUDA 库从版本 10.2 更新到 11.0这里。
GPU 被正确识别为:
$ lspci | grep -i "nvidia"
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1ed0 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1)
01:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
$ nvidia-smi
Mon Jun 8 18:14:57 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.36.06 Driver Version: 450.36.06 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| 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 GeForce RTX 2080 On | 00000000:01:00.0 Off | N/A |
| N/A 44C P8 4W / N/A | 118MiB / 7979MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2532 G /usr/lib/xorg/Xorg 39MiB |
| 0 N/A N/A 2934 G /usr/bin/gnome-shell 76MiB |
+-----------------------------------------------------------------------------+
但是,ubuntu-drivers-common 无法识别新的 nvidia-driver-450:
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001ED0sv00001028sd000008C4bc03sc00i00
vendor : NVIDIA Corporation
manual_install: True
driver : nvidia-driver-435 - distro non-free
driver : nvidia-driver-440 - third-party free recommended
driver : nvidia-driver-418 - third-party free
driver : nvidia-driver-430 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
我想知道为什么会这样?你知道吗?
谢谢。
答案1
该ubuntu-drivers
实用程序应该显示 Ubuntu 提供的驱动程序。
显示manual_install: True
。这意味着您有一个手动安装的驱动程序。这似乎确实是真的 ;-)
我没有发现任何问题。