[Bug 79675] New: Intel driver crash in brw_update_renderbuffer_surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 5 02:52:42 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79675

          Priority: medium
            Bug ID: 79675
                CC: intel-gfx-bugs at lists.freedesktop.org
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: Intel driver crash in brw_update_renderbuffer_surface
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: post+fdo at ralfj.de
          Hardware: Other
            Status: NEW
           Version: XOrg CVS
         Component: DRM/Intel
           Product: DRI

Created attachment 100451
  --> https://bugs.freedesktop.org/attachment.cgi?id=100451&action=edit
GPU Crash Dump

I am now for the second time experiencing a crash in the Intel driver in
brw_update_renderbuffer_surface. The crashing application is KWin, so this is
fairly disruptive. 
Shortly before the crash, I got some weird graphics artefacts (entire window
contents, in this case Firefox, getting blacked out - or better, some pretty
dark grey).


Here's the stacktrace:

#6  intel_miptree_used_for_rendering (mt=0x0) at
../../../../../../../src/mesa/drivers/dri/i965/intel_mipmap_tree.h:696
#7  brw_update_renderbuffer_surface (brw=0x7f92fd2de038, rb=0x26a0700,
layered=<optimized out>, unit=0) at
../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:620
#8  0x00007f92fdee555d in brw_update_renderbuffer_surfaces (brw=0x7f92fd2de038)
at ../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:702
#9  0x00007f92fdeb395a in brw_upload_state (brw=brw at entry=0x7f92fd2de038) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:645
#10 0x00007f92fde63fd7 in brw_try_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>,
nr_prims=<optimized out>, prims=<optimized out>, arrays=<optimized out>,
ctx=0x7f92fd2de038) at
../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:487
#11 brw_draw_prims (ctx=0x7f92fd2de038, prims=<optimized out>,
nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized
out>, min_index=4294967295, max_index=4294967295, unused_tfb_object=0x0,
indirect=0x0) at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:581
#12 0x00007f92fdcc08d3 in vbo_handle_primitive_restart
(ctx=ctx at entry=0x7f92fd2de038, prim=prim at entry=0x7fff9dd32080,
nr_prims=nr_prims at entry=1, ib=ib at entry=0x7fff9dd32060,
index_bounds_valid=index_bounds_valid at entry=0 '\000',
min_index=min_index at entry=4294967295, max_index=max_index at entry=4294967295) at
../../../../src/mesa/vbo/vbo_exec_array.c:585
#13 0x00007f92fdcc1bf0 in vbo_validated_drawrangeelements
(ctx=ctx at entry=0x7f92fd2de038, mode=mode at entry=4,
index_bounds_valid=index_bounds_valid at entry=0 '\000',
start=start at entry=4294967295, end=end at entry=4294967295, count=count at entry=30,
type=type at entry=5123, indices=indices at entry=0x0, basevertex=basevertex at entry=0,
numInstances=numInstances at entry=1, baseInstance=baseInstance at entry=0) at
../../../../src/mesa/vbo/vbo_exec_array.c:1006
#14 0x00007f92fdcc2085 in vbo_exec_DrawElementsBaseVertex (mode=4, count=30,
type=5123, indices=0x0, basevertex=0) at
../../../../src/mesa/vbo/vbo_exec_array.c:1179
#15 0x00007f93194902db in KWin::GLVertexBuffer::draw
(this=this at entry=0x27e2230, region=..., primitiveMode=primitiveMode at entry=7,
first=0, count=30, hardwareClipping=<optimized out>) at
../../../kwin/libkwineffects/kwinglutils.cpp:1936
#16 0x00007f931e77bab8 in KWin::SceneOpenGL2Window::performPaint
(this=this at entry=0x2cf5b30, mask=mask at entry=9, region=..., data=...) at
../../kwin/scene_opengl.cpp:1574


KWin automatically disabled compositing. Attempts to re-enable it fail, it just
crashes again immediately. Running "glxgears" segfaults with the following
stacktrace:

#0  0x00007ffff2d98c18 in get_stencil_miptree (irb=0x8ece60) at
../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c:257
#1  brw_workaround_depthstencil_alignment (brw=brw at entry=0x7ffff7f4e038,
clear_mask=clear_mask at entry=0) at
../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c:273
#2  0x00007ffff2d55af5 in brw_try_draw_prims (indirect=0x0, max_index=161,
min_index=0, ib=0x0, nr_prims=2, prims=0x8ee7c0, arrays=0x667920,
ctx=0x7ffff7f4e038) at
../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:427
#3  brw_draw_prims (ctx=0x7ffff7f4e038, prims=0x8ee7c0, nr_prims=2, ib=0x0,
index_bounds_valid=<optimized out>, min_index=0, max_index=161,
unused_tfb_object=0x0, indirect=0x0)
    at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:581
#4  0x00007ffff2bcccab in vbo_save_playback_vertex_list (ctx=0x7ffff7f4e038,
data=0x8ee3ec) at ../../../../src/mesa/vbo/vbo_save_draw.c:309
#5  0x00007ffff2ae3a12 in ext_opcode_execute (node=0x8ee3e8,
ctx=0x7ffff7f4e038) at ../../../../src/mesa/main/dlist.c:628
#6  execute_list (ctx=0x7ffff7f4e038, list=<optimized out>) at
../../../../src/mesa/main/dlist.c:7024
#7  0x00007ffff2af3f42 in _mesa_CallList (list=1) at
../../../../src/mesa/main/dlist.c:8328

dmesg says:

[ 5116.682010] [drm] stuck on render ring
[ 5116.682014] [drm] stuck on blitter ring
[ 5116.682602] [drm] GPU HANG: ecode 0:0xf4e9fffe, in Xorg [1007], reason: Ring
hung, action: reset
[ 5116.682603] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
[ 5116.682604] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[ 5116.682605] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[ 5116.682605] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
[ 5116.682606] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 5116.682666] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast,
banning!
[ 5118.684686] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off

I am attaching the output of "sudo cat /sys/class/drm/card0/error | gzip".

I am using Debian testing amd64, some version numbers:
KWin 4.11.9
Mesa 10.1.4
xserver-xorg 7.7+7
xserver-xorg-core 1.15.1
xserver-video-driver-intel 2.21.15
Kernel 3.15.0-rc7 (vanilla upstream)
The GPU is the HD3000 built into my Core i5-2450M.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140605/1464887f/attachment-0001.html>


More information about the intel-gfx-bugs mailing list