Bug 28195 - [855GM] GPU hang [drm:i915_hangcheck_elapsed]
Summary: [855GM] GPU hang [drm:i915_hangcheck_elapsed]
Status: CLOSED DUPLICATE of bug 28274
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Jesse Barnes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 02:09 UTC by oceans112
Modified: 2017-07-24 23:07 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
last batch buffer before the hang (476.85 KB, application/gzip)
2010-05-21 02:22 UTC, oceans112
no flags Details

Description oceans112 2010-05-21 02:09:41 UTC
chipset: 855GM
system architecture: i686
xf86-video-intel version: 2.11.0
xserver version: 1.8.0
mesa version: 7.8.1
libdrm version: 2.4.20
kernel version: 2.6.34

GPU hangs if I play flash animation, go fullscreen with mplayer or vlc while playing videos, play fretsonfire and sometimes even if I move my windows around or i switch focus with alt+tab.
I can still switch to vt and use it. I can also kill X server but trying to restart it leads to blank screen. 
Obviously I use KMS and this bug affect me from several previous version of kernel and at least one version of drivers listed above.

This is what the kernel says:
------------------------------------------------------------------------------
May 21 10:19:27 nemesis kernel: [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
May 21 10:19:27 nemesis kernel: render error detected, EIR: 0x00000000
May 21 10:19:27 nemesis kernel: [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 446602 at 446596)
------------------------------------------------------------------------------

PS: sorry, but english is not my language.
Comment 1 oceans112 2010-05-21 02:22:50 UTC
Created attachment 35779 [details]
last batch buffer before the hang
Comment 2 Peter Lewis 2010-06-24 01:36:19 UTC
Also affects:

Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Comment 3 Peter Lewis 2010-06-24 01:39:20 UTC
A relevant discussion on the Archlinux BBS:

http://bbs.archlinux.org/viewtopic.php?id=99488
Comment 4 Chris Wilson 2010-06-30 01:47:52 UTC
The batch buffer attached overflows, so it looks like:

commit 8accf0a891c85c7d747c5f7f4a4d8a99adb91b2a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon May 31 09:58:25 2010 +0100

    intel: Initialize batch->reserved_space on allocation
    
    Fixes the assert (and buffer overrun):
    
      glknots: intel_batchbuffer.c:164: _intel_batchbuffer_flush: Assertion
      'used >= batch->buf->size' failed.
    
    Reported in bug:
    
      Bug 28274 - xscreensaver's glknots hangs GPU (945GME/Pineview)
      https://bugs.freedesktop.org/show_bug.cgi?id=28274

*** This bug has been marked as a duplicate of bug 28274 ***


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.