<div dir="ltr">Have you tried a BIOS install and setting x-vga=on? With my 480, there is no UEFI image or it got corrupted somehow, so I need to pass a UEFI vbios I downloaded to see the screen if I use UEFI. With BIOS, x-vga=on works.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 29, 2017 at 2:55 PM, Javier Celaya <span dir="ltr"><<a href="mailto:jcelaya@gmail.com" target="_blank">jcelaya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="m_-8679224446955885221gmail_signature">src/qemu/build-2.2-NoSnoop/<wbr>x86_64-softmmu/qemu-system-<wbr>x86_64                        <wbr>                              <wbr>                              <wbr>                              <wbr>      <br>        -nodefaults -no-user-config               <wbr>                              <wbr>                              <wbr>                              <wbr>         <br>        -enable-kvm -m 8192                               <wbr>                              <wbr>                              <wbr>                           <br>        -cpu Opteron_G1,+cx16,+lahf_lm,kvm=<wbr>off                           <wbr>                              <wbr>                              <wbr>                <br>        -M q35                           <wbr>                              <wbr>                              <wbr>                              <wbr>                  <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",<wbr>if=pflash,format=raw,unit=0,<wbr>readonly=on<br>        -drive file="OVMF_VARS-pure-efi.fd",<wbr>if=pflash,format=raw,unit=1<br>        -drive file="$HD",id=disk1,if=virtio,<wbr>cache=none<br>        -netdev bridge,id=netuser,br=br0<br>        -device virtio-net-pci,netdev=netuser,<wbr>id=net0,mac=52:54:00:72:75:9e<br>        -device ich9-intel-hda,id=sound0<br>        -device hda-duplex,id=sound0-codec0,<wbr>bus=sound0.0,cad=0<br>        -device ioh3420,bus=pcie.0,<wbr>multifunction=on,port=1,<wbr>chassis=1,id=root.0<br>        -usbdevice $JOYPAD                     <br>        -usbdevice $KEYBOARD<br>        -usbdevice $MOUSE                        <wbr>                         <br>        -mem-path $MEM_PATH                     <wbr>                               <br>        -nographic -vga none                           <br>        -device vfio-pci,host=01:00.0,id=<wbr>hostdev0,bus=root.0,<wbr>multifunction=on,x-vga=on<br>        -device vfio-pci,host=01:00.1,id=<wbr>hostdev1,bus=pcie.0<br><br></div><div class="m_-8679224446955885221gmail_signature">I have tried, with the same results:<br></div><div class="m_-8679224446955885221gmail_signature">- Using the pc-i440fx machine<br></div><div class="m_-8679224446955885221gmail_signature">- Connecting the HDMI sound card to another bus<br></div><div class="m_-8679224446955885221gmail_signature">- Not connecting the HDMI sound card at all<br></div><div class="m_-8679224446955885221gmail_signature">- Using -cpu host (Windows 10 hangs with this configuration)<br></div><div class="m_-8679224446955885221gmail_signature">- Using -cpu core2duo<br><br></div><div class="m_-8679224446955885221gmail_signature">Any other idea?<br></div><div class="m_-8679224446955885221gmail_signature">Thank you<br></div><div class="m_-8679224446955885221gmail_signature"><br>Javi<br></div></div>
</div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>