public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Jan Niehusmann <jan@gondor.com>, intel-gfx@lists.freedesktop.org
Subject: Re: 2.6.38-rc8 regressions
Date: Mon, 14 Mar 2011 09:53:36 +0000	[thread overview]
Message-ID: <b9dded$i88dms@orsmga002.jf.intel.com> (raw)
In-Reply-To: <20110314090811.GA4779@x61s.reliablesolutions.de>

On Mon, 14 Mar 2011 10:08:12 +0100, Jan Niehusmann <jan@gondor.com> wrote:
> Hello,
> 
> just to provide some testing feedback. I didn't have time (and probably
> not even the necessary skills) to further diagnose these issues. But
> as I don't remember seeing these problems with 2.6.37, maybe the
> observations are interesting to you:
> 
> With 2.6.38-rc8 I see the following graphics related regressions
> (relative to 2.6.37) on a Thinkpad X61s with "Intel Corporation Mobile
> GM965/GL960 Integrated Graphics Controller" (PCI ID 8086:2a02).
> Userspace is debian/squeeze.
> 
> 1) Every now and then, terminal windows (urxvt) do not properly update
> their contents. After issueing a command like 'ls', which writes
> several lines of text at once, some lines are completely missing. It's
> not garbled glyphs, but full lines of text completely missing.
> 
> Interestingly, sometimes the correct contents of the full window become visible
> for a split second. So they seem to be 'somewhere' accessible to the GPU, just
> not shown on the screen.
> 
> When a single character in an affected line gets updated (e.g. by marking
> it with the cursor - or even by an update in a different console window
> next to the one affected) the correct contents of the full line become
> and stay visible.
> 
> When this problem occurs, it does so reproducibly: About every third
> command writing to the terminal shows the behaviour. In that situation,
> just closing and reopening the lid solves the problem: Console windows
> work as expected again, and AFAICT the problem doesn't reoccur until the
> next reboot or suspend/resume cycle.

There was a bug in the DDX where we missing a flush (for precisely this
style of bug): 

commit 4a186a612376bdd6f86c026e8b8b442108868a0a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Dec 7 16:56:57 2010 +0000

    Always flush the batch before blocking for new X requests
    
    This should prevent any lag when waiting upon user input, for example
    whilst logging in with gdm.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

> 2) I just had a full hang of the GPU (black screen) after opening a web
> page containing a video. kernel.log contains the following messages:

The next kernel also includes the hint to look in
/sys/kernel/debug/dri/0/i915_error_state, or at least to provide that file
for us for debugging GPU hangs. Outside of initialisation, suspend and
resume, and modesetting the cause of a GPU hang is usually an invalid
batch buffer submitted by userspace. The i915_error_state should capture
that erroneous batch buffer.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2011-03-14  9:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  9:08 2.6.38-rc8 regressions Jan Niehusmann
2011-03-14  9:53 ` Chris Wilson [this message]
2011-03-16 17:46   ` Jan Niehusmann
2011-03-16 18:34     ` Chris Wilson
2011-03-16 21:19       ` Jan Niehusmann
2011-03-20 15:48       ` Jan Niehusmann
2011-04-10 12:25 ` Jan Niehusmann
2011-04-11 13:48   ` Jan Niehusmann
2011-07-05 14:20     ` Moritz Heidkamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='b9dded$i88dms@orsmga002.jf.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jan@gondor.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox