Bug 57804 - [gm45] lots of corruption (2.20.14)
Summary: [gm45] lots of corruption (2.20.14)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.7 (2012.06)
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 12:27 UTC by J49137
Modified: 2012-12-02 19:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (22.43 KB, text/plain)
2012-12-02 12:27 UTC, J49137
no flags Details
VLC output (-v 2) when video is broken (5.05 KB, text/plain)
2012-12-02 12:28 UTC, J49137
no flags Details
/sys/kernel/debug/dri/0/i915_error_state (1.36 MB, text/plain)
2012-12-02 12:29 UTC, J49137
no flags Details
corruption.png: corruption around window decorations (148.10 KB, image/png)
2012-12-02 12:30 UTC, J49137
no flags Details
urxvt corruption (1).png: corruption within composited windows (454.16 KB, text/plain)
2012-12-02 12:31 UTC, J49137
no flags Details
urxvt corruption (2).png: corruption within composited windows (480.90 KB, text/plain)
2012-12-02 12:31 UTC, J49137
no flags Details
urxvt corruption (3).png: corruption within composited windows (552.41 KB, text/plain)
2012-12-02 12:32 UTC, J49137
no flags Details
Xine output when it crashes (881 bytes, text/plain)
2012-12-02 12:32 UTC, J49137
no flags Details
urxvt corruption (1).png: corruption within composited windows (454.16 KB, image/png)
2012-12-02 12:33 UTC, J49137
no flags Details
urxvt corruption (3).png: corruption within composited windows (552.41 KB, image/png)
2012-12-02 12:33 UTC, J49137
no flags Details
urxvt corruption (2).png: corruption within composited windows (480.90 KB, image/png)
2012-12-02 12:33 UTC, J49137
no flags Details

Description J49137 2012-12-02 12:27:23 UTC
Created attachment 70911 [details]
Xorg log

(I'm including all of this in the same bug because I feel like it might all have the same cause; sorry if you'd prefer them to be split up.)

So, a few bad things are happening since the upgrade to 2.20.14:

- VLC doesn't display video.

With the default output mode, 'XVideo output (XCB)', the display is blank with hardware acceleration enabled (within VLC), and works but with large black artifacts without.  With 'X11 video output (XCB)', video works fine.  With 'OpenGL GLX video output (XCB)', I get the artifacts with and without acceleration.

I don't see anything in VLC's output, but I'll attach it anyway.  This also happens with Openbox (no compositing).

- I see artifacts on composited windows.

These sometimes appear when such windows move or change.  I'll attach a few screenshots for rxvt-unicode ('urxvt corruption (1-3).png').

- I sometimes see artifacts around windows.

When this happens, it happens for every window, but it doesn't happen often.

I'll attach a screenshot ('corruption.png').

- Xine crashes.

If I open Xine, it shows the window, then dies and prints this:

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  149 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  2635
  Current serial number in output stream:  2636

I'll attach a full log.

----

I see these two lines in the Xorg log (full log is attached):

[    33.265] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[    33.265] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.

In dmesg, I see:

[  788.928035] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
[  788.928052] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state

I'll attach the mentioned file (i915_error_state).

I use Compiz without a desktop environment on 64-bit Arch Linux, using a GMA 4500MHD.  Installed packages are xorg-server 1.13.0-4 and xf86-video-intel 2.20.14-1.
Comment 1 J49137 2012-12-02 12:28:13 UTC
Created attachment 70912 [details]
VLC output (-v 2) when video is broken
Comment 2 J49137 2012-12-02 12:29:19 UTC
Created attachment 70913 [details]
/sys/kernel/debug/dri/0/i915_error_state
Comment 3 J49137 2012-12-02 12:30:42 UTC
Created attachment 70914 [details]
corruption.png: corruption around window decorations
Comment 4 J49137 2012-12-02 12:31:32 UTC
Created attachment 70915 [details]
urxvt corruption (1).png: corruption within composited windows
Comment 5 J49137 2012-12-02 12:31:53 UTC
Created attachment 70916 [details]
urxvt corruption (2).png: corruption within composited windows
Comment 6 J49137 2012-12-02 12:32:04 UTC
Created attachment 70917 [details]
urxvt corruption (3).png: corruption within composited windows
Comment 7 J49137 2012-12-02 12:32:12 UTC
Created attachment 70918 [details]
Xine output when it crashes
Comment 8 J49137 2012-12-02 12:33:20 UTC
Created attachment 70919 [details]
urxvt corruption (1).png: corruption within composited windows
Comment 9 J49137 2012-12-02 12:33:32 UTC
Created attachment 70920 [details]
urxvt corruption (3).png: corruption within composited windows
Comment 10 J49137 2012-12-02 12:33:44 UTC
Created attachment 70921 [details]
urxvt corruption (2).png: corruption within composited windows
Comment 11 XeO2 2012-12-02 15:47:07 UTC
I have some of these problems too and a few additional problems. I believe it is the same bug that is causing these problems, so I'm adding my comments instead of opening a new bug.

- VLC: Same as above -- no video displayed.
- mplayer/SMPlayer: conspicuous horizontal tears in the video when the scene pans left or right in my old default output driver "gl (fast)". Changing to "gl_tiled" fixed the problem.
- Youtube videos: When launching a new youtube video in Chrome browser version 25.0.1323.1, the entire screen flickers a few times, and then the video plays normally.
- Youtube videos: When launching some specific youtube videos (https://www.youtube.com/watch?v=YW9f2KsyaOI&feature=g-high), the X server crashes completely and I'm taken back to the lightdm login screen. My journald did not report any strange behavior for that time period either -- just a "session closed for user..."
Comment 12 Chris Wilson 2012-12-02 19:42:00 UTC
commit 131600020638ef15166361214cd5e1a0c08c2ea6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Nov 30 11:43:56 2012 +0000

    sna: Prevent gen4 from rendering to I915_TILING_Y
    
    It always seems to end up in a hang...
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.