|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Graphics in domU's
What's the status about domU graphics these days?
Anthony Liguori has written a virtual framebuffer driver that can be used
to access the guest VTs, etc. This is not in-tree yet but looks promising.
It should export to dom0's X server or directly to VNC with decent
efficiency, and offer the possibility of running a 2D X server on top.
Fully virtualised guests also get a virtual video card device, which
provides a similar effect. The idea is that eventually fully-virtualised
and paravirtualised guests will be accessible in a similar manner.
Jacob Gorm Hansen is working on actually passing 3D operations efficiently
from a guest to dom0, allowing good 3D performance from a guest virtual
display. There is working code for this, although it's not complete and I'm
not sure if a patch is available.
It should also be possible to dedicate an entire card / display to a domU
using the PCI passthrough feature. There are usually some configuration
hiccups when trying to get this to work, but in principle it's quite
possible to have a graphics card for each graphics-capable domain. This
should give full-speed graphics to the guest.
For most users, the solution is "just use network-based graphics". You
should be able to do most things you need using X-protocol, VNC, or NX.
I'm aware that hypervisor-aware drivers are needed, and none has been
written so far, mainly because proprietary vendors hasn't deemed it
worth the while as yet (nVidia has opened an RFE, but AFAIK not opened
it as a workload),
IIRC, this is just a "make the driver work properly in dom0" request,
rather than anything more sophisticated.
perhaps because they don't see Xen as interesting on
the desktop, or feels that HW accelerated virtualization, permitting
unmodified clients, isn't there yet.
I know work is in progress WRT GLX, any word on that?
Considering traditional drivers, the opensource opencrome.org driver
should support 3D acceleration for VIA/S3 Unichrome cards.
Wouldn't that one be a good candidate for an Xen-adapted driver?
The trouble is that you don't want to emulate a complete hardware graphics
device to the guest, because graphics cards are complicated. Jacob's and
Anthony's drivers skip emulating the device completely: graphics subsystem
talks pretty much directly to dom0, which then displays stuff using the
hardware it controls.
I've heard rumours that there's work going on to build graphics cards that
can be directly accessed by multiple virtual machines. For instance, IIRC,
MS and NVidia have admitted to talking about it. If this hardware ever
comes to light, things will be somewhat simpler: give 3D-capable domains
direct access to a virtualisation-aware graphics card and tell the card
which bits of the screen to let them render to.
HTH,
Mark
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|