[vfio-users] Guest freezes upon GPU passthrough

arch user archuser at gmx.com
Tue Nov 10 21:40:49 UTC 2015


Hi,
 
I've recently assembled a skylake system (i5 6400, AMD R9 380 [Tonga PRO], Gigabyte H170N), hoping to be able to use VFIO for PCI passthrough of the discrete graphics card to a Windows guest. I'm using qemu 2.4.1 on top of a bare Arch Linux instal; Windows 10 is installed as a KVM guest, using the UEFI images from [1].
 
After initial installation using the QXL video driver, I've swapped it for the AMD card. The guest boots without issues (aside from color corruption on HDMI output, which I assume has something to do with non-1080p output). However, roughly thirty seconds after initial bootup (guest is at the desktop) the guest appears to freeze (HDMI output drops, network connections disconnect). According to qemu metrics one guest core is pegged at 100% as it occurs.
 
Interestingly, forcefully shutting down the guest and attempting to boot it again immediately puts it into the 'core pegged at 100%' state, without ever showing any sign of life.
 
I've found a thread detailingr recent issues on Arch [2], but I don't experience slowdowns, just a full lockup. Similarly, the bug at [3] doesn't seem to be related either (temporarily assigned 2 GB to the guest just to be sure).
 
Neither kernel 4.1.10, nor 4.2.5 works. Kernel and qemu logs show no interesting leads - qemu startup info and relevant dmesg entries +  lspci/iommu is attached.
 
Any ideas on how to debug this?
 
[1]: https://www.kraxel.org/repos/jenkins/edk2/
[2]: https://bbs.archlinux.org/viewtopic.php?id=203240
[3]: https://bugzilla.kernel.org/show_bug.cgi?id=107561
 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qemu_info.txt
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151110/fab9522f/attachment.txt>


More information about the vfio-users mailing list