<div dir="ltr"><div><div><div><div><div>Hello list<br><br></div>I've been looking for it, but I cannot find a solution to this problem. I have a working Windows 10 VM with UEFI boot, which I pass an AMD Radeon RX 480. It also worked with a NVIDIA GTX 550Ti I had before. The thing is, it only works with a QEMU 2.2 patched with the NoSnoop fix. With any later release of QEMU, or without the patch, the VM:<br></div>- Throws an Error 43 with the NVIDIA card.<br></div>- Goes black on boot and reboots some seconds later with the AMD card<br></div><div>The vfio FAQ says that patch is not needed with a later release of QEMU, so I'm wondering what I'm doing wrong...<br></div><div><br></div>My hardware is an Intel i5 2500, ASUS motherboard with a Z68 chipset, 16GB of RAM. Both graphics cards appear in their own iommu group with the HDMI sound card.<br><br></div>My QEMU command line is:<br><br clear="all"><div><div><div><div><div><div><div><div class="gmail_signature">src/qemu/build-2.2-NoSnoop/x86_64-softmmu/qemu-system-x86_64                                                                                                                        <br>        -nodefaults -no-user-config                                                                                                                  <br>        -enable-kvm -m 8192                                                                                                                      <br>        -cpu Opteron_G1,+cx16,+lahf_lm,kvm=off                                                                                                       <br>        -M q35                                                                                                                                       <br>        -smp 4,sockets=1,cores=4,threads=1<br>        -realtime mlock=on -rtc base=localtime,driftfix=slew<br>        -drive file="OVMF_CODE-pure-efi.fd",if=pflash,format=raw,unit=0,readonly=on<br>        -drive file="OVMF_VARS-pure-efi.fd",if=pflash,format=raw,unit=1<br>        -drive file="$HD",id=disk1,if=virtio,cache=none<br>        -netdev bridge,id=netuser,br=br0<br>        -device virtio-net-pci,netdev=netuser,id=net0,mac=52:54:00:72:75:9e<br>        -device ich9-intel-hda,id=sound0<br>        -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0<br>        -device ioh3420,bus=pcie.0,multifunction=on,port=1,chassis=1,id=root.0<br>        -usbdevice $JOYPAD                     <br>        -usbdevice $KEYBOARD<br>        -usbdevice $MOUSE                                                 <br>        -mem-path $MEM_PATH                                                    <br>        -nographic -vga none                           <br>        -device vfio-pci,host=01:00.0,id=hostdev0,bus=root.0,multifunction=on,x-vga=on<br>        -device vfio-pci,host=01:00.1,id=hostdev1,bus=pcie.0<br><br></div><div class="gmail_signature">I have tried, with the same results:<br></div><div class="gmail_signature">- Using the pc-i440fx machine<br></div><div class="gmail_signature">- Connecting the HDMI sound card to another bus<br></div><div class="gmail_signature">- Not connecting the HDMI sound card at all<br></div><div class="gmail_signature">- Using -cpu host (Windows 10 hangs with this configuration)<br></div><div class="gmail_signature">- Using -cpu core2duo<br><br></div><div class="gmail_signature">Any other idea?<br></div><div class="gmail_signature">Thank you<br></div><div class="gmail_signature"><br>Javi<br></div></div>
</div></div></div></div></div></div></div>