intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Graphical corruption post 2.6.38
@ 2011-03-23 13:54 Colin Guthrie
  2011-03-23 14:08 ` Chris Wilson
  0 siblings, 1 reply; 12+ messages in thread
From: Colin Guthrie @ 2011-03-23 13:54 UTC (permalink / raw)
  To: intel-gfx

Hi,

Running latest drivers from git + recent drm+xserver.

After upgrading to 2.6.38 I seem to get occasional graphical corruption.
This manifests itself mostly obviously in e.g gnome-terminal when
getting git status and such like (although there are many other triggers
- have seen it in various apps).

Here is an example of what it looks like, but it can be much worse.
http://colin.guthr.ie/intel-2.6.38.png

Any idea of what could cause this before I go digging too deeply?

HW is:
unknown         : Intel Corporation|Mobile 945GM/GMS/GME, 943/940GML
Express Integrated Graphics Controller [DISPLAY_OTHER] (vendor:8086
device:27a6 subv:1028 subd:01bd) (rev: 03)

Card:Intel 810 and later: Intel Corporation|Mobile 945GM/GMS, 943/940GML
Express Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086
device:27a2 subv:1028 subd:01bd) (rev: 03)


Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| http://colin.guthr.ie/ |
+------------------------+

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-23 13:54 Graphical corruption post 2.6.38 Colin Guthrie
@ 2011-03-23 14:08 ` Chris Wilson
  2011-03-23 15:26   ` Colin Guthrie
  2011-03-23 18:35   ` Tino Keitel
  0 siblings, 2 replies; 12+ messages in thread
From: Chris Wilson @ 2011-03-23 14:08 UTC (permalink / raw)
  To: Colin Guthrie, intel-gfx

On Wed, 23 Mar 2011 13:54:11 +0000, Colin Guthrie <intel@colin.guthr.ie> wrote:
> Hi,
> 
> Running latest drivers from git + recent drm+xserver.
> 
> After upgrading to 2.6.38 I seem to get occasional graphical corruption.
> This manifests itself mostly obviously in e.g gnome-terminal when
> getting git status and such like (although there are many other triggers
> - have seen it in various apps).
> 
> Here is an example of what it looks like, but it can be much worse.
> http://colin.guthr.ie/intel-2.6.38.png
> 
> Any idea of what could cause this before I go digging too deeply?

First try:

commit 29c5a587284195278e233eec5c2234c24fb2c204
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Mar 17 15:23:22 2011 +0000

    drm/i915: Fix tiling corruption from pipelined fencing
    
    ... even though it was disabled. A mistake in the handling of fence reuse
    caused us to skip the vital delay of waiting for the object to finish
    rendering before changing the register. This resulted in us changing the
    fence register whilst the bo was active and so causing the blits to
    complete using the wrong stride or even the wrong tiling. (Visually the
    effect is that small blocks of the screen look like they have been
    interlaced). The fix is to wait for the GPU to finish using the memory
    region pointed to by the fence before changing it.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34584
    Cc: Andy Whitcroft <apw@canonical.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    [Note for 2.6.38-stable, we need to reintroduce the interruptible passing]
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Tested-by: Dave Airlie <airlied@linux.ie>

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-23 14:08 ` Chris Wilson
@ 2011-03-23 15:26   ` Colin Guthrie
  2011-03-23 18:35   ` Tino Keitel
  1 sibling, 0 replies; 12+ messages in thread
From: Colin Guthrie @ 2011-03-23 15:26 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

'Twas brillig, and Chris Wilson at 23/03/11 14:08 did gyre and gimble:
> On Wed, 23 Mar 2011 13:54:11 +0000, Colin Guthrie <intel@colin.guthr.ie> wrote:
>> Hi,
>>
>> Running latest drivers from git + recent drm+xserver.
>>
>> After upgrading to 2.6.38 I seem to get occasional graphical corruption.
>> This manifests itself mostly obviously in e.g gnome-terminal when
>> getting git status and such like (although there are many other triggers
>> - have seen it in various apps).
>>
>> Here is an example of what it looks like, but it can be much worse.
>> http://colin.guthr.ie/intel-2.6.38.png
>>
>> Any idea of what could cause this before I go digging too deeply?
> 
> First try:
> 
> commit 29c5a587284195278e233eec5c2234c24fb2c204
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Thu Mar 17 15:23:22 2011 +0000
> 
>     drm/i915: Fix tiling corruption from pipelined fencing

Looks like a good bet. I'll try and get this tested sometime soon :)

Cheers

Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| http://colin.guthr.ie/ |
+------------------------+

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-23 14:08 ` Chris Wilson
  2011-03-23 15:26   ` Colin Guthrie
@ 2011-03-23 18:35   ` Tino Keitel
  2011-03-23 18:51     ` Chris Wilson
  1 sibling, 1 reply; 12+ messages in thread
From: Tino Keitel @ 2011-03-23 18:35 UTC (permalink / raw)
  To: intel-gfx

On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> On Wed, 23 Mar 2011 13:54:11 +0000, Colin Guthrie <intel@colin.guthr.ie> wrote:
> > Hi,
> > 
> > Running latest drivers from git + recent drm+xserver.
> > 
> > After upgrading to 2.6.38 I seem to get occasional graphical corruption.
> > This manifests itself mostly obviously in e.g gnome-terminal when
> > getting git status and such like (although there are many other triggers
> > - have seen it in various apps).
> > 
> > Here is an example of what it looks like, but it can be much worse.
> > http://colin.guthr.ie/intel-2.6.38.png
> > 
> > Any idea of what could cause this before I go digging too deeply?
> 
> First try:
> 
> commit 29c5a587284195278e233eec5c2234c24fb2c204
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Thu Mar 17 15:23:22 2011 +0000
> 
>     drm/i915: Fix tiling corruption from pipelined fencing

Hi,

where exactly can I find a version of the patch that applies against 2.6.38?

I tried several attachements of the bugzilla entry, without success.

Regards,
Tino

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-23 18:35   ` Tino Keitel
@ 2011-03-23 18:51     ` Chris Wilson
  2011-03-26 13:26       ` Colin Guthrie
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2011-03-23 18:51 UTC (permalink / raw)
  To: Tino Keitel, intel-gfx

On Wed, 23 Mar 2011 19:35:56 +0100, Tino Keitel <tino.keitel+xorg@tikei.de> wrote:
> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> > commit 29c5a587284195278e233eec5c2234c24fb2c204
> > Author: Chris Wilson <chris@chris-wilson.co.uk>
> > Date:   Thu Mar 17 15:23:22 2011 +0000
> > 
> >     drm/i915: Fix tiling corruption from pipelined fencing
> 
> Hi,
> 
> where exactly can I find a version of the patch that applies against 2.6.38?

It's supposed to be available from kernel.org, but that appears to be
lagging severely, so try:

http://cgit.freedesktop.org/~ickle/linux-2.6/commit/?h=2.6.38&id=3b936797f5e4623ae1b80a5f0c4df30a17360bf5
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-23 18:51     ` Chris Wilson
@ 2011-03-26 13:26       ` Colin Guthrie
  2011-03-26 17:26         ` Chris Wilson
  2011-04-25 16:58         ` Paul Menzel
  0 siblings, 2 replies; 12+ messages in thread
From: Colin Guthrie @ 2011-03-26 13:26 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Tino Keitel, intel-gfx

'Twas brillig, and Chris Wilson at 23/03/11 18:51 did gyre and gimble:
> On Wed, 23 Mar 2011 19:35:56 +0100, Tino Keitel <tino.keitel+xorg@tikei.de> wrote:
>> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
>>> commit 29c5a587284195278e233eec5c2234c24fb2c204
>>> Author: Chris Wilson <chris@chris-wilson.co.uk>
>>> Date:   Thu Mar 17 15:23:22 2011 +0000
>>>
>>>     drm/i915: Fix tiling corruption from pipelined fencing
>>
>> Hi,
>>
>> where exactly can I find a version of the patch that applies against 2.6.38?
> 
> It's supposed to be available from kernel.org, but that appears to be
> lagging severely, so try:
> 
> http://cgit.freedesktop.org/~ickle/linux-2.6/commit/?h=2.6.38&id=3b936797f5e4623ae1b80a5f0c4df30a17360bf5


Thanks Chris, that seems to have done the trick.

Still see a couple weird bits occasionally but I've only seen then in
Firefox on font glyphs so I think that's a FF problem - it certainly
doesn't seem to be generic like the one that patch fixes. Hopefully
it'll go into 2.6.38.2 :)

Cheers

Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| http://colin.guthr.ie/ |
+------------------------+

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-26 13:26       ` Colin Guthrie
@ 2011-03-26 17:26         ` Chris Wilson
  2011-03-27 15:57           ` Colin Guthrie
  2011-04-25 16:58         ` Paul Menzel
  1 sibling, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2011-03-26 17:26 UTC (permalink / raw)
  To: Colin Guthrie; +Cc: Tino Keitel, intel-gfx

On Sat, 26 Mar 2011 13:26:54 +0000, Colin Guthrie <intel@colin.guthr.ie> wrote:
> Still see a couple weird bits occasionally but I've only seen then in
> Firefox on font glyphs so I think that's a FF problem - it certainly
> doesn't seem to be generic like the one that patch fixes. Hopefully
> it'll go into 2.6.38.2 :)

I've an unusual bug https://bugs.freedesktop.org/show_bug.cgi?id=35557
that I've not begun to dig into. Similar?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-26 17:26         ` Chris Wilson
@ 2011-03-27 15:57           ` Colin Guthrie
  0 siblings, 0 replies; 12+ messages in thread
From: Colin Guthrie @ 2011-03-27 15:57 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Tino Keitel, intel-gfx

'Twas brillig, and Chris Wilson at 26/03/11 17:26 did gyre and gimble:
> On Sat, 26 Mar 2011 13:26:54 +0000, Colin Guthrie <intel@colin.guthr.ie> wrote:
>> Still see a couple weird bits occasionally but I've only seen then in
>> Firefox on font glyphs so I think that's a FF problem - it certainly
>> doesn't seem to be generic like the one that patch fixes. Hopefully
>> it'll go into 2.6.38.2 :)
> 
> I've an unusual bug https://bugs.freedesktop.org/show_bug.cgi?id=35557
> that I've not begun to dig into. Similar?

Seems kinda similar, but I've not seen it quite as holistic as that
before. I tend to see a particular word messed up, rather than an
individual glyph messed up consistently throughout the page, but perhaps
I've just not noticed (it is quite subtle in that screenshot).

Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| http://colin.guthr.ie/ |
+------------------------+

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-03-26 13:26       ` Colin Guthrie
  2011-03-26 17:26         ` Chris Wilson
@ 2011-04-25 16:58         ` Paul Menzel
  2011-04-25 21:13           ` Chris Wilson
  1 sibling, 1 reply; 12+ messages in thread
From: Paul Menzel @ 2011-04-25 16:58 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1614 bytes --]

Dear Chris,


On Sa, 2011-03-26 at 13:26 +0000, an unknown sender wrote:
> 'Twas brillig, and Chris Wilson at 23/03/11 18:51 did gyre and gimble:
> > On Wed, 23 Mar 2011 19:35:56 +0100, Tino Keitel <tino.keitel+xorg at tikei.de> wrote:
> >> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> >>> commit 29c5a587284195278e233eec5c2234c24fb2c204
> >>> Author: Chris Wilson <chris at chris-wilson.co.uk>
> >>> Date:   Thu Mar 17 15:23:22 2011 +0000
> >>>
> >>>     drm/i915: Fix tiling corruption from pipelined fencing

> >> where exactly can I find a version of the patch that applies against 2.6.38?
> > 
> > It's supposed to be available from kernel.org, but that appears to be
> > lagging severely, so try:
> > 
> > http://cgit.freedesktop.org/~ickle/linux-2.6/commit/?h=2.6.38&id=3b936797f5e4623ae1b80a5f0c4df30a17360bf5
> 
> Thanks Chris, that seems to have done the trick.
> 
> Still see a couple weird bits occasionally but I've only seen then in
> Firefox on font glyphs so I think that's a FF problem - it certainly
> doesn't seem to be generic like the one that patch fixes. Hopefully
> it'll go into 2.6.38.2 :)

I did not see the above commit in 2.6.38.x. Could it please be send to
<stable@kernel.org> for inclusion.


Thanks,

Paul


PS: I hope the message is threaded correctly. I have delivery problems
with lists hosted at Freedesktop.org and using the compressed archives
does not work so easily since Mailman seems to mangle the messages
before putting them into the archive [1].


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624111

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-04-25 16:58         ` Paul Menzel
@ 2011-04-25 21:13           ` Chris Wilson
  2011-04-29 20:16             ` Paul Menzel
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2011-04-25 21:13 UTC (permalink / raw)
  To: Paul Menzel, intel-gfx

On Mon, 25 Apr 2011 18:58:01 +0200, Paul Menzel <paulepanter@users.sourceforge.net> wrote:
> > >> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> > >>> commit 29c5a587284195278e233eec5c2234c24fb2c204
> > >>> Author: Chris Wilson <chris at chris-wilson.co.uk>
> > >>> Date:   Thu Mar 17 15:23:22 2011 +0000
> > >>>
> > >>>     drm/i915: Fix tiling corruption from pipelined fencing
> 
> I did not see the above commit in 2.6.38.x. Could it please be send to
> <stable@kernel.org> for inclusion.

I have a backported fix for 2.6.38.x.

Thanks for the reminder,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-04-25 21:13           ` Chris Wilson
@ 2011-04-29 20:16             ` Paul Menzel
  2011-05-12 21:37               ` Paul Menzel
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Menzel @ 2011-04-29 20:16 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]

Am Montag, den 25.04.2011, 22:13 +0100 schrieb Chris Wilson:
> On Mon, 25 Apr 2011 18:58:01 +0200, Paul Menzel <paulepanter@users.sourceforge.net> wrote:
> > > >> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> > > >>> commit 29c5a587284195278e233eec5c2234c24fb2c204
> > > >>> Author: Chris Wilson <chris at chris-wilson.co.uk>
> > > >>> Date:   Thu Mar 17 15:23:22 2011 +0000
> > > >>>
> > > >>>     drm/i915: Fix tiling corruption from pipelined fencing
> > 
> > I did not see the above commit in 2.6.38.x. Could it please be send to
> > <stable@kernel.org> for inclusion.
> 
> I have a backported fix for 2.6.38.x.

Great. I did not see it in 2.6.38.5-stable review [1] though. Is the
backported fix included there?


Thanks,

Paul


[1] https://lkml.org/lkml/2011/4/29/259

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Graphical corruption post 2.6.38
  2011-04-29 20:16             ` Paul Menzel
@ 2011-05-12 21:37               ` Paul Menzel
  0 siblings, 0 replies; 12+ messages in thread
From: Paul Menzel @ 2011-05-12 21:37 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1030 bytes --]

Am Freitag, den 29.04.2011, 22:16 +0200 schrieb Paul Menzel:
> Am Montag, den 25.04.2011, 22:13 +0100 schrieb Chris Wilson:
> > On Mon, 25 Apr 2011 18:58:01 +0200, Paul Menzel <paulepanter@users.sourceforge.net> wrote:
> > > > >> On Wed, Mar 23, 2011 at 14:08:24 +0000, Chris Wilson wrote:
> > > > >>> commit 29c5a587284195278e233eec5c2234c24fb2c204
> > > > >>> Author: Chris Wilson <chris at chris-wilson.co.uk>
> > > > >>> Date:   Thu Mar 17 15:23:22 2011 +0000
> > > > >>>
> > > > >>>     drm/i915: Fix tiling corruption from pipelined fencing
> > > 
> > > I did not see the above commit in 2.6.38.x. Could it please be send to
> > > <stable@kernel.org> for inclusion.
> > 
> > I have a backported fix for 2.6.38.x.
> 
> Great. I did not see it in 2.6.38.5-stable review [1] though. Is the
> backported fix included there?

I just want to report that using Fedora 15 Beta Live stick using Linux
kernel 2.6.38.x also exhibits this problem.


Thanks,

Paul


> [1] https://lkml.org/lkml/2011/4/29/259

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-05-12 21:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23 13:54 Graphical corruption post 2.6.38 Colin Guthrie
2011-03-23 14:08 ` Chris Wilson
2011-03-23 15:26   ` Colin Guthrie
2011-03-23 18:35   ` Tino Keitel
2011-03-23 18:51     ` Chris Wilson
2011-03-26 13:26       ` Colin Guthrie
2011-03-26 17:26         ` Chris Wilson
2011-03-27 15:57           ` Colin Guthrie
2011-04-25 16:58         ` Paul Menzel
2011-04-25 21:13           ` Chris Wilson
2011-04-29 20:16             ` Paul Menzel
2011-05-12 21:37               ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).