Bug 26556 - random G33 hangs and texture borkness
Summary: random G33 hangs and texture borkness
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2010-02-13 08:44 UTC by A. Lew
Modified: 2010-06-26 02:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Borked textures in a window. Bevore the udate to the git head of libdrm and xf86-vide-intel anly small textures were affected. (347.70 KB, image/png)
2010-02-13 08:44 UTC, A. Lew
no flags Details
Crashing XOrg.log NOTE: this is before the updates to the git head of libdrm and video-intel. (142.47 KB, text/plain)
2010-02-13 08:47 UTC, A. Lew
no flags Details
GPU-dump: NOTE before the update to the newsts libdrm, video-intel (82.96 KB, application/x-bzip2)
2010-02-13 08:51 UTC, A. Lew
no flags Details
kernel output of the crashed Xorg session. (30.17 KB, text/plain)
2010-02-13 08:52 UTC, A. Lew
no flags Details

Description A. Lew 2010-02-13 08:44:51 UTC
Created attachment 33273 [details]
Borked textures in a window. Bevore the udate to the git head of libdrm and xf86-vide-intel anly small textures were affected.

My system suffers from random X11 hangs. Also some compositing textures (like images but also terminal windows) render wrong (see attached image). 

System:intel DG33TL with integrated Gfx G33.
BIOS: DPP3510J.86A.0572.2009.0715.2346
xorg-server: 1.7.4.901
xf86-video-intel: 00e7312dc45e54cd4547a943897a524639cb0b38/git head but the truble started with the version 2.10.0
libdrm: 4a17be4a86cde1065908576e44f3710f6d9d68af 
kernel: 724e6d3fe8003c3f60bf404bf22e4e331327c596 (linux 2.6.33-rc8)
Comment 1 A. Lew 2010-02-13 08:47:38 UTC
Created attachment 33274 [details]
Crashing XOrg.log NOTE: this is before the updates to the git head of libdrm and video-intel.
Comment 2 A. Lew 2010-02-13 08:51:29 UTC
Created attachment 33275 [details]
GPU-dump: NOTE before the update to the newsts libdrm, video-intel
Comment 3 A. Lew 2010-02-13 08:52:28 UTC
Created attachment 33276 [details]
kernel output of the crashed Xorg session.
Comment 4 A. Lew 2010-02-13 09:18:05 UTC
Forgot to mention that MESA is at version level 7.7.
Comment 5 Ian Romanick 2010-03-22 18:26:50 UTC
This seems to be the smoking gun:

(EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Input/output error.

Are you able to reliably reproduce this, or was it just a one-off?  If you can reproduce it, what are the steps?  You mention "some compositing textures".  Are you running a compositor?  If so, which one?
Comment 6 Chris Wilson 2010-06-22 05:59:49 UTC
Again many tiling bugs fixed in the last few months. Of particular note is:

commit 2eec53d0b9232970fe3d03ce6c8940ebeea44bee
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Mar 23 17:28:22 2010 +0000

    uxa: Default to using TILING_X for pixmaps.
    
    On memory constrained hardware, tiling is vital for good performance as
    it minimizes cache misses.  The downside is that for older hardware
    (which often suffers from the lack of bandwidth) requires the use of
    fences for many operations, which are in short supply and so may cause
    shorter batchbuffers. However our batch buffers are typically short and
    so this is unlikely to be a concern and not affect the performance wins.
    
    A quick bit of testing suggests the effect is inconclusive on
    firefox/i945:
                      linear            tiled
      xcb             205.470           206.219
      xcb-render-0.0  404.704           388.413
      xlib            166.410           170.805
    
    A secondary effect of the patch is to workaround a G31 specific hang
    when attempting to use linear 2048x2048 surfaces. Bonus!
    
    Fixes:
      Bug 25375 - Performance issue using texture from pixmap (tfp) glx extension on 945
      http://bugs.freedesktop.org/show_bug.cgi?id=25375
    
      Bug 27100 - GPU Hung copying a 2048x1152 pixmap
      http://bugs.freedesktop.org/show_bug.cgi?id=27100
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Tested-by: John <jvinla@gmail.com>
Comment 7 Chris Wilson 2010-06-26 02:32:12 UTC
Marking as fixed as this matches the characteristics of the tiling bugs so far found and fixed. Please reopen if this issue persists on the current stack.


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.