mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] drm/i915 Screen corruption introduced by  a00b10c360b35d6431a94cb
@ 2011-02-19  5:58 Indan Zupancic
  2011-02-19 18:25 ` Daniel Vetter
  0 siblings, 1 reply; 24+ messages in thread
From: Indan Zupancic @ 2011-02-19  5:58 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Daniel Vetter, LKML, dri-devel, indan

Hello,

Since 2.6.38-rc I get screen corruption (mostly horizontal grabage stripes on
the right side of the screen). After a long time bisecting the offending commit
ends up being:

commit a00b10c360b35d6431a94cbf130a4e162870d661
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 24 21:15:47 2010 +0100

    drm/i915: Only enforce fence limits inside the GTT.

    So long as we adhere to the fence registers rules for alignment and no
    overlaps (including with unfenced accesses to linear memory) and account
    for the tiled access in our size allocation, we do not have to allocate
    the full fenced region for the object. This allows us to fight the bloat
    tiling imposed on pre-i965 chipsets and frees up RAM for real use. [Inside
    the GTT we still suffer the additional alignment constraints, so it doesn't
    magic allow us to render larger scenes without stalls -- we need the
    expanded GTT and fence pipelining to overcome those...]

    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

This commit caused other problems too, which Daniel tried to fix with commits:

5e78330126e23e00950 drm/i915: fix relaxed tiling for gen <= 3 && !g33
75e9e9158f38e5cb21e drm/i915: kill mappable/fenceable disdinction
818f2a3cc34b0673dcc drm/i915: revert pageflip/mappable related abi breakage

But those don't fix my screen corruption.

Unfortunately, it's a big commit and it doesn't revert cleanly, and its size
makes it unclear what the source of the problem is. Daniel's commits don't
revert cleanly either, so reverting all of them didn't work.

I'll start poking at it and see if I can find anything.

Greetings,

Indan



^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: [BUG] drm/i915 Screen corruption introduced by  a00b10c360b35d6431a94cb
@ 2011-02-22  3:25 Indan Zupancic
  2011-02-22  3:39 ` Indan Zupancic
  0 siblings, 1 reply; 24+ messages in thread
From: Indan Zupancic @ 2011-02-22  3:25 UTC (permalink / raw)
  To: Indan Zupancic, Chris Wilson, LKML, dri-devel

Hi,

On Sun, February 20, 2011 14:21, Daniel Vetter wrote:
> Well, don't start jumping around, yet. These patches are just to rule out
> some theories. Now: Is it fixed with just the 2nd patch alone or do you need both
> patches? This is very important, so please test extensively whether there are really
> no corruptions with just the 2nd patch.

I managed to create some corruption with an xterm above xpdf. It looks  different
than the original corruption, so I think it's safe to say it's a different bug:

http://img593.imageshack.us/i/ss1298340823.png
http://img203.imageshack.us/i/ss1298340776.png

This was without xcompmgr running, I don't think I would have seen it otherwise.
Actually, it turns out it's really easy to trigger as well, so I can more easily
test patches now. Unfortunately I wasn't smart enough to store the bisecting kernels,
gah!

I tried with both your patches, as well as the HIC poking patch, but I still get it.

I'll try to pinpoint more exactly when this started to happen.

Greetings,

Indan



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

end of thread, other threads:[~2011-03-11  9:23 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-19  5:58 [BUG] drm/i915 Screen corruption introduced by a00b10c360b35d6431a94cb Indan Zupancic
2011-02-19 18:25 ` Daniel Vetter
2011-02-20  2:20   ` Indan Zupancic
2011-02-20  2:26     ` Indan Zupancic
2011-02-20  9:20     ` Daniel Vetter
2011-02-20 11:02       ` Indan Zupancic
2011-02-20 10:55     ` Daniel Vetter
2011-02-20 11:19       ` Indan Zupancic
2011-02-20 13:21         ` Daniel Vetter
2011-02-21  1:11           ` Indan Zupancic
     [not found]             ` <1298395549-4064-1-git-send-email-daniel.vetter@ffwll.ch>
     [not found]               ` <ed85db84d2d5ea460898d78e1179c6ca.squirrel@webmail.greenhost.nl>
2011-02-23  7:10                 ` [PATCH] drm/i915: fix corruptions on i8xx due to relaxed fencing Daniel Vetter
2011-03-10  5:06                   ` Indan Zupancic
2011-03-10  7:52                     ` Daniel Vetter
2011-03-10 10:36                       ` Indan Zupancic
2011-03-10 13:31                         ` Daniel Vetter
2011-03-11  1:08                           ` Indan Zupancic
2011-03-11  9:23                             ` Daniel Vetter
2011-02-21  2:51       ` [BUG] drm/i915 Screen corruption introduced by a00b10c360b35d6431a94cb Indan Zupancic
2011-02-20  3:51   ` Peter Stuge
2011-02-20  6:13     ` Indan Zupancic
2011-02-21  4:10       ` Peter Stuge
2011-02-21  5:26         ` Indan Zupancic
2011-02-22  3:25 Indan Zupancic
2011-02-22  3:39 ` Indan Zupancic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®