[vfio-users] Radeon R9 290 passthrough to Win10 guest - bsod/reboot on driver install

Jonas Camillus Jeppesen jonascj at sdu.dk
Sun Apr 17 19:49:19 UTC 2016


Hello everyone

Anyone having Windows 10 guests with Radeon R9 290 passed through via 
VFIO, and if so, did you experience any problems installing drivers?

I have a R9290-DC2OC-4GD5 passed through to a Windows 10 guest (build 
10586.104, newest ISO from Microsoft.com), and at first glance 
everything seems fine. I get output on my R9 290 GPU when I start my 
guest, Windows 10 boots, I am able to login etc., but I am stuck with 
some built-in Microsoft display driver because the Win10 guest 
reboots/BSODs when I try to install the AMD drivers.

Device manager on the guest shows a "Video Controller (VGA Compatible)" 
and its VEN_ID and DEV_ID indicates that it is the AMD R9 GPU. 
Regardless of whether I go through AMD's driver installer, or if I 
right-click this device and update driver the guest reboots during the 
installation.

I have tried different AMD driver verisons, but you can only go so far 
back before it complains that the driver does not support this version 
of Windows (i.e. version <14 does not support Win10).

Any suggestions as to what I might try to resolve this, or anyone with 
similar problems?

Thank you for reading,
JonasCJ

- - - - - - - - - - - - -

My config / setup is this:

Arch Linux, kernel 4.5.0, unpatched
CPU: Intel i7-4770
Guest GPU: R9290-DC2OC-4GD5
Host GPU: Built-in Intel i7 gpu
Motherboard: ASROCK Z87M Extreme 4 (GPU in PCI-E port 4)

I assume the basics are working since I get output on my guest gpu and 
no immediate BSODs/reboots etc., but for the sake of completeness:

# lspci -nnk
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Hawaii PRO [Radeon R9 290] [1002:67b1]
         Subsystem: ASUSTeK Computer Inc. Device [1043:0470]
         Kernel driver in use: vfio-pci
         Kernel modules: radeon
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] 
Hawaii HDMI Audio [1002:aac8]
         Subsystem: ASUSTeK Computer Inc. Device [1043:aac8]
         Kernel driver in use: vfio-pci
         Kernel modules: snd_hda_intel


# IOMMU groups listed as described here: 
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Ensuring_that_the_groups_are_valid
IOMMU group 0
         00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core 
Processor DRAM Controller [8086:0c00] (rev 06)
IOMMU group 1
         00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 
v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
IOMMU group 2
         00:02.0 VGA compatible controller [0300]: Intel Corporation 
Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller 
[8086:0412] (rev 06)
IOMMU group 3
         00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 
v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
IOMMU group 4
         00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 
Series Chipset Family USB xHCI [8086:8c31] (rev 05)
IOMMU group 5
         00:16.0 Communication controller [0780]: Intel Corporation 8 
Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
IOMMU group 6
         00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet 
Connection I217-V [8086:153b] (rev 05)
IOMMU group 7
         00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 
Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
IOMMU group 8
         00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 
Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
IOMMU group 9
         00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 
Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
IOMMU group 10
         00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 
Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
IOMMU group 11
         00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series/C220 
Series Chipset Family PCI Express Root Port #5 [8086:8c18] (rev d5)
IOMMU group 12
         00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 
Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
IOMMU group 13
         00:1f.0 ISA bridge [0601]: Intel Corporation Z87 Express LPC 
Controller [8086:8c44] (rev 05)
         00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 
Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] 
(rev 05)
         00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series 
Chipset Family SMBus Controller [8086:8c22] (rev 05)
IOMMU group 14
         04:00.0 VGA compatible controller [0300]: Advanced Micro 
Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290] [1002:67b1]
         04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. 
[AMD/ATI] Hawaii HDMI Audio [1002:aac8]






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160417/7fb69314/attachment.htm>


More information about the vfio-users mailing list