[Mesa-dev] Hang in dri3_wait_for_event
Gustaw Smolarczyk
wielkiegie at gmail.com
Fri Jan 8 09:44:36 PST 2016
Hi.
2016-01-08 18:11 GMT+01:00 Martin Peres <martin.peres at linux.intel.com>:
> On 08/01/16 18:37, Gustaw Smolarczyk wrote:
>>
>> 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 do not think you should, there are enough bug reports already for what can
> likely be attributed to the same issue.
>
>>
>> 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):
>
>
> What version of libxcb are you using.
I am using libxcb 1.11.1. If I understand correctly, the latter of the
patches attached in #84252 is included in this version.
> The patch for this particular bug
> should be sufficient. There is still another bug that I need to hunt down
> [1] which for some reason only manifests itself at home but not at work.
Just now, chrome hanged once again. It happened after I've been away
from the computer for an hour. I am not sure if that is related or not
though.
Gustaw
> Maybe I can try to fix that over the week end, since it is so cold outside
> :p
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=84252#c30
>
>
>>
>> (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
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>
More information about the mesa-dev
mailing list