I feel like I've tried most PCI passthrough guides now, with dwindling luck. My setup is this:
CPU: AMD Ryzen 7 7700X
Motherboard: ASUS PRIME B650M-A WIFI
GPU: ASUS Dual Radeon RX 7600 V2 OC
After giving up on Windows as a VM for remote gaming and other GPU-heavy stuff, I supposed I'd try my luck on Linux instead, but the problem is currently exactly the same, setup and booting without the GPU passed through works great, but as soon as it boots with PCI passthrough I get this error:
Some potentially relevant outputs, if anyone can give any pointers:
CPU: AMD Ryzen 7 7700X
Motherboard: ASUS PRIME B650M-A WIFI
GPU: ASUS Dual Radeon RX 7600 V2 OC
After giving up on Windows as a VM for remote gaming and other GPU-heavy stuff, I supposed I'd try my luck on Linux instead, but the problem is currently exactly the same, setup and booting without the GPU passed through works great, but as soon as it boots with PCI passthrough I get this error:
Code:
TASK ERROR: start failed: QEMU exited with code 1
Some potentially relevant outputs, if anyone can give any pointers:
/etc/modules
:
Code:
vfio
vfio_iommu_type1
vfio_pci
/proc/cmdline
:
Code:
initrd=\EFI\proxmox\6.5.13-3-pve\initrd.img-6.5.13-3-pve root=ZFS=rpool/ROOT/pve-1 boot=zfs
/etc/kernel/cmdline
:
Code:
root=ZFS=rpool/ROOT/pve-1 boot=zfs
lspci -nnk
(relevant output only):
Code:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7700S/7600S] [1002:7480] (rev cf)
Subsystem: ASUSTeK Computer Inc. Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] [1043:05fb]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio [1002:ab30]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio [1002:ab30]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
qm config 119
:
Code:
boot: order=scsi0;ide2;net0
cores: 7
cpu: x86-64-v2-AES
hostpci0: 0000:03:00.0,pcie=1
ide2: none,media=cdrom
machine: q35
memory: 16000
meta: creation-qemu=9.0.0,ctime=1719906357
name: gaming
net0: virtio=BC:24:11:52:32:F3,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: div:119/vm-119-disk-0.qcow2,iothread=1,size=350G
scsihw: virtio-scsi-single
smbios1: uuid=85afa764-7024-467f-8231-d39ab31248b1
sockets: 2
vmgenid: feaac97c-fab0-4f14-bb12-d1e6dadc5ee7