I had a working passthrough using my old GPU (Nvidia GTX 970) but after upgrading to an AMD GPU I can't seem to get it working. I may have missed something obvious after making so many unnecessary changes to my configuration trying to get this to work. I've trimmed the fat since.
I'm currently using PVE 8, Kernel 6.2.16-5-pve
/etc/default/grub
/etc/modules
lspci -nnk
(Full output at the end if needed)
/etc/modprobe.d/vfio.conf
/etc/pve/qemu-server/141.conf
I don't currently have anything blacklisted.
I'm mostly uncertain about "Navi 10 XL Upstream/Downstream Port of PCI Express Switch" since I don't remember Nvidia having anything similar. This card also has 4 devices (video, audio, USB, serial) instead of the 2 I've seen previously (video and audio) so I don't know if that could be causing an issue.
My results are Windows 10 fails to boot and enters a repair mode before eventually shutting down. At least, if I set the display to default and view noVNC that's what I see. Normally I try to rdp into Windows when I have the display set to none, but Windows doesn't boot so I can't connect.
Please let me know if I can provide any more info. Hopefully I just made a silly mistake somewhere. Thanks.
lspci -nnk
I'm currently using PVE 8, Kernel 6.2.16-5-pve
/etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
/etc/modules
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
lspci -nnk
Code:
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev 10)
Kernel driver in use: pcieport
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] (rev 10)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
Kernel driver in use: pcieport
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:0e3b]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab30]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab30]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7446]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7446]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.3 Serial bus controller [0c80]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7444]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:0408]
Kernel driver in use: i2c-designware-pci
Kernel modules: i2c_designware_pci
/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=1002:744c,1002:ab30,1002:7446,1002:7444 disable_vga=1
/etc/pve/qemu-server/141.conf
Code:
affinity: 0-7
balloon: 16384
bios: ovmf
boot: order=ide2;scsi0;net0
cores: 8
cpu: host
cpuunits: 1000
efidisk0: local-lvm:vm-141-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:03:00,pcie=1
ide2: none,media=cdrom
machine: pc-q35-8.0
memory: 32768
meta: creation-qemu=8.0.2,ctime=1690765557
name: Winizar-xtx
net0: virtio=46:F5:3D:F2:D8:1D,bridge=vmbr0,firewall=1
numa: 1
ostype: win10
scsi0: local-lvm:vm-141-disk-1,aio=native,cache=directsync,iothread=1,size=100G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=368678e1-1293-4f55-8c64-4c58fd8ca346
sockets: 1
tpmstate0: local-lvm:vm-141-disk-2,size=4M,version=v2.0
vga: none
vmgenid: 367c9da7-341e-4516-b28a-678e1d58c856
I don't currently have anything blacklisted.
I'm mostly uncertain about "Navi 10 XL Upstream/Downstream Port of PCI Express Switch" since I don't remember Nvidia having anything similar. This card also has 4 devices (video, audio, USB, serial) instead of the 2 I've seen previously (video and audio) so I don't know if that could be causing an issue.
My results are Windows 10 fails to boot and enters a repair mode before eventually shutting down. At least, if I set the display to default and view noVNC that's what I see. Normally I try to rdp into Windows when I have the display set to none, but Windows doesn't boot so I can't connect.
Please let me know if I can provide any more info. Hopefully I just made a silly mistake somewhere. Thanks.
lspci -nnk
Code:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14d8]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:14d9]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: pcieport
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
Subsystem: Device [7d69:1462]
Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
Subsystem: Device [7d69:1462]
Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH SMBus Controller [1462:7d69]
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
Subsystem: Micro-Star International Co., Ltd. [MSI] FCH LPC Bridge [1462:7d69]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e3]
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e7]
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev 10)
Kernel driver in use: pcieport
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] (rev 10)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
Kernel driver in use: pcieport
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:0e3b]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab30]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab30]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7446]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7446]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.3 Serial bus controller [0c80]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7444]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:0408]
Kernel driver in use: i2c-designware-pci
Kernel modules: i2c_designware_pci
04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f4] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
05:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
06:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. FURY Renegade NVMe SSD [2646:5013] (rev 01)
Subsystem: Kingston Technology Company, Inc. FURY Renegade NVMe SSD [2646:5013]
Kernel driver in use: nvme
Kernel modules: nvme
07:00.0 Ethernet controller [0200]: Aquantia Corp. AQC113CS NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:94c0] (rev 03)
Subsystem: Micro-Star International Co., Ltd. [MSI] AQC113CS NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1462:7d69]
Kernel driver in use: atlantic
Kernel modules: atlantic
09:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f4] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0a:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:3328]
Kernel driver in use: pcieport
0b:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. FURY Renegade NVMe SSD [2646:5013] (rev 01)
Subsystem: Kingston Technology Company, Inc. FURY Renegade NVMe SSD [2646:5013]
Kernel driver in use: nvme
Kernel modules: nvme
0c:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
Kernel driver in use: mt7921e
Kernel modules: mt7921e
0d:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:1060]
Kernel driver in use: ahci
Kernel modules: ahci
11:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1142]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
12:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1062]
Kernel driver in use: ahci
Kernel modules: ahci
13:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1142]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
14:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1062]
Kernel driver in use: ahci
Kernel modules: ahci
15:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:3241]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:4480]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
16:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9)
Subsystem: Micro-Star International Co., Ltd. [MSI] Raphael [1462:7d69]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
16:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Micro-Star International Co., Ltd. [MSI] Rembrandt Radeon High Definition Audio Controller [1462:7d69]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
16:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
Subsystem: Micro-Star International Co., Ltd. [MSI] VanGogh PSP/CCP [1462:7d69]
Kernel driver in use: ccp
Kernel modules: ccp
16:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b6]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
16:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b7]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
16:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
DeviceName: Realtek ALC1220
Subsystem: Micro-Star International Co., Ltd. [MSI] Family 17h/19h HD Audio Controller [1462:ed69]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
17:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d69]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci