<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [ivb] meta mutex deadlock"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98532">98532</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ivb] meta mutex deadlock
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Running "piglit run gpu" stalls in a sea of mutex deadlocks on Ivybridge:
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007f0ede892bc5 in __GI___pthread_mutex_lock (mutex=0x562520431208) at
../nptl/pthread_mutex_lock.c:80
#2 0x00007f0edd667a73 in mtx_lock (mtx=<optimized out>) at
../../include/c11/threads_posix.h:227
#3 _mesa_lock_context_textures (ctx=ctx@entry=0x7f0ee3a44038) at
main/texobj.c:2017
#4 0x00007f0edd634419 in _mesa_update_state (ctx=ctx@entry=0x7f0ee3a44038) at
main/state.c:496
#5 0x00007f0edd7771ed in _mesa_meta_pbo_TexSubImage
(ctx=ctx@entry=0x7f0ee3a44038, dims=dims@entry=2,
tex_image=tex_image@entry=0x562520879350, xoffset=xoffset@entry=0,
yoffset=yoffset@entry=0, zoffset=<optimized out>, zoffset@entry=0,
width=256, height=256, depth=1, format=6408, type=5121, pixels=0x5625207543f0,
create_pbo=true,
packing=0x7f0ee3a5f2a8) at drivers/common/meta_tex_subimage.c:269
#6 0x00007f0edd9a163d in intelTexSubImage (ctx=0x7f0ee3a44038, dims=2,
texImage=0x562520879350, xoffset=0, yoffset=0, zoffset=0, width=256,
height=256, depth=1, format=6408,
type=5121, pixels=0x5625207543f0, packing=0x7f0ee3a5f2a8) at
intel_tex_subimage.c:202
#7 0x00007f0edd65af0a in _mesa_texture_sub_image (dsa=false,
pixels=0x5625207543f0, type=5121, format=6408, depth=1, height=256, width=256,
zoffset=0, yoffset=0,
xoffset=<optimized out>, level=0, target=34037, texImage=0x562520879350,
texObj=0x562520877c50, dims=2, ctx=0x7f0ee3a44038) at main/teximage.c:3239
#8 texsubimage (callerName=0x7f0eddb1d6a1 "glTexSubImage2D",
pixels=0x5625207543f0, type=5121, format=6408, depth=1, height=256, width=256,
zoffset=0, yoffset=0, xoffset=0,
level=0, target=34037, dims=2, ctx=0x7f0ee3a44038) at main/teximage.c:3297
#9 _mesa_TexSubImage2D (target=34037, level=level@entry=0,
xoffset=xoffset@entry=0, yoffset=yoffset@entry=0, width=width@entry=256,
height=height@entry=256, format=6408,
type=5121, pixels=0x5625207543f0) at main/teximage.c:3438
#10 0x00007f0edd77b951 in _mesa_meta_setup_drawpix_texture
(ctx=ctx@entry=0x7f0ee3a44038, tex=tex@entry=0x5625206f98d4,
newTex=newTex@entry=0 '\000', width=width@entry=256,
height=height@entry=256, format=format@entry=6408, type=5121,
pixels=0x5625207543f0) at drivers/common/meta.c:1450
#11 0x00007f0edd77c9b3 in _mesa_meta_DrawPixels (ctx=ctx@entry=0x7f0ee3a44038,
x=x@entry=0, y=y@entry=0, width=width@entry=256, height=height@entry=256,
format=format@entry=6408,
type=5121, unpack=0x7f0ee3a5f2a8, pixels=0x5625207543f0) at
drivers/common/meta.c:2294
#12 0x00007f0edd99be37 in intelDrawPixels (ctx=0x7f0ee3a44038, x=0, y=0,
width=256, height=256, format=6408, type=5121, unpack=0x7f0ee3a5f2a8,
pixels=0x5625207543f0)
at intel_pixel_draw.c:174
#13 0x00007f0edd4ed932 in _mesa_DrawPixels (width=256, height=256, format=6408,
type=5121, pixels=0x5625207543f0) at main/drawpix.c:163
#14 0x0000562520203d09 in test_mipmap_copypixels (srcIntFormat=6408,
dstIntFormat=6408, doPixelTransfer=0 '\000', useReadDrawPix=1 '\001')
at /usr/src/piglit/tests/fbo/fbo-mipmap-copypix.c:172
#15 0x00005625202040ad in piglit_display () at
/usr/src/piglit/tests/fbo/fbo-mipmap-copypix.c:265
#16 0x00007f0ee35ab18b in run_test (gl_fw=0x562520417c20, argc=1,
argv=0x7ffd3f607d98) at
/usr/src/piglit/tests/util/piglit-framework-gl/piglit_fbo_framework.c:52
#17 0x00007f0ee35915cc in piglit_gl_test_run (argc=1, argv=0x7ffd3f607d98,
config=0x7ffd3f607c60) at /usr/src/piglit/tests/util/piglit-framework-gl.c:203
#18 0x0000562520203860 in main (argc=1, argv=0x7ffd3f607d98) at
/usr/src/piglit/tests/fbo/fbo-mipmap-copypix.c:42
Another:
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007fcabbab6bc5 in __GI___pthread_mutex_lock (mutex=0x556a56782208) at
../nptl/pthread_mutex_lock.c:80
#2 0x00007fcaba88ba73 in mtx_lock (mtx=<optimized out>) at
../../include/c11/threads_posix.h:227
#3 _mesa_lock_context_textures (ctx=ctx@entry=0x7fcac0c68038) at
main/texobj.c:2017
#4 0x00007fcaba858419 in _mesa_update_state (ctx=ctx@entry=0x7fcac0c68038) at
main/state.c:496
#5 0x00007fcaba99b64f in _mesa_meta_pbo_GetTexSubImage
(ctx=ctx@entry=0x7fcac0c68038, dims=dims@entry=3,
tex_image=tex_image@entry=0x556a56a58f10, xoffset=xoffset@entry=0,
yoffset=yoffset@entry=0, zoffset=zoffset@entry=0, width=32, height=1,
depth=1, format=6408, type=5121, pixels=0x0, packing=0x7fcac0c83270)
at drivers/common/meta_tex_subimage.c:432
#6 0x00007fcababc44cc in intel_get_tex_sub_image (ctx=0x7fcac0c68038,
xoffset=0, yoffset=0, zoffset=0, width=32, height=1, depth=1, format=6408,
type=5121, pixels=0x0,
texImage=0x556a56a58f10) at intel_tex_image.c:555
#7 0x00007fcaba875a21 in get_texture_image (ctx=ctx@entry=0x7fcac0c68038,
texObj=texObj@entry=0x556a56a58ac0, target=target@entry=3552,
level=level@entry=0,
xoffset=xoffset@entry=0, yoffset=yoffset@entry=0, zoffset=0, width=32,
height=1, depth=1, format=6408, type=5121, pixels=0x0, caller=<optimized out>)
at main/texgetimage.c:1344
#8 0x00007fcaba877c37 in _mesa_GetTexImage (target=3552, level=0, format=6408,
type=5121, pixels=0x0) at main/texgetimage.c:1412
#9 0x00007fcac0756359 in stub_glGetTexImage (target=3552, level=0,
format=6408, type=5121, pixels=0x0) at
/usr/src/piglit/tests/util/piglit-dispatch-gen.c:26454
#10 0x0000556a56554c0c in getTexImage (doPBO=true, target=3552,
data=0x7fff8dce4d50, internalformat=32856, tolerance=0) at
/usr/src/piglit/tests/texturing/getteximage-targets.c:196
#11 0x0000556a565550f4 in piglit_init (argc=2, argv=0x7fff8dcf6f28) at
/usr/src/piglit/tests/texturing/getteximage-targets.c:318
#12 0x00007fcac07cf16e in run_test (gl_fw=0x556a56768c20, argc=2,
argv=0x7fff8dcf6f28) at
/usr/src/piglit/tests/util/piglit-framework-gl/piglit_fbo_framework.c:50
#13 0x00007fcac07b55cc in piglit_gl_test_run (argc=2, argv=0x7fff8dcf6f28,
config=0x7fff8dcf6df0) at /usr/src/piglit/tests/util/piglit-framework-gl.c:203
#14 0x0000556a56554430 in main (argc=2, argv=0x7fff8dcf6f28) at
/usr/src/piglit/tests/texturing/getteximage-targets.c:33</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>