[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915


  • To: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
  • From: sanjay kushwaha <sanjay.kushwaha@xxxxxxxxx>
  • Date: Sun, 7 Nov 2010 10:57:17 -0800
  • Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Sun, 07 Nov 2010 10:58:21 -0800
  • 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=tkwn8z20f4caCl3WGOA5XdcvKBLDF1cfVrDl33J7OiwW7ke5wcU9fBiNL28CEN/CJ0 hx08btb5A3g2XNXCRQqBWwIRewJzuimXKIARWu4FHNfhscX5UlBL/VwqlPUCD/VEjhVV qMaoI/57KnO/0N2L8I057rOXJldywIUKw/mto=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks Allen,
Looking at this patch, I realized that I dont need the patch. using intel_iommu=igfx_off on kernel command line gets the same job done in this kernel.

Thanks,
Sanjay


On Sat, Nov 6, 2010 at 11:22 PM, Kay, Allen M <allen.m.kay@xxxxxxxxx> wrote:

Hi Sanjay,

 

The fix in Xen was derived from a similar fix in Linux kernel below.  It is already part of the latest Linux kernel.  Since it was checked in August, it is not in 2.6.32.21 pvops kernel you are using.

 

https://patchwork.kernel.org/patch/132771/

 

Allen

 

From: sanjay kushwaha [mailto:sanjay.kushwaha@xxxxxxxxx]
Sent: Saturday, November 06, 2010 10:22 AM
To: Kay, Allen M
Cc: Konrad Rzeszutek Wilk; Jeremy Fitzhardinge; xen-devel


Subject: Re: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915

 

Hi Allen,
So this may not be the correct forum to ask this question but I am wondering if a similar workaround has been developed for VT-d in Linux kernel for this problem.
I am trying to boot pvops Linux as Native Linux (2.6.32.21) with VT-d on Lenovo T410 and Intel graphics is not working.

Can someone please let me know?

Thanks,
Sanjay

On Thu, Oct 7, 2010 at 3:44 PM, sanjay kushwaha <sanjay.kushwaha@xxxxxxxxx> wrote:

Hi Allen,
Indeed I needed this workaround. Now graphics works fine with VT-d with this xen tree.

Thanks,
Sanjay

 

On Thu, Oct 7, 2010 at 3:05 PM, Kay, Allen M <allen.m.kay@xxxxxxxxx> wrote:

Sanjay,

 

Have you tried the latest xen-unstable staging tree?  It has a workaround for T410 VT-d graphics issue caused by Lenovo BIOS.  This might be the workaround you need:

 

 http://xenbits.xensource.com/staging/xen-unstable.hg?rev/4beee5779122

 

Allen

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of sanjay kushwaha
Sent: Thursday, October 07, 2010 12:13 PM
To: Konrad Rzeszutek Wilk
Cc: Jeremy Fitzhardinge; xen-devel
Subject: Re: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915

 

Hi Konrad,
Unfortunately T410 doesnt have a serial port and neither does the docking station. I havent had any success with USB-to-Serial port dongles in the past. is there any way to get the serial port output?

Thanks,
Sanjay

On Thu, Oct 7, 2010 at 11:05 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:

On Thu, Oct 07, 2010 at 10:36:34AM -0700, sanjay kushwaha wrote:
> 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=0 on xen kernel command line
> in grub menu, graphics works but with iommu=1 it doesnt work (The whole
> screen is garbage).

Are there any warnings/debug messages in the serial log? Please follow
the PVOPS Wiki on how to enable all the debug options.

>
>
> On Wed, Oct 6, 2010 at 6:07 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@xxxxxxxxxx> 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 <jeremy.fitzhardinge@xxxxxxxxxx>
> > > 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ärkkäinen <pasik@xxxxxx> wrote:
> > >
> > > > 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 pvops
> > > > 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 not
> > with
> > > > >    VT-d (neither native nor Dom0).
> > > > >    with stable-2.6.33.x: graphics works with VT-d when running native
> > 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@xxxxxxxxx> wrote:
> > > > >
> > > > >      havent tried stable-2.6.32.x on Radeon. It works with nomodeset
> > 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@xxxxxxxxxx> 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@xxxxxxxxx>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@xxxxxxxx>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 doesnt
> > > > 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 and
> > > > pvops
> > > > >        dom0 but
> > > > >        > >> > it has ATI radeon graphics card. This laptop boots dom0
> > > > 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@xxxxxxxxxxxxxxxxxxx
> > > > >        > >> > [6]http://lists.xensource.com/xen-devel
> > > > >        > >>
> > > > >        > >>
> > > > >        > >
> > > > >
> > > > >        > _______________________________________________
> > > > >        > Xen-devel mailing list
> > > > >        > [7]Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >        > [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@xxxxxxxxx
> > > > >    2. mailto:konrad.wilk@xxxxxxxxxx
> > > > >    3. mailto:sanjay.kushwaha@xxxxxxxxx
> > > > >    4. mailto:jeremy@xxxxxxxx
> > > > >    5. mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >    6. http://lists.xensource.com/xen-devel
> > > > >    7. mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >    8. http://lists.xensource.com/xen-devel
> > > >
> > > > > _______________________________________________
> > > > > Xen-devel mailing list
> > > > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > > http://lists.xensource.com/xen-devel
> > > >
> > > >
> > >
> > >
> > > --
> > > ----------------------
> > > Dr. Sanjay Kumar
> > > Research Scientist
> > > Intel Corporation
> >
>
>
>
> --
> ----------------------
> Dr. Sanjay Kumar
> Research Scientist
> Intel Corporation

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel




--
----------------------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation



--

----------------------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation




--
----------------------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation




--
----------------------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.