<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I'm rather happy with 2x 280x's. Hopefully i can use linux virtualization for convinence gaming and reboot into a windows partition when i want insane crossfire graphics. <br><br>To be honest i'm a noob at this and i don't really know what the hell i'm doing. I'm mostly following the arch wiki guide <a href="https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF" target="_blank">https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF</a>  Because /dev/vfios/17 did not exist I decided to reinstall arch and restart the process from scratch, roughly documenting my steps. Here's what i did. <br><br>installed qemu and rpmextract<br>extracted the gerd hoffmons eufi and moved it to /usr/share<br>downloaded libvirt <br>enabled libvirt and start it<br>installed ebtables dnsmasq  bridge-utils and bsd-netcat<br>added amd_iommu=on to /etc/default/grub, regenerated grub and rebuilt mkinitpcio<br>added modprobe vfio-pci <br>ran mkinitpcio<br>/etc/libvirt/qemu.conf added root permissions + /dev/vfio/17<br>created raw file for emulated hdd<br>installed virt-manager<br>sudo cp /usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd /usr/share/ovmf/OVMF-win10.fd #pointless?<br>sudo ln -s /usr/share/ovmf/OVMF-win10.fd /usr/share/ovmf/OVMF-win10.fd                      #pointless<br>added uefi into in the os section of my xml file:<br>       <loader readonly='yes' type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader><br>       <nvram template='/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd'/><br>installed windows 10<br>installed radeon drivers<br>added target pci (gpu) from virt-manager gui <br><br>When i add the my gpu  the uefi is delayed and booting windows 10 takes forever. There are lots of artifacts and it lags to the point of being completely unusable.  I've tried adding my card via virt-manager gui and via the (depreciated?)<qemu:commandline>. Both have the same effect. <br><br>Here's my xml virt config file <a href="http://pastebin.com/sNxvXiQ6" target="_blank">http://pastebin.com/sNxvXiQ6</a><br><br><br><br><div><hr id="stopSpelling">Date: Mon, 28 Sep 2015 09:40:22 -0600<br>Subject: Re: [vfio-users] amd gpu not being seen<br>From: alex.l.williamson@gmail.com<br>To: chimmychainsaw@hotmail.com<br>CC: vfio-users@redhat.com<br><br><div dir="ltr"><div class="ecxgmail_extra"><div class="ecxgmail_quote">On Mon, Sep 28, 2015 at 9:12 AM, Ryan Clawfish <span dir="ltr"><<a href="mailto:chimmychainsaw@hotmail.com" target="_blank">chimmychainsaw@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">


<div><div dir="ltr">


<div dir="ltr">


<div dir="ltr">My main issue is i keep getting an error saying "failed to get group 17" and "/dev/vfio/17 does not exist."  If i ls -a my /dev , i see /dev/vfio does not exist. I created it using mkdir, chmod 666 it and added it in /etc/libvirt/qemu.conf but the error persists. </div></div></div></div></blockquote><div><br></div><div>So all along, you've probably been trying to use legacy KVM device assignment, which led too the Code 43 with the GeForce card.  Too bad, IMHO, the 770 was a better card.  vfio has been the default for PCI hostdev devices since libvirt 1.1.3 and /dev/vfio/ should be present even before vfio is load since kernel v3.14.  Are you even building vfio support into your kernel?</div></div></div></div></div>                                      </div></body>
</html>