[vfio-users] GPU Pass Through with KVM

Chris Crutchfield clcrutch at cox.net
Mon Jul 17 04:25:57 UTC 2017


I have tried a few different distros (Ubuntu 16.04, Arch Linux, Fedora 25) and have been unsuccessful at getting my GPU to correctly passthrough.  I have been trying to use Windows 10 x64 1703 for my guest.  It runs correctly without my GPU connected to the VM, but typically, but not always, fails when the GPU is connected.

CPU: Intel I7 Skylake
GPU: AMD Radeon R9 380

Below are the results when I run “uname -r”
4.11.8-200.fc25.x86_64

Below are the results when I run “lspci -nnk”
00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:191f] (rev 07)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Root Port #17 [8086:a167] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a145] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:86c9]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device [1043:8672]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939] (rev f1)
	Subsystem: ASUSTeK Computer Inc. Device [1043:04e3]
	Kernel driver in use: vfio-pci
	Kernel modules: amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380] [1002:aad8]
	Subsystem: ASUSTeK Computer Inc. Device [1043:aad8]
	Kernel driver in use: vfio-pci
	Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller [0108]: Lite-On Technology Corporation M8Pe Series NVMe SSD [14a4:22f1] (rev 01)
	Subsystem: Marvell Technology Group Ltd. Device [1b4b:1093]
	Kernel driver in use: nvme
	Kernel modules: nvme
03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8675]
	Kernel driver in use: xhci_hcd

I know very little about KVM and am unsure about how to go about troubleshooting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170716/765b2a09/attachment.htm>


More information about the vfio-users mailing list