[Mesa-dev] Hang in dri3_wait_for_event

Gustaw Smolarczyk wielkiegie at gmail.com
Fri Jan 8 08:37:08 PST 2016


Hello,

There are already quite a few bug reports[1][2][3] related to thread
hang when DRI3 is enabled. The problem still exists, at least for me.
Should I create another bug report about it? Or maybe the cause of
this hang is outside mesa?

I use xserver 1.18, xf86-video-ati git, libdrm git, mesa git
(radeonsi), kernel 4.3.3. An example stack trace (from chrome gpu
process):

(gdb) bt
#0  0x00007f3c19b3664d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3c18b1ba22 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f3c18b1d669 in xcb_wait_for_special_event () from
/usr/lib64/libxcb.so.1
#3  0x00007f3c186b0adb in dri3_wait_for_event
(draw=draw at entry=0x37742d8e64b8) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/loader/loader_dri3_helper.c:280
#4  0x00007f3c186b0e48 in loader_dri3_wait_for_msc
(draw=0x37742d8e64b8, target_msc=target_msc at entry=0,
divisor=divisor at entry=0, remainder=remainder at entry=0,
ust=0x7fff850f66b8, msc=0x7fff850f66b0, sbc=0x7fff850f66a8)
   at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/loader/loader_dri3_helper.c:314
#5  0x00007f3c186abfbb in dri3_wait_for_msc (sbc=<optimized out>,
msc=<optimized out>, ust=<optimized out>, remainder=0, divisor=0,
target_msc=0, pdraw=<optimized out>)
   at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/glx/dri3_glx.c:389
#6  dri3_drawable_get_msc (psc=<optimized out>, pdraw=<optimized out>,
ust=<optimized out>, msc=<optimized out>, sbc=<optimized out>) at
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/glx/dri3_glx.c:404
#7  0x00005654e934ef2a in ?? ()
#8  0x0000000000000000 in ?? ()

Regards,
Gustaw Smolarczyk

[1] https://bugs.freedesktop.org/show_bug.cgi?id=84252
[2] https://bugs.freedesktop.org/show_bug.cgi?id=81623
[3] https://bugs.freedesktop.org/show_bug.cgi?id=90202


More information about the mesa-dev mailing list