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! On Sun, 2017-02-26 at 16:03 +0100, Arjen wrote: > On Sun, 2017-02-26 at 11:43 -0300, [email protected] 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, <[email protected]> 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 > > > > [email protected] > > > > https://www.redhat.com/mailman/listinfo/vfio-users > > > > > > > > _______________________________________________ > > vfio-users mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/vfio-users _______________________________________________ vfio-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/vfio-users
