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-devel

Re: [Xen-devel] Video Presentation on PCI Express x16 VGA Pass Through

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Mon, 14 Sep 2009 03:33:57 +0800
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 13 Sep 2009 12:34:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/u6QL09B2dQ78MOojP88UBoGYykh6cDGXBKQeofwD20=; b=lzrZn89wMSfoiD0GKB/KL2be6/GcNLfSHQopvK4trV9pHA9WhTebHgPuv0P9nzlxu5 rzz/5YS4ZEwdpVq6OXhykgrsU+a3rRxnyy+KZOJJV4QaavSFyQfVgf+SniVRO2VXwsNR oefSOP45qGJj2jv4boYDQpkwO0eFpOPCLtakQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mLAJpinMZe9hFGb3iMZkbEd8thWWP3QoEO4ZcH3NBTdCszCLlS98Q2O9TRSNlz16g/ 1BF4bVO33EFt2DC96c3dRLjgQmoMBLV4Pzxr6nPMXlk7kcvCnclsmXdKeuSDLnLjjzKa 1bxgk6gHp1EBL8JXpjjMsUHNAhuMRIQ2Csx6s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090913192610.GW31123@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0909101719offcfe89o5c938983bcd1d0c5@xxxxxxxxxxxxxx> <20090911160319.GJ31123@xxxxxxxxxxx> <f712b9cf0909111952l538dc146m3cb0934402de2501@xxxxxxxxxxxxxx> <f712b9cf0909120144x619eb1fdk31bb8486401735b2@xxxxxxxxxxxxxx> <f712b9cf0909120311p792cd502k2d3518cfd111b64a@xxxxxxxxxxxxxx> <f712b9cf0909120523m54dee490k67f990ddde301606@xxxxxxxxxxxxxx> <f712b9cf0909121731v4f081127tba6c47c8621ba89e@xxxxxxxxxxxxxx> <20090913091247.GM31123@xxxxxxxxxxx> <f712b9cf0909131122n75d8745dt23b240ad96daa74f@xxxxxxxxxxxxxx> <20090913192610.GW31123@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Dear Pasi,

No, I have not tried it yet. I have 8 GB of memory on my computer.

What does dom0_mem parameter do?

If I set dom0_mem, does it mean I cannot access more than 4 GB of memory even though I have 8 GB of memory?

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Sep 14, 2009 at 3:26 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Mon, Sep 14, 2009 at 02:22:00AM +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> Yes, I have tried the nomodeset kernel parameter without result.
>
> I couldn't get Jeremy's rebase/master branch (pvops dom 0 kernel 2.6.31) to
> work despite disabling all of USB support in the kernel. I will troubleshoot
> this issue with the serial console enabled another time.
>
> Meanwhile, I got Linus' mainline kernel 2.6.31 to work on my system. So
> apparently the dom 0 patched kernel 2.6.31 has some issues or I did not
> configure it properly.
>

Did you try pv_ops dom0 kernel with dom0_mem=1024M parameter for xen.gz?

Some others are seeing problems with the recent kernels if they have
>4096M of memory for dom0.

-- Pasi

> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@xxxxxxxxx
> MSN: teoenming@xxxxxxxxxxx
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
> On Sun, Sep 13, 2009 at 5:12 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>
> > On Sun, Sep 13, 2009 at 08:31:26AM +0800, Mr. Teo En Ming (Zhang Enming)
> > wrote:
> > > I have disabled all USB support in the kernel but I still couldn't get
> > pvops
> > > dom0-patched kernel 2.6.31 final to complete loading. All I get is a
> > > blinking cursor at the top left hand corner of the monitor.
> > >
> >
> > Did you try "nomodeset" parameter for the dom0 kernel?
> >
> > Have you tried setting up a serial console and capturing the kernel boot
> > messages?
> >
> > -- Pasi
> >
> > > --
> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > Engineering)
> > > Alma Maters:
> > > (1) Singapore Polytechnic
> > > (2) National University of Singapore
> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > Email: space.time.universe@xxxxxxxxx
> > > MSN: teoenming@xxxxxxxxxxx
> > > Mobile Phone: +65-9648-9798
> > > Street: Bedok Reservoir Road
> > > Republic of Singapore
> > >
> > > On Sat, Sep 12, 2009 at 8:23 PM, Mr. Teo En Ming (Zhang Enming) <
> > > space.time.universe@xxxxxxxxx> wrote:
> > >
> > > > OK I have UHCI, OHCI, EHCI, and xHCI all disabled in the kernel but I
> > still
> > > > can't get pvops dom 0 kernel 2.6.31 final to boot up completely.
> > > >
> > > > Really puzzled.
> > > >
> > > > --
> > > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > > Engineering)
> > > > Alma Maters:
> > > > (1) Singapore Polytechnic
> > > > (2) National University of Singapore
> > > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > > Email: space.time.universe@xxxxxxxxx
> > > > MSN: teoenming@xxxxxxxxxxx
> > > > Mobile Phone: +65-9648-9798
> > > > Street: Bedok Reservoir Road
> > > > Republic of Singapore
> > > >
> > > > On Sat, Sep 12, 2009 at 6:11 PM, Mr. Teo En Ming (Zhang Enming) <
> > > > space.time.universe@xxxxxxxxx> wrote:
> > > >
> > > >> I have disabled USB 1.0 and USB 2.0 drivers simultaneously and enabled
> > USB
> > > >> 3.0 driver but the kernel stops loading.
> > > >>
> > > >> Then I totally disabled all USB support by passing the "nousb"
> > parameter
> > > >> to the kernel but it still stops loading.
> > > >>
> > > >> pvops dom 0 2.6.31 final can't work.
> > > >>
> > > >> --
> > > >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> > > >> Engineering)
> > > >> Alma Maters:
> > > >> (1) Singapore Polytechnic
> > > >> (2) National University of Singapore
> > > >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >> Email: space.time.universe@xxxxxxxxx
> > > >> MSN: teoenming@xxxxxxxxxxx
> > > >> Mobile Phone: +65-9648-9798
> > > >> Street: Bedok Reservoir Road
> > > >> Republic of Singapore
> > > >>
> > > >> On Sat, Sep 12, 2009 at 4:44 PM, Mr. Teo En Ming (Zhang Enming) <
> > > >> space.time.universe@xxxxxxxxx> wrote:
> > > >>
> > > >>> After disabling the USB 1.0 driver, but leaving the USB 2.0 driver
> > > >>> compiled statically into the kernel, I get an error with the USB 2.0
> > driver.
> > > >>> This means I cannot use either of the USB 1.0 and USB 2.0 drivers.
> > > >>>
> > > >>> Please refer to my blog post here:
> > > >>>
> > > >>>
> > > >>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/after-disabling-usb-10-host-controller.html
> > > >>>
> > > >>> --
> > > >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>> Engineering)
> > > >>> Alma Maters:
> > > >>> (1) Singapore Polytechnic
> > > >>> (2) National University of Singapore
> > > >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>> Email: space.time.universe@xxxxxxxxx
> > > >>> MSN: teoenming@xxxxxxxxxxx
> > > >>> Mobile Phone: +65-9648-9798
> > > >>> Street: Bedok Reservoir Road
> > > >>> Republic of Singapore
> > > >>>
> > > >>> On Sat, Sep 12, 2009 at 10:52 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>> space.time.universe@xxxxxxxxx> wrote:
> > > >>>
> > > >>>> Hi,
> > > >>>>
> > > >>>> I have tried pvops dom 0 kernel 2.6.31 final from Jeremy's tree.
> > > >>>>
> > > >>>> But it gave me a USB host controller died error.
> > > >>>>
> > > >>>> Please refer to the error output here:
> > > >>>>
> > > >>>>
> > > >>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/error-with-pv-ops-dom-0-kernel-2631.html
> > > >>>>
> > > >>>> --
> > > >>>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > BEng(Hons)(Mechanical
> > > >>>> Engineering)
> > > >>>> Alma Maters:
> > > >>>> (1) Singapore Polytechnic
> > > >>>> (2) National University of Singapore
> > > >>>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>> Email: space.time.universe@xxxxxxxxx
> > > >>>> MSN: teoenming@xxxxxxxxxxx
> > > >>>> Mobile Phone: +65-9648-9798
> > > >>>> Street: Bedok Reservoir Road
> > > >>>> Republic of Singapore
> > > >>>>
> > > >>>> On Sat, Sep 12, 2009 at 12:03 AM, Pasi Kärkkäinen <pasik@xxxxxx>
> > wrote:
> > > >>>>
> > > >>>>> On Fri, Sep 11, 2009 at 11:37:15PM +0800, Mr. Teo En Ming (Zhang
> > > >>>>> Enming) wrote:
> > > >>>>> > Hi,
> > > >>>>> >
> > > >>>>> > Please refer to the disk I/O benchmark results here:
> > > >>>>> >
> > > >>>>> >
> > > >>>>>
> > http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/09/disk-io-benchmark-results-with-xen.html
> > > >>>>> >
> > > >>>>> > Results show that Win XP HVM guest runs faster in 2.6.30-rc3 than
> > > >>>>> > 2.6.31-rc6.
> > > >>>>> >
> > > >>>>>
> > > >>>>> Btw you might also want to test with the latest rebase/master tree;
> > > >>>>> it's
> > > >>>>> at Linux 2.6.31 final now.
> > > >>>>>
> > > >>>>> -- Pasi
> > > >>>>>
> > > >>>>> > --
> > > >>>>> > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > Engineering)
> > > >>>>> > Alma Maters:
> > > >>>>> > (1) Singapore Polytechnic
> > > >>>>> > (2) National University of Singapore
> > > >>>>> > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>>> > Email: space.time.universe@xxxxxxxxx
> > > >>>>> > MSN: teoenming@xxxxxxxxxxx
> > > >>>>> > Mobile Phone: +65-9648-9798
> > > >>>>> > Street: Bedok Reservoir Road
> > > >>>>> > Republic of Singapore
> > > >>>>> >
> > > >>>>> > On Fri, Sep 11, 2009 at 8:19 AM, Mr. Teo En Ming (Zhang Enming) <
> > > >>>>> > space.time.universe@xxxxxxxxx> wrote:
> > > >>>>> >
> > > >>>>> > > Hi,
> > > >>>>> > >
> > > >>>>> > > I will try to stop unnecessary services on Dom 0 and do a disk
> > I/O
> > > >>>>> > > benchmark between WinXP domU on 2.6.30-rc3 and 2.6.31-rc6
> > tonight
> > > >>>>> (Singapore
> > > >>>>> > > time). That will be more conclusive.
> > > >>>>> > >
> > > >>>>> > > --
> > > >>>>> > > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> > > >>>>> BEng(Hons)(Mechanical
> > > >>>>> > > Engineering)
> > > >>>>> > > Alma Maters:
> > > >>>>> > > (1) Singapore Polytechnic
> > > >>>>> > > (2) National University of Singapore
> > > >>>>> > > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> > > >>>>> > > Email: space.time.universe@xxxxxxxxx
> > > >>>>> > > MSN: teoenming@xxxxxxxxxxx
> > > >>>>> > > Mobile Phone: +65-9648-9798
> > > >>>>> > > Street: Bedok Reservoir Road
> > > >>>>> > > Republic of Singapore
> > > >>>>> > >
> > > >>>>> > > On Fri, Sep 11, 2009 at 2:17 AM, Jeremy Fitzhardinge <
> > > >>>>> jeremy@xxxxxxxx>wrote:
> > > >>>>> > >
> > > >>>>> > >> On 09/10/09 07:03, Pasi Kärkkäinen wrote:
> > > >>>>> > >> > On Thu, Sep 10, 2009 at 08:28:03PM +0800, Mr. Teo En Ming
> > (Zhang
> > > >>>>> Enming)
> > > >>>>> > >> wrote:
> > > >>>>> > >> >
> > > >>>>> > >> >> Dear All,
> > > >>>>> > >> >>
> > > >>>>> > >> >> Here is my latest video presentation on VGA passthrough.
> > Please
> > > >>>>> check
> > > >>>>> > >> out my
> > > >>>>> > >> >> blog at http://teo-en-ming-aka-zhang-enming.blogspot.com/or
> > > >>>>> the
> > > >>>>> > >> Youtube
> > > >>>>> > >> >> link at http://www.youtube.com/watch?v=1ia3IwG6tp4
> > > >>>>> > >> >>
> > > >>>>> > >> >> The "not enough free resources" problem for nVidia Geforce
> > 8400
> > > >>>>> GS PCI
> > > >>>>> > >> >> Express x16 graphics card in earlier presentation videos:
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=HNEiSI...<
> > > >>>>> > >> http://www.youtube.com/watch?v=HNEiSInrav0>
> > > >>>>> > >> >>
> > > >>>>> > >> >> http://www.youtube.com/watch?v=_hOT_9...<
> > > >>>>> > >> http://www.youtube.com/watch?v=_hOT_9LIG5w>
> > > >>>>> > >> >>
> > > >>>>> > >> >> was fixed. Device manager in Windows XP HVM domU no longer
> > > >>>>> shows an
> > > >>>>> > >> >> exclamation mark besides the nVidia Geforce 8400 GS
> > graphics
> > > >>>>> card. The
> > > >>>>> > >> >> device is working properly and the resources tab shows the
> > > >>>>> available
> > > >>>>> > >> memory
> > > >>>>> > >> >> ranges.
> > > >>>>> > >> >>
> > > >>>>> > >> >> Full VGA passthrough to Windows XP HVM guest operating
> > system
> > > >>>>> using Xen
> > > >>>>> > >> >> virtualization has been realized. I am now able to run 3-D
> > > >>>>> video
> > > >>>>> > >> benchmarks
> > > >>>>> > >> >> on the passed through nVidia GeForce 8400 GS graphics card.
> > > >>>>> > >> >>
> > > >>>>> > >> >> All this is possible using Xen 3.5 hypervisor with Intel
> > > >>>>> supplied VGA
> > > >>>>> > >> >> passthrough patches. Instead of using pvops dom0 kernel
> > > >>>>> 2.6.31-rc6
> > > >>>>> > >> which
> > > >>>>> > >> >> causes Win XP domU to run slowly, I am now using pvops dom0
> > > >>>>> kernel
> > > >>>>> > >> >> 2.6.30-rc3.
> > > >>>>> > >> >>
> > > >>>>> > >> >>
> > > >>>>> > >> > Jeremy: Are you aware of any changes after 2.6.30-rc3 that
> > could
> > > >>>>> cause
> > > >>>>> > >> > this HVM slowness?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> I can't think of anything, unless the new swiotlb code is
> > causing
> > > >>>>> > >> problems.
> > > >>>>> > >>
> > > >>>>> > >> > Any tips how it could be debugged?
> > > >>>>> > >> >
> > > >>>>> > >>
> > > >>>>> > >> It would help to isolate where the slowness is coming from.
> >  How
> > > >>>>> much
> > > >>>>> > >> slowdown are we talking about?  Is the HVM domain doing lots
> > of IO
> > > >>>>> at
> > > >>>>> > >> the time?  Are there any processes using lots of time in dom0?
> > > >>>>>  What's
> > > >>>>> > >> the interrupt rate like?
> > > >>>>> > >>
> > > >>>>> > >>    J
> > > >>>>> > >>
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>> > >
> > > >>>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> >




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>