I recently got a 2nd GPU (AMD Mi50) and added it to my system. The device show up in its own IOMMU group but when I add it to a VM the whole system locks up and I have to do a hard power down to get everything to work properly. My other GPU seems to work just fine (nVidia GTX 1650)
here is the output of lspci -nnk
here is my vm config file
here is the output of lspci -nnk
Code:
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:66af] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:081e]
Kernel modules: amdgpu
09:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650] [10de:2188] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 [GeForce GTX 1650] [1462:8d97]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
09:00.1 Audio device [0403]: NVIDIA Corporation TU116 High Definition Audio Controller [10de:1aeb] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 High Definition Audio Controller [1462:8d97]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
09:00.2 USB controller [0c03]: NVIDIA Corporation TU116 USB 3.1 Host Controller [10de:1aec] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB 3.1 Host Controller [1462:8d97]
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
09:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller [10de:1aed] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] TU116 USB Type-C UCSI Controller [1462:8d97]
Kernel driver in use: vfio-pci
Kernel modules: i2c_nvidia_gpu
here is my vm config file
Code:
bios: ovmf
boot: order=scsi0;net0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local:103/vm-103-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:08:00,x-vga=1
memory: 8192
meta: creation-qemu=9.0.2,ctime=1739588171
name: AI
net0: virtio=BC:24:11:7D:F7:CB,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local:103/vm-103-disk-1.qcow2,iothread=1,size=200G
scsihw: virtio-scsi-single
smbios1: uuid=fbe7c13f-a6c9-420f-b322-7111e71f474d
sockets: 1
vmgenid: e3bcbfd8-6c5b-44f3-991f-86b4fa12da70