[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] VGA/PCI Passthrough of Secondary Graphics Adapter

Hello Alex,

To answer your first question, simply provide the BDF (Bus Device Function) from lspci.

My understanding is that graphics devices are missing a translation for legacy processes, such as boot code, and this varies by device.

I am using the onboard graphics with Dom0 as the primary, and passing a Radeon HD 6870 to a virtual machine. ÂGraphics cards are not "shared", so even if it was your primary card you would have to remove it from Dom0 to pass it.

The BSoD you are encountering, does it happen when you reboot? ÂIn my experience this is caused by the lack of FLR (Function Level Reset) in consumer cards, the solution is manual ejection and if you install drivers without being aware of the problem it will still experience odd problems.

Experience varies however, my advice would be to check the marksmail search engine for Function Level Reset or Passthrough BSOD.


On Sat, Apr 27, 2013 at 7:16 PM, Alex Karaoui <code3studios@xxxxxxxxx> wrote:

Concisely, I've been trying for several days to get VGA/PCI passthrough
working. ÂRegarding VGA vs PCI passthrough, I'm not entirely certain of the
difference? ÂDoes Xen perform a different set of operations when passing
through a VGA card versus any PCIe card? ÂI've read the wiki and it seems
the answer is "yes;" however, when passing through a graphics adapter, how
would I instruct Xen/qemu-dm that said adapter is a graphics card and not a
normal PCIe card?

In essence, how does one pass-through a graphics card that is NOT the
primary adapter (my BIOS does not boot with it)?

My problem is somewhat complex. ÂI have two Radeon cards (one 5870 as
primary, and one 5570 as secondary). ÂThe BIOS boots with the 5870 and I
cannot swap the cards due to space constraints within the case. ÂLinux then
boots using the 5870. ÂI've hidden the 5570 using pciback (compiled in the
kernel not as a module). ÂI can successfully get a Windows 7 32-bit domU to
see the card, and install the drivers.

However on boot, the system BSODs due to an Error 116 in atikmpag.sys! ÂI
can avoid this if I use an older driver (10.x series), without Catalyst
Control Center. ÂHowever, even using the older driver, or the Microsoft
driver, neither results in actual display from the graphics card. ÂI get
nothing. ÂThe most I've gotten is a black screen, and then the system will

I've searched the mailing lists, and I've done every permutation of
configurations I can think of. ÂI'm stumped! ÂI'm left with the belief that
I cannot pass-through the secondary graphics adapter. ÂI need to, because I
don't have a second computer at the moment, and I need the primary adapter
to operate dom0. ÂI've thought of running Linux off the secondary adapter,
but it doesn't seem possible with the open-source radeon driver and fglrix
(closed-source) won't work with Xen apparently.

Am I missing something, here? ÂAny help would be appreciated!

View this message in context: http://xen.1045712.n5.nabble.com/VGA-PCI-Passthrough-of-Secondary-Graphics-Adapter-tp5715723.html
Sent from the Xen - User mailing list archive at Nabble.com.

Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.