Hi, I would be really thankful if someone could help me out a bit, as I’m not able to find what’s causing the problem with my passthrough. The VM is running properly using the host display in virt-manager and seems to run, when using the passed PCI Devices, yet I don’t get any output on the card.
I followed these guides:
- http://mathiashueber.com/amd-ryzen-based-passthrough-setup-between-xubuntu-16-04-and-windows-10/#
- https://www.youtube.com/watch?v=6FI31QDtyy4
Hardware
- Ryzen 2600
- Gigabyte AB-B350 Gaming
- Guest GPU: AMD Radeon RX580
- Host GPU: Nvidia GT710
- 16GB RAM
- Arch Linux
Output for "dmesg |grep -e DMAR -e IOMMU"
[ 0.604144] AMD-Vi: IOMMU performance counters supported
[ 0.605912] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[ 0.607310] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
Output for lspci -nnv
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580]
[1002:67df] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Ellesmere [Radeon RX 470/480/570/580] [1462:3418]
Flags: bus master, fast devsel, latency 0, IRQ 76
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at f7900000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at f7940000 [disabled] [size=128K]
Capabilities: <access denied>
**Kernel driver in use: vfio-pci**
Kernel modules: amdgpu
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580] [1002:aaf0]
Subsystem: Micro-Star International Co., Ltd. [MSI] Ellesmere [Radeon RX 580] [1462:aaf0]
Flags: bus master, fast devsel, latency 0, IRQ 77
Memory at f7960000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
**Kernel driver in use: vfio-pci**
Kernel modules: snd_hda_intel
IOMMU Groups
These are my IOMMU-Groups. As the Card I’m trying to pass through seems to be isolated in Group 13, I didn’t apply the ACS patch.
VM Configuration
- Emulator: qemu-system-x86_64
- Firmware: UEFI
- Chipset: i440FX
- CPU: Copy host CPU configuration
- Every Default Display Module deleted
- Added the 2 580-related Devices
I have trouble deducing what the problem could be, as the card seems to be isolated properly and the VM seems to be set up correctly. If someone could help me troubleshooting I would be very thankful.