From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: pvops Dom0 graphics doesnt work with Intel i915 Date: Wed, 6 Oct 2010 21:07:30 -0400 Message-ID: <20101007010729.GA22018@dumpdata.com> References: <4CA38BFF.8090503@goop.org> <20101001175710.GA17209@dumpdata.com> <20101006201204.GR2804@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: sanjay kushwaha Cc: Jeremy Fitzhardinge , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Oct 06, 2010 at 04:02:51PM -0700, sanjay kushwaha wrote: > Thanks Pasi. >=20 > 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/konr= ad/xen.git=20 git pull konrad git checkout konrad/devel/next.drm make >=20 > [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 >=20 > Merge branch 'xen/next' into xen/next-2.6.32 >=20 > * xen/next: > xen/netfront: Fix another potential race condition > Revert "xen/netfront: default smartpoll to on" >=20 > [evans@vwifi0 linux-2.6.32.x]$ >=20 >=20 > Thanks, > Sanjay >=20 > On Wed, Oct 6, 2010 at 1:12 PM, Pasi K=E4rkk=E4inen wrot= e: >=20 > > 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 w= hen > > > 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 wr= ote: > > > > 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: GdmDis= play: > > > 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 se= rver > > 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 bra= nch > > > > >> > xen/stable-2.6.33.x) > > > > >> > > > > >> Don't use that branch; it isn't supported (in fact, I d= eleted > > 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 no= pat > > > 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 pr= oblem? > > > > >> > > > > > >> > 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 > > > > >=20 >=20 > --=20 > ---------------------- > Dr. Sanjay Kumar > Research Scientist > Intel Corporation