Bug 43552 - [Mobile 4 Series] Gpu hang after a few minutes using gnome-shell with sna enabled
Summary: [Mobile 4 Series] Gpu hang after a few minutes using gnome-shell with sna ena...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 09:07 UTC by eandry@free.fr
Modified: 2017-07-24 23:03 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
i915_capabilities (323 bytes, application/octet-stream)
2011-12-06 09:07 UTC, eandry@free.fr
no flags Details
i915_error_state (1.40 MB, application/octet-stream)
2011-12-06 09:08 UTC, eandry@free.fr
no flags Details

Description eandry@free.fr 2011-12-06 09:07:01 UTC
Gmome-shell crashes after a few minutes due to gpu hang :

Dec  6 17:30:53 gentoo-manux kernel: [  385.088122] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Dec  6 17:30:53 gentoo-manux kernel: [  385.088129] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
Dec  6 17:30:53 gentoo-manux kernel: [  385.089699] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 8309 at 8306, next 8310)
Dec  6 17:30:53 gentoo-manux kernel: [  385.591111] [drm:i915_reset] *ERROR* Failed to reset chip.


System environment:
-- chipset: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
-- system architecture: 64-bit
-- xf86-video-intel: 2.17.0
-- xserver: X.Org X Server 1.11.2
-- mesa: OpenGL version string: 2.1 Mesa 7.11.2
-- libdrm: 2.4.27
-- kernel: 3.1.4-gentoo
-- Linux distribution: Gentoo
-- Machine or mobo model: Lenovo SL510
-- Display connector: integrated
Comment 1 eandry@free.fr 2011-12-06 09:07:55 UTC
Created attachment 54151 [details]
i915_capabilities
Comment 2 eandry@free.fr 2011-12-06 09:08:39 UTC
Created attachment 54152 [details]
i915_error_state
Comment 3 Chris Wilson 2011-12-06 09:47:58 UTC
commit a5353a7c1d1f02b887f61f543c8e4bd4e8bd104f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Nov 21 10:58:17 2011 +0000

sna/gen4: Use the special composite rect emission for fill_one()
    
    In order to workaround a bug in the shaders on gen4, we need to flush
    the pipeline after every rectangle. The recently introduced fill-one
    mechanism for gen4, missed this vital step triggering a random hang with
    an otherwise sane batchbuffer (the missing flush is hard to spot!).
    
    Fixes regression from 86f99379ee5 (sna/gen4: Add fill-one).
    
    Reported-by: Albert Damen <albrt@gmx.net>
    Reported-by: Fryderyk Dziarmagowski <fdziarmagowski@gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43083
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 4 eandry@free.fr 2011-12-06 09:53:40 UTC
Nice, but is there a patch for that I can submit to gentoo developpers ?
Comment 5 Chris Wilson 2011-12-06 10:21:43 UTC
I hope they would be able to handle git commit ids, but you can also use
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=a5353a7c1d1f02b887f61f543c8e4bd4e8bd104f
Comment 6 eandry@free.fr 2011-12-06 11:26:37 UTC
Thanks a lot !


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.