GPU Passthrough does not work after yum update.

Issues related to applications and software problems and general support
Post Reply
wennmbj
Posts: 1
Joined: 2020/01/20 17:17:04

GPU Passthrough does not work after yum update.

Post by wennmbj » 2020/01/20 17:26:58

Hello together,

I did a setup to passthrough my VGA on my Centos 8 machine according: https://www.server-world.info/en/note?o ... p=kvm&f=12

Everything was working fine until I updated my machine by yum update.
Now I am getting the error meassage:
qemu unexpectedly closed the monitor: 2020-01-20T17:10:21.555493Z qemu-kvm: -device vfio-pci,host=06:00.0,id=hostdev1,bus=pci.3,addr=0x0: vfio error: 0000:06:00.0: failed to setup container for group 20: No available IOMMU models

My IOMMU settings seems ok:
dmesg | grep -E "DMAR|IOMMU"
[ 0.979671] AMD-Vi: IOMMU performance counters supported
[ 0.981775] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[ 0.982231] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 2.508170] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>

dmesg | grep -i vfio
[ 1.963768] VFIO - User Level meta-driver version: 0.3
[ 1.971036] vfio-pci 0000:06:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 1.984129] vfio_pci: add [1002:6995[ffff:ffff]] class 0x000000/00000000
[ 1.996021] vfio_pci: add [1002:aae0[ffff:ffff]] class 0x000000/00000000

lspci -nn | grep -i AMD
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467]
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 2100] [1002:6995]
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]

07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function [1022:145a]
07:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]

Thanks for your help!

Post Reply