From: "Emre Erenoglu" Subject: Re: graphic card on domU Date: Fri, 16 Mar 2007 16:44:39 +0100 Message-ID: References: <200703160038.35100.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0910735756==" Return-path: In-Reply-To: <200703160038.35100.mark.williamson@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0910735756== Content-Type: multipart/alternative; boundary="----=_Part_94998_26707674.1174059879419" ------=_Part_94998_26707674.1174059879419 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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@gmail.com emre.erenoglu@erenoglu.com ------=_Part_94998_26707674.1174059879419 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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@cl.cam.ac.uk> 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@gmail.com
emre.erenoglu@erenoglu.com ------=_Part_94998_26707674.1174059879419-- --===============0910735756== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0910735756==--