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

Re: [Xen-users] Video Passthrough

  • To: xen-users@xxxxxxxxxxxxx
  • From: Gordan Bobic <gordan@xxxxxxxxxx>
  • Date: Mon, 23 Mar 2015 21:39:29 +0000
  • Delivery-date: Mon, 23 Mar 2015 21:40:15 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

On 2015-03-23 19:56, CACook@xxxxxxxxxxxxxxx wrote:
Has anyone been able to actually get video passthrough working in 4.5?

I haven't tried 4.5 - I last used 4.3 and that worked for me.
I have now switched to KVM (as of last weekend) due to Nvidia's
abandonment of Xen dom0 support. It means one fewer VM/console
on my setup.

I've followed all the (unwritten) rules, like having pciback compiled
in to the kernel,

I never had it compiled in, and it worked fine. You just have to
make sure you blacklist all the drivers that could pre-emptively
claim the device, and write a script in /etc/sysconfig/modules/
to load and bind pcibacl to all the devices you want to pass
through, and only then load the drivers for any other similar
hardware you have.

and setting device_model_version =
"qemu-xen-traditional". And I've set gfx_passthru=1 and

I never used gfx_passthru=1, either. It's only for
primary passthrough, and AFAIK that generally only
works for passing through the primary GPU on the host
(otherwise you have to side-load the BIOS and get
SeaBIOS or OVMF to POST it).

But I get a blank screen. Using VNC to get into the VM, the PCI video
card is clearly there and has the right driver. (i915) And the console
goes blank as it should, but stays blank even after the VM is started.
Video passthrough doesn't work.

So you are trying to use Intel GPU for passthrough? I cannot
say I ever tried. The only passthrough GPUs I used with complete
success are Nvidia's.

Xen-users mailing list



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