How to install a driver on a 5.11 kernel?
5.4 works.
Proxmox 7. Kernel 5.11. PRIMERGY RX2540 M5. RTX 6000
# uname -a
Linux omega 5.11.22-3-pve #1 SMP PVE 5.11.22-6 (Wed, 28 Jul 2021 10:51:12 +0200) x86_64 GNU/Linux#
# lspci -nn | grep NVID
18:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] [10de:1e30] (rev a1)
# bash NVIDIA-Linux-x86_64-460.91.03-vgpu-kvm.run
# dkms status
nvidia, 460.91.03: added
# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
-------
Proxmox 7. Kernel 5.4
# uname -a
Linux omega 5.4.128-1-pve #1 SMP PVE 5.4.128-1 (Wed, 21 Jul 2021 18:32:02 +0200) x86_64 GNU/Linux
# lspci -nn | grep NVID
18:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] [10de:1e30] (rev a1)
# bash NVIDIA-Linux-x86_64-460.91.03-vgpu-kvm.run
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 460.91.03) is now complete.
# nvidia-smi
Tue Aug 10 21:33:50 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03 Driver Version: 460.91.03 CUDA Version: N/A |
|-------------------------------+----------------------+----------------------+
| 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 RTX 6000 Off | 00000000:18:00.0 Off | Off |
| 33% 41C P0 77W / 260W | 159MiB / 24575MiB | 0% Default |
| | | N/A |
5.4 works.
Proxmox 7. Kernel 5.11. PRIMERGY RX2540 M5. RTX 6000
# uname -a
Linux omega 5.11.22-3-pve #1 SMP PVE 5.11.22-6 (Wed, 28 Jul 2021 10:51:12 +0200) x86_64 GNU/Linux#
# lspci -nn | grep NVID
18:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] [10de:1e30] (rev a1)
# bash NVIDIA-Linux-x86_64-460.91.03-vgpu-kvm.run
# dkms status
nvidia, 460.91.03: added
# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
-------
Proxmox 7. Kernel 5.4
# uname -a
Linux omega 5.4.128-1-pve #1 SMP PVE 5.4.128-1 (Wed, 21 Jul 2021 18:32:02 +0200) x86_64 GNU/Linux
# lspci -nn | grep NVID
18:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] [10de:1e30] (rev a1)
# bash NVIDIA-Linux-x86_64-460.91.03-vgpu-kvm.run
Code:
The CC version check failed:
The kernel was built with gcc version 8.3.0 (Debian 8.3.0-6), but the current compiler version is cc (Debian
10.2.1-6) 10.2.1 20210110.
This may lead to subtle problems; if you are not certain whether the mismatched compiler will be compatible
with your kernel, you may wish to abort installation, set the CC environment variable to the name of the
compiler used to compile your kernel, and restart installation.
Ignore CC version check OK
Code:
WARNING: Ignoring CC version mismatch:
The kernel was built with gcc version 8.3.0 (Debian 8.3.0-6), but the current compiler version is cc
(Debian 10.2.1-6) 10.2.1 20210110.
OK
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 460.91.03) is now complete.
# nvidia-smi
Tue Aug 10 21:33:50 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.91.03 Driver Version: 460.91.03 CUDA Version: N/A |
|-------------------------------+----------------------+----------------------+
| 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 RTX 6000 Off | 00000000:18:00.0 Off | Off |
| 33% 41C P0 77W / 260W | 159MiB / 24575MiB | 0% Default |
| | | N/A |
Attachments
-
dkms001.png49.1 KB · Views: 43
-
dkms002.png21.8 KB · Views: 35
-
dkms003.png24.3 KB · Views: 30
-
driver001.png18.1 KB · Views: 26
-
driver002.png23.5 KB · Views: 24
-
driver003.png14.5 KB · Views: 21
-
driver004.png24.2 KB · Views: 25
-
make.log9.7 KB · Views: 4
-
nvidia-installer.log38.2 KB · Views: 3
-
1628620228253.png27.2 KB · Views: 34
Last edited: