PVE 6.X upgrade 7.X GPU cannot be enabled hardware acceleration

love768952693

New Member
Jan 2, 2022
2
0
1
23
After upgrading to 7.X, GPU hardware acceleration cannot be enabled. I learned from BBS that the new kernel is upgraded, and the graphics card still cannot work.

The environment is as follows:

root@pve:~# pveversion -v proxmox-ve: 7.1-1 (running kernel: 5.15.7-1-pve) pve-manager: 7.1-8 (running version: 7.1-8/5b267f33) pve-kernel-5.15: 7.1-7 pve-kernel-helper: 7.1-6 pve-kernel-5.13: 7.1-5 pve-kernel-5.15.7-1-pve: 5.15.7-1 pve-kernel-5.13.19-2-pve: 5.13.19-4 ceph-fuse: 14.2.21-1 corosync: 3.1.5-pve2 criu: 3.15-1+pve-1 glusterfs-client: 9.2-1 ifupdown: 0.8.36+pve1 ksm-control-daemon: 1.4-1 libjs-extjs: 7.0.0-1 libknet1: 1.22-pve2 libproxmox-acme-perl: 1.4.0 libproxmox-backup-qemu0: 1.2.0-1 libpve-access-control: 7.1-5 libpve-apiclient-perl: 3.2-1 libpve-common-perl: 7.0-14 libpve-guest-common-perl: 4.0-3 libpve-http-server-perl: 4.0-4 libpve-storage-perl: 7.0-15 libqb0: 1.0.5-1 libspice-server1: 0.14.3-2.1 lvm2: 2.03.11-2.1 lxc-pve: 4.0.11-1 lxcfs: 4.0.11-pve1 novnc-pve: 1.3.0-1 proxmox-backup-client: 2.1.2-1 proxmox-backup-file-restore: 2.1.2-1 proxmox-mini-journalreader: 1.3-1 proxmox-widget-toolkit: 3.4-4 pve-cluster: 7.1-3 pve-container: 4.1-3 pve-docs: 7.1-2 pve-edk2-firmware: 3.20210831-2 pve-firewall: 4.2-5 pve-firmware: 3.3-4 pve-ha-manager: 3.3-1 pve-i18n: 2.6-2 pve-qemu-kvm: 6.1.0-3 pve-xtermjs: 4.12.0-1 qemu-server: 7.1-4 smartmontools: 7.2-pve2 spiceterm: 3.2-2 swtpm: 0.7.0~rc1+2 vncterm: 1.7-1 zfsutils-linux: 2.1.1-pve3 root@pve:~# lspci -v [FONT=Open Sans]00:02.0 VGA compatible controller: Intel Corporation Device 5906 (rev 02) (prog-if 00 [VGA controller])[/FONT] DeviceName: Onboard - Video Subsystem: Intel Corporation Device 2212 Flags: fast devsel, IRQ 16, IOMMU group 1 Memory at de000000 (64-bit, non-prefetchable) [size=16M] Memory at c0000000 (64-bit, prefetchable) [size=256M] I/O ports at f000 Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [100] Process Address Space ID (PASID) Capabilities: [200] Address Translation Service (ATS) Capabilities: [300] Page Request Interface (PRI) Kernel driver in use: vfio-pci Kernel modules: i915 root@pve:~# dmesg [ 92.717431] DMAR: DRHD: handling fault status reg 3 [ 92.717508] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e00a000 [fault reason 0x05] PTE Write access is not set [ 92.717608] DMAR: DRHD: handling fault status reg 3 [ 92.717679] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e00d000 [fault reason 0x05] PTE Write access is not set [ 92.717992] DMAR: DRHD: handling fault status reg 3 [ 92.718066] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e002000 [fault reason 0x05] PTE Write access is not set [ 92.718218] DMAR: DRHD: handling fault status reg 3 [ 97.713080] dmar_fault: 100850 callbacks suppressed [ 97.713084] DMAR: DRHD: handling fault status reg 3 [ 97.713159] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e0f7000 [fault reason 0x05] PTE Write access is not set [ 97.713277] DMAR: DRHD: handling fault status reg 3 [ 97.713367] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e0f7000 [fault reason 0x05] PTE Write access is not set [ 97.713532] DMAR: DRHD: handling fault status reg 3 [ 97.713624] DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x8e0f7000 [fault reason 0x05] PTE Write access is not set [ 97.713832] DMAR: DRHD: handling fault status reg 3[/FONT]
 
Last edited:
I'm not sure if you are trying to use an nvidia card, but I had no luck getting dkms to build/install nvidia modules into any 5.15.x kernel versions. If you are trying to use an nvidia card, I'd suggest going with 5.13 but also 5.13.19-2-pve has some bugs. I've been running the 5.13.19-1-pve kernel with the latest proxmox software without issues and passing my nvidia card through to containers.