From mboxrd@z Thu Jan 1 00:00:00 1970 From: sanjay kushwaha Subject: Re: pvops Dom0 graphics doesnt work with Intel i915 Date: Thu, 7 Oct 2010 10:36:34 -0700 Message-ID: References: <4CA38BFF.8090503@goop.org> <20101001175710.GA17209@dumpdata.com> <20101006201204.GR2804@reaktio.net> <20101007010729.GA22018@dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1607627405==" Return-path: In-Reply-To: <20101007010729.GA22018@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , xen-devel List-Id: xen-devel@lists.xenproject.org --===============1607627405== Content-Type: multipart/alternative; boundary=0016e6dee775da9f6e04920a5574 --0016e6dee775da9f6e04920a5574 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Konrad, I tried your tree. It created a 2.6.32.15 based pvops kernel but graphics with VT-d still doesn't work. when I give iommu=3D0 on xen kernel command l= ine in grub menu, graphics works but with iommu=3D1 it doesnt work (The whole screen is garbage). On Wed, Oct 6, 2010 at 6:07 PM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote: > On Wed, Oct 06, 2010 at 04:02:51PM -0700, sanjay kushwaha wrote: > > Thanks Pasi. > > > > Hi Konrad, > > Could you please let me know how to get these backported drivers as > > indicated by Pasi? This is the tree that I have. > > Just follow the Wiki. Oh, I need to update it. > > Here do this: > > git remote add konrad git:// > git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git > > git pull konrad > git checkout konrad/devel/next.drm > > make > > > > > [evans@vwifi0 linux-2.6.32.x]$ git show > > commit b297cdac0373625d3cd0e6f2b393570dcf2edba6 > > Merge: c6cfd01 64392f6 > > Author: Jeremy Fitzhardinge > > Date: Mon Sep 13 14:27:24 2010 -0700 > > > > Merge branch 'xen/next' into xen/next-2.6.32 > > > > * xen/next: > > xen/netfront: Fix another potential race condition > > Revert "xen/netfront: default smartpoll to on" > > > > [evans@vwifi0 linux-2.6.32.x]$ > > > > > > Thanks, > > Sanjay > > > > On Wed, Oct 6, 2010 at 1:12 PM, Pasi K=E4rkk=E4inen wrot= e: > > > > > On Wed, Oct 06, 2010 at 10:50:57AM -0700, sanjay kushwaha wrote: > > > > Hi, > > > > I have run into more problems now. This time with VT-d. > > > > When I enable VT-d on this laptop, graphics again stops working = in > > > dom0 > > > > with pvops (linux 2.6.32.21). the screen starts showing garbage = as > > > soon as > > > > it switches into graphics mode.this happens when I boot the pvop= s > > > kernel > > > > both as dom0 and native linux. However, when I try 2.6.33 based > pvops > > > > kernel (stable-2.6.33.x) graphics seems to work fine with VT-d > when > > > > running native but it doesnt work when running as Dom0. > > > > > > > > so now the problem is: > > > > > > > > with stable-2.6.32.x: graphics works in Dom0 without Vt-d but no= t > with > > > > VT-d (neither native nor Dom0). > > > > with stable-2.6.33.x: graphics works with VT-d when running nati= ve > but > > > > doesnt work when running as Dom0 (with or without VT-d). > > > > > > > > > > stable-2.6.33.x is not maintained, and you shouldn't use it. > > > > > > I think Konrad has a backport of the 2.6.34 drm/dri drivers > > > to stable-2.6.32.x somewhere.. that might help. > > > > > > http://wiki.xensource.com/xenwiki/XenPVOPSDRM > > > > > > -- Pasi > > > > > > > I am experiencing this problem both with Lenovo T410, and Dell > > > latitude > > > > E6410. > > > > Has anybody experienced this problem? > > > > > > > > Thanks, > > > > Sanjay > > > > > > > > On Fri, Oct 1, 2010 at 11:06 AM, sanjay kushwaha > > > > <[1]sanjay.kushwaha@gmail.com> wrote: > > > > > > > > havent tried stable-2.6.32.x on Radeon. It works with nomodese= t > and > > > > nopat options with stable-2.6.33.x branch. > > > > > > > > On Fri, Oct 1, 2010 at 10:57 AM, Konrad Rzeszutek Wilk > > > > <[2]konrad.wilk@oracle.com> wrote: > > > > > > > > On Fri, Oct 01, 2010 at 10:06:48AM -0700, sanjay kushwaha > wrote: > > > > > When I dont use nomodeset option, dom0 boots fine X runs > > > properly. > > > > So Fedora > > > > > 13 (X86_64) distro with stable-2.6.32.x pvops kernel and > > > > xen-unstable works > > > > > fine for i915 without nomodeset option. > > > > > > > > Good to hear it works for you. > > > > > > > > What about your radeon laptop? > > > > > > > > > > Thanks, > > > > > Sanjay > > > > > > > > > > On Wed, Sep 29, 2010 at 3:56 PM, sanjay kushwaha > > > > > <[3]sanjay.kushwaha@gmail.com>wrote: > > > > > > > > > > > Hi Jeremy, > > > > > > I switched to stable-2.6.32.x branch (which is 2.6.32.21 > > > based) > > > > but I get > > > > > > the same problem. Attached is the Xorg.0.log file when I > > > booted > > > > with > > > > > > nomodeset option. > > > > > > > > > > > > interestingly I did not see any kernel or driver crash > > > messages in > > > > the > > > > > > dmesg output. I do see these messages multiple times in > > > > /var/log/messages > > > > > > * > > > > > > Sep 29 15:40:32 vwifi0 gdm-binary[2244]: WARNING: > GdmDisplay: > > > > display > > > > > > lasted 0.048984 seconds > > > > > > Sep 29 15:40:32 vwifi0 gdm-binary[2244]: WARNING: > > > > GdmLocalDisplayFactory: > > > > > > maximum number of X display failures reached: check X > server > > > log > > > > for errors > > > > > > * > > > > > > > > > > > > Thanks, > > > > > > Sanjay > > > > > > > > > > > > > > > > > > On Wed, Sep 29, 2010 at 11:57 AM, Jeremy Fitzhardinge > > > > <[4]jeremy@goop.org>wrote: > > > > > > > > > > > >> On 09/29/2010 11:12 AM, sanjay kushwaha wrote: > > > > > >> > Hi Folks, > > > > > >> > I am trying to boot latest xen-unstable on my laptop > which > > > has > > > > Intel > > > > > >> > i915 graphics. PVOPS dom0 is 2.6.33.6 based (from > branch > > > > > >> > xen/stable-2.6.33.x) > > > > > >> > > > > > >> Don't use that branch; it isn't supported (in fact, I > deleted > > > it > > > > a while > > > > > >> ago). Use xen/stable-2.6.32.x for now. > > > > > >> > > > > > >> J > > > > > >> > > > > > >> > and the distro is fedora 13 64-bit. The graphics does= nt > > > come up > > > > and it > > > > > >> > seems that i915 driver is crashing multiple times. If= I > > > boot in > > > > > >> > run-level 3 (without X) dom0 boots fine. > > > > > >> > I tried booting the dom0 kernel with nomodeset and > nopat > > > > options > > > > > >> > without any success. I searched on internet and found > that > > > > multiple > > > > > >> > people have reported similar problem but I could not > find > > > any > > > > solution. > > > > > >> > > > > > > >> > Has anybody found a solution or workaround to this > problem? > > > > > >> > > > > > > >> > Thanks, > > > > > >> > Sanjay > > > > > >> > > > > > > >> > PS: I have another laptop with same version of xen an= d > > > pvops > > > > dom0 but > > > > > >> > it has ATI radeon graphics card. This laptop boots do= m0 > > > with > > > > graphics > > > > > >> > when I give nomodeset and nopat options (but fails if= I > > > dont > > > > give > > > > > >> > either of those two options). > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > _______________________________________________ > > > > > >> > Xen-devel mailing list > > > > > >> > [5]Xen-devel@lists.xensource.com > > > > > >> > [6]http://lists.xensource.com/xen-devel > > > > > >> > > > > > >> > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-devel mailing list > > > > > [7]Xen-devel@lists.xensource.com > > > > > [8]http://lists.xensource.com/xen-devel > > > > > > > > -- > > > > ---------------------- > > > > Dr. Sanjay Kumar > > > > Research Scientist > > > > Intel Corporation > > > > > > > > -- > > > > ---------------------- > > > > Dr. Sanjay Kumar > > > > Research Scientist > > > > Intel Corporation > > > > > > > > References > > > > > > > > Visible links > > > > 1. mailto:sanjay.kushwaha@gmail.com > > > > 2. mailto:konrad.wilk@oracle.com > > > > 3. mailto:sanjay.kushwaha@gmail.com > > > > 4. mailto:jeremy@goop.org > > > > 5. mailto:Xen-devel@lists.xensource.com > > > > 6. http://lists.xensource.com/xen-devel > > > > 7. mailto:Xen-devel@lists.xensource.com > > > > 8. http://lists.xensource.com/xen-devel > > > > > > > _______________________________________________ > > > > Xen-devel mailing list > > > > Xen-devel@lists.xensource.com > > > > http://lists.xensource.com/xen-devel > > > > > > > > > > > > -- > > ---------------------- > > Dr. Sanjay Kumar > > Research Scientist > > Intel Corporation > --=20 ---------------------- Dr. Sanjay Kumar Research Scientist Intel Corporation --0016e6dee775da9f6e04920a5574 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Konrad,
I tried your tree. It created a 2.6.32.15 based pvops kernel = but graphics with VT-d still doesn't work. when I give iommu=3D0 on xen= kernel command line in grub menu, graphics works but with iommu=3D1 it doe= snt work (The whole screen is garbage).


On Wed, Oct 6, 2010 at 6:07 PM, Konrad R= zeszutek Wilk <konrad.wilk@oracle.com> wrote:
On Wed, Oct 06, 2010 at 04:02:51PM -0700, sanjay kushwaha= wrote:
> Thanks Pasi.
>
> Hi Konrad,
> Could you please let me know how to get these backported drivers as > indicated by Pasi? This is the tree that I have.

Just follow the Wiki. Oh, I need to update it.

Here do this:

git remote add konrad =A0git://git.kernel.org/pub/scm/linu= x/kernel/git/konrad/xen.git

git pull konrad
git checkout konrad/devel/next.drm

make

>
> [evans@vwifi0 linux-2.6.32.x]$ git show
> commit b297cdac0373625d3cd0e6f2b393570dcf2edba6
> Merge: c6cfd01 64392f6
> Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
> Date: =A0 Mon Sep 13 14:27:24 2010 -0700
>
> =A0 =A0 Merge branch 'xen/next' into xen/next-2.6.32
>
> =A0 =A0 * xen/next:
> =A0 =A0 =A0 xen/netfront: Fix another potential race condition
> =A0 =A0 =A0 Revert "xen/netfront: default smartpoll to on" >
> [evans@vwifi0 linux-2.6.32.x]$
>
>
> Thanks,
> Sanjay
>
> On Wed, Oct 6, 2010 at 1:12 PM, Pasi K=E4rkk=E4inen <pasik@iki.fi> wrote:
>
> > On Wed, Oct 06, 2010 at 10:50:57AM -0700, sanjay kushwaha wrote:<= br> > > > =A0 =A0Hi,
> > > =A0 =A0I have run into more problems now. This time with VT-= d.
> > > =A0 =A0When I enable VT-d on this laptop, graphics again sto= ps working in
> > dom0
> > > =A0 =A0with pvops (linux 2.6.32.21). the screen starts showi= ng garbage as
> > soon as
> > > =A0 =A0it switches into graphics mode.this happens when I bo= ot the pvops
> > kernel
> > > =A0 =A0both as dom0 and native linux. However, when I try 2.= 6.33 based pvops
> > > =A0 =A0kernel (stable-2.6.33.x) graphics seems to work fine = with VT-d when
> > > =A0 =A0running native but it doesnt work when running as Dom= 0.
> > >
> > > =A0 =A0so now the problem is:
> > >
> > > =A0 =A0with stable-2.6.32.x: graphics works in Dom0 without = Vt-d but not with
> > > =A0 =A0VT-d (neither native nor Dom0).
> > > =A0 =A0with stable-2.6.33.x: graphics works with VT-d when r= unning native but
> > > =A0 =A0doesnt work when running as Dom0 (with or without VT-= d).
> > >
> >
> > stable-2.6.33.x is not maintained, and you shouldn't use it.<= br> > >
> > I think Konrad has a backport of the 2.6.34 drm/dri drivers
> > to stable-2.6.32.x somewhere.. that might help.
> >
> > http://wiki.xensource.com/xenwiki/XenPVOPSDRM
> >
> > -- Pasi
> >
> > > =A0 =A0I am experiencing this problem both with Lenovo T410,= and Dell
> > latitude
> > > =A0 =A0E6410.
> > > =A0 =A0Has anybody experienced this problem?
> > >
> > > =A0 =A0Thanks,
> > > =A0 =A0Sanjay
> > >
> > > =A0 =A0On Fri, Oct 1, 2010 at 11:06 AM, sanjay kushwaha
> > > =A0 =A0<[1]s= anjay.kushwaha@gmail.com> wrote:
> > >
> > > =A0 =A0 =A0havent tried stable-2.6.32.x on Radeon. It works = with nomodeset and
> > > =A0 =A0 =A0nopat options with stable-2.6.33.x branch.
> > >
> > > =A0 =A0 =A0On Fri, Oct 1, 2010 at 10:57 AM, Konrad Rzeszutek= Wilk
> > > =A0 =A0 =A0<[2]= konrad.wilk@oracle.com> wrote:
> > >
> > > =A0 =A0 =A0 =A0On Fri, Oct 01, 2010 at 10:06:48AM -0700, san= jay kushwaha wrote:
> > > =A0 =A0 =A0 =A0> When I dont use nomodeset option, dom0 b= oots fine X runs
> > properly.
> > > =A0 =A0 =A0 =A0So Fedora
> > > =A0 =A0 =A0 =A0> 13 (X86_64) distro with stable-2.6.32.x = pvops kernel and
> > > =A0 =A0 =A0 =A0xen-unstable works
> > > =A0 =A0 =A0 =A0> fine for i915 without nomodeset option.<= br> > > >
> > > =A0 =A0 =A0 =A0Good to hear it works for you.
> > >
> > > =A0 =A0 =A0 =A0What about your radeon laptop?
> > > =A0 =A0 =A0 =A0>
> > > =A0 =A0 =A0 =A0> Thanks,
> > > =A0 =A0 =A0 =A0> Sanjay
> > > =A0 =A0 =A0 =A0>
> > > =A0 =A0 =A0 =A0> On Wed, Sep 29, 2010 at 3:56 PM, sanjay = kushwaha
> > > =A0 =A0 =A0 =A0> <[3]sanjay.kushwaha@gmail.com>wrote:
> > > =A0 =A0 =A0 =A0>
> > > =A0 =A0 =A0 =A0> > Hi Jeremy,
> > > =A0 =A0 =A0 =A0> > I switched to stable-2.6.32.x branc= h (which is 2.6.32.21
> > based)
> > > =A0 =A0 =A0 =A0but I get
> > > =A0 =A0 =A0 =A0> > the same problem. Attached is the X= org.0.log file when I
> > booted
> > > =A0 =A0 =A0 =A0with
> > > =A0 =A0 =A0 =A0> > nomodeset option.
> > > =A0 =A0 =A0 =A0> >
> > > =A0 =A0 =A0 =A0> > interestingly I did not see any ker= nel or driver crash
> > messages in
> > > =A0 =A0 =A0 =A0the
> > > =A0 =A0 =A0 =A0> > dmesg output. I do see these messag= es multiple times in
> > > =A0 =A0 =A0 =A0/var/log/messages
> > > =A0 =A0 =A0 =A0> > *
> > > =A0 =A0 =A0 =A0> > Sep 29 15:40:32 vwifi0 gdm-binary[2= 244]: WARNING: GdmDisplay:
> > > =A0 =A0 =A0 =A0display
> > > =A0 =A0 =A0 =A0> > lasted 0.048984 seconds
> > > =A0 =A0 =A0 =A0> > Sep 29 15:40:32 vwifi0 gdm-binary[2= 244]: WARNING:
> > > =A0 =A0 =A0 =A0GdmLocalDisplayFactory:
> > > =A0 =A0 =A0 =A0> > maximum number of X display failure= s reached: check X server
> > log
> > > =A0 =A0 =A0 =A0for errors
> > > =A0 =A0 =A0 =A0> > *
> > > =A0 =A0 =A0 =A0> >
> > > =A0 =A0 =A0 =A0> > Thanks,
> > > =A0 =A0 =A0 =A0> > Sanjay
> > > =A0 =A0 =A0 =A0> >
> > > =A0 =A0 =A0 =A0> >
> > > =A0 =A0 =A0 =A0> > On Wed, Sep 29, 2010 at 11:57 AM, J= eremy Fitzhardinge
> > > =A0 =A0 =A0 =A0<[4]jer= emy@goop.org>wrote:
> > > =A0 =A0 =A0 =A0> >
> > > =A0 =A0 =A0 =A0> >> =A0On 09/29/2010 11:12 AM, sanj= ay kushwaha wrote:
> > > =A0 =A0 =A0 =A0> >> > Hi Folks,
> > > =A0 =A0 =A0 =A0> >> > I am trying to boot latest= xen-unstable on my laptop which
> > has
> > > =A0 =A0 =A0 =A0Intel
> > > =A0 =A0 =A0 =A0> >> > i915 graphics. PVOPS dom0 = is 2.6.33.6 based (from branch
> > > =A0 =A0 =A0 =A0> >> > xen/stable-2.6.33.x)
> > > =A0 =A0 =A0 =A0> >>
> > > =A0 =A0 =A0 =A0> >> Don't use that branch; it i= sn't supported (in fact, I deleted
> > it
> > > =A0 =A0 =A0 =A0a while
> > > =A0 =A0 =A0 =A0> >> ago). =A0Use xen/stable-2.6.32.= x for now.
> > > =A0 =A0 =A0 =A0> >>
> > > =A0 =A0 =A0 =A0> >> =A0 =A0J
> > > =A0 =A0 =A0 =A0> >>
> > > =A0 =A0 =A0 =A0> >> > and the distro is fedora 1= 3 64-bit. The graphics doesnt
> > come up
> > > =A0 =A0 =A0 =A0and it
> > > =A0 =A0 =A0 =A0> >> > seems that i915 driver is = crashing multiple times. If I
> > boot in
> > > =A0 =A0 =A0 =A0> >> > run-level 3 (without X) do= m0 boots fine.
> > > =A0 =A0 =A0 =A0> >> > I tried booting the dom0 k= ernel with nomodeset and nopat
> > > =A0 =A0 =A0 =A0options
> > > =A0 =A0 =A0 =A0> >> > without any success. I sea= rched on internet and found that
> > > =A0 =A0 =A0 =A0multiple
> > > =A0 =A0 =A0 =A0> >> > people have reported simil= ar problem but I could not find
> > any
> > > =A0 =A0 =A0 =A0solution.
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> > Has anybody found a soluti= on or workaround to this problem?
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> > Thanks,
> > > =A0 =A0 =A0 =A0> >> > Sanjay
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> > PS: I have another laptop = with same version of xen and
> > pvops
> > > =A0 =A0 =A0 =A0dom0 but
> > > =A0 =A0 =A0 =A0> >> > it has ATI radeon graphics= card. This laptop boots dom0
> > with
> > > =A0 =A0 =A0 =A0graphics
> > > =A0 =A0 =A0 =A0> >> > when I give nomodeset and = nopat options (but fails if I
> > dont
> > > =A0 =A0 =A0 =A0give
> > > =A0 =A0 =A0 =A0> >> > either of those two option= s).
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> >
> > > =A0 =A0 =A0 =A0> >> > __________________________= _____________________
> > > =A0 =A0 =A0 =A0> >> > Xen-devel mailing list
> > > =A0 =A0 =A0 =A0> >> > [5]Xen-devel@lists.xensource.com
> > > =A0 =A0 =A0 =A0> >> > [6]http://lists.xensource.com/xen-= devel
> > > =A0 =A0 =A0 =A0> >>
> > > =A0 =A0 =A0 =A0> >>
> > > =A0 =A0 =A0 =A0> >
> > >
> > > =A0 =A0 =A0 =A0> ________________________________________= _______
> > > =A0 =A0 =A0 =A0> Xen-devel mailing list
> > > =A0 =A0 =A0 =A0> [7]Xen-devel@lists.xensource.com
> > > =A0 =A0 =A0 =A0> [8]http://lists.xensource.com/xen-devel
> > >
> > > =A0 =A0 =A0--
> > > =A0 =A0 =A0----------------------
> > > =A0 =A0 =A0Dr. Sanjay Kumar
> > > =A0 =A0 =A0Research Scientist
> > > =A0 =A0 =A0Intel Corporation
> > >
> > > =A0 =A0--
> > > =A0 =A0----------------------
> > > =A0 =A0Dr. Sanjay Kumar
> > > =A0 =A0Research Scientist
> > > =A0 =A0Intel Corporation
> > >
> > > References
> > >
> > > =A0 =A0Visible links
> > > =A0 =A01. mailto:sanjay.kushwaha@gmail.com
> > > =A0 =A02. mailto:k= onrad.wilk@oracle.com
> > > =A0 =A03. mailto:sanjay.kushwaha@gmail.com
> > > =A0 =A04. mailto:jeremy@g= oop.org
> > > =A0 =A05. mailto:Xen-devel@lists.xensource.com
> > > =A0 =A06. http://lists.xensource.com/xen-devel
> > > =A0 =A07. mailto:Xen-devel@lists.xensource.com
> > > =A0 =A08. http://lists.xensource.com/xen-devel
> >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@l= ists.xensource.com
> > > http://lists.xensource.com/xen-devel
> >
> >
>
>
> --
> ----------------------
> Dr. Sanjay Kumar
> Research Scientist
> Intel Corporation



--
-----------= -----------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation<= br> --0016e6dee775da9f6e04920a5574-- --===============1607627405== 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 --===============1607627405==--