[vfio-users] amd gpu not being seen

Blank Field ihatethisfield at gmail.com
Tue Sep 29 04:46:23 UTC 2015


Your attached XML file lacks the most important part: <hostdev> entries
with your GPUs.
Tell us about your CPU-MB combo and do lspci -nn and find all your needed
devices in their respective iommu groups. And it would be good to see your
dmesg, maybe you've forgot to blacklist some driver or something else
tampers with VGA somehow.

Also, on my 2xHD7750 crossfire works flawlessly. They don't need a bridge
to interconnect, but your cards might need it.
On Sep 29, 2015 4:26 AM, "Ryan Clawfish" <chimmychainsaw at hotmail.com> wrote:

> 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.
>
> 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
> https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF  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.
>
> installed qemu and rpmextract
> extracted the gerd hoffmons eufi and moved it to /usr/share
> downloaded libvirt
> enabled libvirt and start it
> installed ebtables dnsmasq  bridge-utils and bsd-netcat
> added amd_iommu=on to /etc/default/grub, regenerated grub and rebuilt
> mkinitpcio
> added modprobe vfio-pci
> ran mkinitpcio
> /etc/libvirt/qemu.conf added root permissions + /dev/vfio/17
> created raw file for emulated hdd
> installed virt-manager
> sudo cp /usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd
> /usr/share/ovmf/OVMF-win10.fd #pointless?
> sudo ln -s /usr/share/ovmf/OVMF-win10.fd
> /usr/share/ovmf/OVMF-win10.fd                      #pointless
> added uefi into in the os section of my xml file:
>        <loader readonly='yes'
> type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
>        <nvram
> template='/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd'/>
> installed windows 10
> installed radeon drivers
> added target pci (gpu) from virt-manager gui
>
> 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.
>
> Here's my xml virt config file http://pastebin.com/sNxvXiQ6
>
>
>
> ------------------------------
> Date: Mon, 28 Sep 2015 09:40:22 -0600
> Subject: Re: [vfio-users] amd gpu not being seen
> From: alex.l.williamson at gmail.com
> To: chimmychainsaw at hotmail.com
> CC: vfio-users at redhat.com
>
> On Mon, Sep 28, 2015 at 9:12 AM, Ryan Clawfish <chimmychainsaw at hotmail.com
> > wrote:
>
> 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.
>
>
> 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?
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150929/153975d8/attachment.htm>


More information about the vfio-users mailing list