Bug 35704 - X.org on Intel produces garbage sometimes being run on Linux 2.6.38
Summary: X.org on Intel produces garbage sometimes being run on Linux 2.6.38
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact:
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 13:03 UTC by Andrej Shadura
Modified: 2017-07-24 23:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
System information (26.95 KB, text/plain)
2011-03-26 13:03 UTC, Andrej Shadura
no flags Details
The screenshot (24.32 KB, image/png)
2011-03-26 13:05 UTC, Andrej Shadura
no flags Details

Description Andrej Shadura 2011-03-26 13:03:31 UTC
Created attachment 44897 [details]
System information

After upgrading the kernel, X.org produces garbage in random screen areas. 
That garbage persists in the windows in which it appears (I'm able to take 
a screenshot of it).

System information is attached.
Comment 1 Andrej Shadura 2011-03-26 13:05:42 UTC
Created attachment 44898 [details]
The screenshot
Comment 2 Chris Wilson 2011-03-26 13:24:31 UTC
kernel 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>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.