Did you have any issues with efifb or some other driver grabbing the
gard before vfio-pci? What are your IOMMU groups like, which chard is
your boot_vga, what script or method do you use to get vfio-pci to bind
with your card, what's your kernel command line and what modules are
included in your initramfs?
I've struggled with getting my primary GPU to work correctly for a
passthrough like this, and I ended up switching it up with the secondary
because I simply couldn't get it to work properly (I'd keep getting
something about "|Invalid ROM contents|") and I couldn't see my boot
logs until the host driver finished loading. It's really inconvenient
now becuase my motherboard is designed so that having a full-size GPU in
the second PCIe slot blocks 4 SATA ports out of 6, so I need to have
L-shaped cables in a bunch of places to make everything work properly.
I'd really like to know what the solution to this problem is.
- Nicolas
On 2016-05-17 12:36, Zaki Saad wrote:
Regarding
3.) How to passthrough host primary GPU (if possible, :) )
I've stuggled with that issue myself a lot until I gave up and ended
up switching my guest GPU to a secondary slot. I'm still not even sure
what counts as "host primary", is it the boot_vga?
from https://www.redhat.com/archives/vfio-users/2016-May/msg00094.html,
In my setup, my primary GPU is passed to a VM and my 'secondary' GPU
is used for the host.
I use pci-stub to capture my primary GPU, and Xorg is given to my
secondary GPU through the use of BusID in xorg.conf.
My primary GPU is AMD (r9 390), and my secondary (host) GPU is nVidia
(GT 730), running proprietary drivers.
I am able to provide more details on this matter, if preferred.
_______________________________________________
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