On Tue, 2017-02-28 at 01:45 -0300, guidu...@gmail.com wrote: > Arjen, you are a genius! That was the missing piece. I searched a lot > in the internet and never come across this tip. I will update and > close > the ticket on launchpad so this can hopefully be seen by more people > having the same problem. > > Thank you very much for sharing! > Glad to be of help.
Please note that (at least for me) adding the conf file disables Wayland sessions in Gnome. And Xorg won't start without the passthrough card. I haven't been able to hide the virtual VGA from Xorg. If anyone knows a good solution for this, I'm all ears. But I guess this is more of a Xorg config issue than a VFIO passthrough thing. > > On Sun, 2017-02-26 at 16:03 +0100, Arjen wrote: > > On Sun, 2017-02-26 at 11:43 -0300, guidu...@gmail.com wrote: > > > Thank you for your reply. > > > > > > I have a Core i7 4770 running on ASROCK Fatal1ty Z87 > Professional, > > > 32GB RAM, Sapphire Tri-X R9 290. > > > > > > I tried using OVMF too and had same results, unfortunately. > Windows > > > works fine but Linux do not. > > > > > > > I had problems passing through (an older) Radeon to Ubuntu as well. > > I got it working with machine model q35 (for PCIe, otherwise drm > > would > > crash) but putting the card on a PCI bus (otherwise radeon would > > crash) > > IIRC. > > > > However, I also needed a configuration file to tell Xorg which card > > to > > use (using SeaBIOS, it required a virtual VGA also). I did not see > > such > > a file in your bug report, so maybe this helps you. > > > > I added a 20-radeon.conf file to /usr/share/X11/xorg.conf.d with > this > > contents (changed to match your card on 1:0:0): > > Section "Device" > > Identifier "Passthrough" > > Driver "radeon" > > BusID "PCI:1:0:0" > > EndSection > > > > Otherwise, Xorg would use the QXL virtual card and not my > passthrough > > Radeon. > > > > Hopefully this helps you too. > > > > > On Sun, 2017-02-26 at 03:15 +0100, Tomáš M. wrote: > > > > What is your HW? > > > > > > > > I would recommend trying the whole thing on Arch Linux using > > > > this h > > > > ttps://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF > > > > > > > > Although I don't have experience with OVMF, using seabios > happily > > > > with RX480. > > > > > > > > On Sat, Feb 25, 2017 at 8:59 PM, <guidu...@gmail.com> wrote: > > > > > Hi, > > > > > > > > > > For quite some time I have been able to do a pass-through of > R9 > > > > > 290 to > > > > > Windows VMs using KVM. The problem is that I tried to use > Linux > > > > > and it > > > > > does not work. Tried Fedora and Ubuntu and both did not work. > > > > > Funny > > > > > thing is that Ubuntu startup/shutdown screens show on the > > > > > secondary > > > > > monitor but not the system itself. > > > > > > > > > > I tried using i440FX and Q35, same results. Used the same > > > > > configuration > > > > > I use for my working Windows VMs. > > > > > > > > > > I had opened a but few months ago but no answer so far. > > > > > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video- > at > > > > > i/ > > > > > +bug/1 > > > > > 633777 > > > > > > > > > > I just wonder if someone was able to bypass this problem or > has > > > > > some > > > > > suggestion. > > > > > > > > > > Thank you, > > > > > > > > > > Carlos > > > > > > > > > > _______________________________________________ > > > > > vfio-users mailing list > > > > > vfio-users@redhat.com > > > > > https://www.redhat.com/mailman/listinfo/vfio-users > > > > > > > > > > > _______________________________________________ > > > vfio-users mailing list > > > vfio-users@redhat.com > > > https://www.redhat.com/mailman/listinfo/vfio-users _______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users