<div dir="ltr">Try using i440fx instead of Q35 if you're using OVMF.<div>Also, GPU rom file only needed that Host can't catch correct VBIOS information, so try to remove romfile sign and boot again.</div><div><br></div><div>And.....</div><div><br></div><div><font face="monospace, monospace"><span style="font-size:14px">/sys/kernel/iommu_groups/1/</span><span style="font-size:14px">devices/0000:00:01.0</span><br style="font-size:14px"><span style="font-size:14px">/sys/kernel/iommu_groups/1/</span><span style="font-size:14px">devices/0000:01:00.0</span><br style="font-size:14px"><span style="font-size:14px">/sys/kernel/iommu_groups/1/</span><span style="font-size:14px">devices/0000:01:00.1</span></font><br></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">It looks like your R9 285 didn't have IOMMU group isolated, did you add acs_override or sth in GRUB?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-02 4:29 GMT+08:00 S B <span dir="ltr"><<a href="mailto:sb9sb0@gmail.com" target="_blank">sb9sb0@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Good morning,<br><br>I installed Win 8.1 as guest and it is working fine. It starts fine after guest reboot and guest poweroff, but when I install the AMD Crimson driver in the guest, the VM is only booting the first time after host boot. The second time I start the VM my monitor stays black/off no matter what I boot (with or without driver).<br><br>I have a MSI Z77G45 with an Intel i7-2600 and a AMD R9 285. I use the IGD for the host and the AMD card for the guest.<br>As host I use Arch Linux and as Guest Windows 8.1. I blacklisted amdgpu and radeon, I load vfio-pci with options vfio-pci ids=1002:6939,1002:aad8. I tried it with 4.3.3-2-ARCH and 4.1.15-1-ARCH kernels, but both have the same behavior.<br><br>I installed Windows 8.1 in UEFI/OVMF mode. I got the uefi files from <a href="https://www.kraxel.org/repos/jenkins/edk2/" target="_blank">https://www.kraxel.org/repos/jenkins/edk2/</a><br><br>I use this qemu command:<br>/usr/bin/qemu-system-x86_64 <br>    -enable-kvm -M q35 -cpu host,kvm=off -smp 3,sockets=1,cores=3,threads=1 -m 4096   <br>    -serial none -parallel none -name Wingame -rtc base=localtime -vga none -nographic -display none <br>    -device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 <br>    -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 <br>    -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 <br>    -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,romfile=/root/qemu/rom/amd285.rom <br>    -device vfio-pci,host=01:00.1,bus=root.1,addr=00.1 <br>    -drive if=pflash,format=raw,readonly,file=/root/qemu/win10/OVMF_CODE-pure-efi.fd <br>    -drive if=pflash,format=raw,file=/root/qemu/win10/my_vars.fd <br>    -readconfig /root/qemu/config/ich9-ehci-uhci.cfg <br>    -device usb-host,vendorid=0x0079,productid=0x0006 <br>    -device usb-host,vendorid=0x045e,productid=0x028e <br>    -device usb-host,vendorid=0x062a,productid=0x0252 <br>    -device usb-host,vendorid=0x04f3,productid=0x0103   <br>    -drive file=/root/qemu/win10/win10.qcow2,id=win,format=qcow2,if=none <br>    -device ide-hd,bus=ide.0,drive=win  <br>    -boot c<br><br><br>What am I doing wrong? I thought, this would only appear with VGA, not OVMF.<br>Are there any information missing?<br><br>Regards<br><br><br></div>lspci:<br>00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)<br>00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)<br>00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)<br>00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)<br>00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)<br>00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)<br>00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)<br>00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)<br>00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)<br>00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)<br>00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)<br>00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)<br>00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)<br>00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)<br>01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380]<br>01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aad8<br>03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)<br>04:00.0 Audio device: Creative Labs EMU20k2 [X-Fi Titanium Series] (rev 03)<br><br><br><br>find /sys/kernel/iommu_groups/ -type l<br>/sys/kernel/iommu_groups/0/devices/0000:00:00.0<br>/sys/kernel/iommu_groups/1/devices/0000:00:01.0<br>/sys/kernel/iommu_groups/1/devices/0000:01:00.0<br>/sys/kernel/iommu_groups/1/devices/0000:01:00.1<br>/sys/kernel/iommu_groups/2/devices/0000:00:02.0<br>/sys/kernel/iommu_groups/3/devices/0000:00:14.0<br>/sys/kernel/iommu_groups/4/devices/0000:00:16.0<br>/sys/kernel/iommu_groups/5/devices/0000:00:1a.0<br>/sys/kernel/iommu_groups/6/devices/0000:00:1b.0<br>/sys/kernel/iommu_groups/7/devices/0000:00:1c.0<br>/sys/kernel/iommu_groups/8/devices/0000:00:1c.1<br>/sys/kernel/iommu_groups/9/devices/0000:00:1c.2<br>/sys/kernel/iommu_groups/10/devices/0000:00:1d.0<br>/sys/kernel/iommu_groups/11/devices/0000:00:1f.0<br>/sys/kernel/iommu_groups/11/devices/0000:00:1f.2<br>/sys/kernel/iommu_groups/11/devices/0000:00:1f.3<br>/sys/kernel/iommu_groups/12/devices/0000:03:00.0<br>/sys/kernel/iommu_groups/13/devices/0000:04:00.0<br></div>
<br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>