Hi guys, after updating to linux 5.0 i’ve been having some problems with my GPU passthrough setup.
Before starting here’s the specs of my setup.
OS: Arch Linux
Kernel Version: 5.0.2-arch1-1-ARCH
Kernel flags:
modprobe.blacklist=speck intel_iommu=on,igfx_off iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.allow_unsafe_assigned_interrupts=1 kvm.ignore_msrs=1
Kernel modules:
MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd i915 amdgpu radeon)
CPU: i5-4690K
RAM: 16gb DDR3 @ 1600Mhz
Host GPU: HD4600
Guest GPU: MSI RX480 8gb
On Linux 4.19 everything was working fine, after shutting down the VM the gpu was correctly rebinded to the AMDGPU driver and i could use it to play games via PRIME gpu offloading. I had a weird issue with the suspension/sleep that didn’t work and the system would hang during poweroff and resulting in a kernel panic, but for my standards it was (sort of) ok.
After updating to Linux 5.0 i noticed that after shutting down the vm the guest os becomes unresponsive and requires a forced power off. Is this the AMDGPU reset bug that everyone is talking about? Should i rollback to a pre 5.0 version of the kernel?
Here’s my journalctl log if that can help: Pastebin