WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-devel] graphic card on domU

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] graphic card on domU
From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
Date: Fri, 16 Mar 2007 16:44:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Mar 2007 08:43:44 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mT62qXPBXAMlYm+vsLxymq7QxZw4/wLPPOcAfWS8zUvHIeb9lkI5f9klmHY4erSblC+EHI715ZMIqaFmalonHmD44P5w+AEmuNXxkEVtzlEE4yqgvIFkLy6OG1ODfKlPMdzzOmsKXYcg0bMzcWuG1F/ALhy8+DFmnYehvC3xxxc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=eks/xkJvXgDWRwc7JfodOsbexkjxlYhwZxFeZt57dZhIOK7kPtmIZOKRkaoKSGAaC9hWkguOO+W9qVvyGv6WhJDfef8jEKRaUjOcqw7iPlnLiOoBjvWpZV3hgkvTPoA8TpgOGVwxZXNPpjksSzU6ZxDz3U/d5N/GRcATu6vRRNE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200703160038.35100.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <ce3dfaa50703150252o16d5fb0em42b4e34de0f4e374@xxxxxxxxxxxxxx> <fe9771a80703151726u281c9edalbec1b776d89ee88@xxxxxxxxxxxxxx> <200703160038.35100.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
I don't have a second PCI graphics card so I won't be able to try it. But just a question, when we say PCI, is it also applicable for AGP (guess this is also PCI) and PCI-E?
 
In my setup, I'm using pulseaudio for sound and samba for file sharing. NFS may also be used.
 
How is performance when watching a movie over X forwaded by SSH?
 
Emre

 
On 3/16/07, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Hi Abe,
>
> I'm not a developer. Nevertheless, as far as I know, using a graphic
> hardware with 3d functionalities etc. is not possible at the moment. PCI
> device hiding functionality of Xen 2.0 does not yet work for Xen 3.0,
> therefore you cannot reach the graphics hardware directly from a Xen DomU.

Actually the PCI device hiding does now work on Xen 3.0 so you could assign a
graphics card to a domU.  I think people may have done this successfully
although I'm not sure how functional they managed to make the resulting
system; X.org used to get a little unhappy and confused when run in a domU
even with access to the graphics card.  Maybe this is better now.

Giving PCI devices to HVM isn't possible (at least not until suitable IOMMU
support is available - both a hardware and software problem).

> 1) HVM Guests: They already have a graphics card emulation. Low resolution,
> slow.
> 2) PV Guests: You can configure a FrameBuffer for the DomUs and use SDL or
> VNC to view it from Dom0.
> 3) For any type of guest, you can run another X server in your Dom0, and
> use this one over TCP/IP for your DomUs (i use XDMCP). It is not that slow.
> You can even watch movies. I didn't yet try running Compiz Beryl etc.

I wouldn't expect compiz / beryl to work well if forwarded from another
machine (or even from a domU), although I'd be interested to discover if you
*can*.

Or SSH to the guest and use X protocol forwarding - works very well and
integrates well with your dom0 desktop.  Or use NX (NoMachine X) to forward a
desktop with sound, storage and print services (if you can get it to work!).

Cheers,
Mark

--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!



--
Emre Erenoglu
erenoglu@xxxxxxxxx
emre.erenoglu@xxxxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel