On 2018-10-07 9:05 a.m., Marek Olšák wrote:
> From: Marek Olšák <[email protected]>
>
> Fast color clears should be much faster. Also, fast color clears on
> evicted buffers should be 200x faster on GFX8 and older.
Nice! Unfortunately, this broke clover with radeonsi. Everything using
OpenCL seems to hang, see e.g. the attached backtraces from clinfo.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7f63ecdb2740 (LWP 24202) "clinfo" syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
2 Thread 0x7f63e62bc700 (LWP 24203) "clinfo:rcs0" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915203af0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
3 Thread 0x7f63e5934700 (LWP 24204) "clinfo:disk$0" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915204768) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
4 Thread 0x7f63e510a700 (LWP 24205) "clinfo:cs0" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915214aa0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
5 Thread 0x7f63d7fff700 (LWP 24206) "clinfo:disk$0" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e9152185a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
6 Thread 0x7f63d77fe700 (LWP 24207) "clinfo:sh0" __lll_lock_wait () at
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
7 Thread 0x7f63d6ffd700 (LWP 24208) "clinfo:sh1" __lll_lock_wait () at
../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
8 Thread 0x7f63cffff700 (LWP 24209) "clinfo:sh2" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
9 Thread 0x7f63d67fc700 (LWP 24210) "clinfo:sh3" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
10 Thread 0x7f63d5ffb700 (LWP 24211) "clinfo:sh4" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
11 Thread 0x7f63d57fa700 (LWP 24212) "clinfo:sh5" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
12 Thread 0x7f63d4ff9700 (LWP 24213) "clinfo:sh6" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
13 Thread 0x7f63cf7fe700 (LWP 24214) "clinfo:sh7" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
14 Thread 0x7f63ceffd700 (LWP 24215) "clinfo:sh8" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
15 Thread 0x7f63ce7fc700 (LWP 24216) "clinfo:sh9" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
16 Thread 0x7f63cdffb700 (LWP 24217) "clinfo:sh10" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
17 Thread 0x7f63cd7fa700 (LWP 24218) "clinfo:sh11" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915217d00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
18 Thread 0x7f63ccff9700 (LWP 24219) "clinfo:shlo0" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915218280) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
19 Thread 0x7f639bfff700 (LWP 24220) "clinfo:shlo1" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915218280) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
20 Thread 0x7f639b7fe700 (LWP 24221) "clinfo:shlo2" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915218280) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
21 Thread 0x7f639affd700 (LWP 24222) "clinfo:shlo3" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915218280) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
22 Thread 0x7f639a7fc700 (LWP 24223) "clinfo:shlo4" 0x00007f63e7e36e6c in
futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55e915218280) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
(gdb) thread apply all bt
Thread 22 (Thread 0x7f639a7fc700 (LWP 24223)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915218280) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218230,
cond=0x55e915218258) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218258, mutex=0x55e915218230) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218230, cond=0x55e915218258) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521b7a0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f639a7fc700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 21 (Thread 0x7f639affd700 (LWP 24222)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915218280) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218230,
cond=0x55e915218258) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218258, mutex=0x55e915218230) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218230, cond=0x55e915218258) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521b5f0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f639affd700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 20 (Thread 0x7f639b7fe700 (LWP 24221)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915218280) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218230,
cond=0x55e915218258) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218258, mutex=0x55e915218230) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218230, cond=0x55e915218258) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521b440) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f639b7fe700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 19 (Thread 0x7f639bfff700 (LWP 24220)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915218280) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218230,
cond=0x55e915218258) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218258, mutex=0x55e915218230) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218230, cond=0x55e915218258) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521b290) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f639bfff700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 18 (Thread 0x7f63ccff9700 (LWP 24219)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915218280) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218230,
cond=0x55e915218258) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218258, mutex=0x55e915218230) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218230, cond=0x55e915218258) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915218aa0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63ccff9700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 17 (Thread 0x7f63cd7fa700 (LWP 24218)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521a740) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63cd7fa700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 16 (Thread 0x7f63cdffb700 (LWP 24217)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521a590) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63cdffb700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 15 (Thread 0x7f63ce7fc700 (LWP 24216)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521a3e0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63ce7fc700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 14 (Thread 0x7f63ceffd700 (LWP 24215)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
---Type <return> to continue, or q <return> to quit---
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521a230) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63ceffd700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 13 (Thread 0x7f63cf7fe700 (LWP 24214)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521a080) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63cf7fe700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 12 (Thread 0x7f63d4ff9700 (LWP 24213)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915219ed0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63d4ff9700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 11 (Thread 0x7f63d57fa700 (LWP 24212)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915219d20) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63d57fa700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 10 (Thread 0x7f63d5ffb700 (LWP 24211)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915219b70) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63d5ffb700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 9 (Thread 0x7f63d67fc700 (LWP 24210)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e9152199c0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63d67fc700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 8 (Thread 0x7f63cffff700 (LWP 24209)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915217d00) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915217cb0,
cond=0x55e915217cd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915217cd8, mutex=0x55e915217cb0) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915217cb0, cond=0x55e915217cd8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915218a30) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63cffff700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 7 (Thread 0x7f63d6ffd700 (LWP 24208)):
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007f63e7e336c6 in __GI___pthread_mutex_lock (mutex=0x7f63ed1e7968
<_rtld_global+2312>) at ../nptl/pthread_mutex_lock.c:113
#2 0x00007f63ed1d05b7 in tls_get_addr_tail (ti=0x7f63eb033f78,
dtv=0x55e9152188d0, the_map=0x55e9151ab300) at ../elf/dl-tls.c:761
#3 0x00007f63ed1d6288 in __tls_get_addr () at
../sysdeps/x86_64/tls_get_addr.S:55
#4 0x00007f63e94de4d3 in llvm::PrettyStackTraceEntry::PrettyStackTraceEntry
(this=0x7f63d6ff7968) at ../lib/Support/PrettyStackTrace.cpp:137
#5 0x00007f63e96780be in
llvm::PassManagerPrettyStackEntry::PassManagerPrettyStackEntry
(this=0x7f63eadfa850 <vtable for llvm::PrettyStackTraceEntry+16>,
p=0x55e91526ed50, m=...) at ../include/llvm/IR/LegacyPassManagers.h:127
#6 (anonymous namespace)::MPPassManager::runOnModule (this=<optimized out>,
M=...) at ../lib/IR/LegacyPassManager.cpp:1741
#7 llvm::legacy::PassManagerImpl::run (this=0x55e91526c5c0, M=...) at
../lib/IR/LegacyPassManager.cpp:1857
#8 0x00007f63e95d8a5e in LLVMRunPassManager (PM=0x7f63ed1e7968
<_rtld_global+2312>, M=0x80) at ../lib/IR/Core.cpp:3733
#9 0x00007f63e684f22d in si_llvm_optimize_module
(ctx=ctx@entry=0x7f63d6ff7cb0) at
../../../../../src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:1157
#10 0x00007f63e684157d in si_compile_tgsi_shader () at
../../../../../src/gallium/drivers/radeonsi/si_shader.c:6953
#11 0x00007f63e68425f5 in si_shader_create
(sscreen=sscreen@entry=0x55e915217660, compiler=compiler@entry=0x55e915217da8,
shader=shader@entry=0x55e915698848, debug=debug@entry=0x55e915698808) at
../../../../../src/gallium/drivers/radeonsi/si_shader.c:8045
#12 0x00007f63e6815faf in si_create_compute_state_async
(job=job@entry=0x55e9156987e0, thread_index=thread_index@entry=1) at
../../../../../src/gallium/drivers/radeonsi/si_compute.c:152
#13 0x00007f63e67d0e4a in util_queue_thread_func
(input=input@entry=0x55e915218880) at ../../../src/util/u_queue.c:286
#14 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#15 0x00007f63e7e30f2a in start_thread (arg=0x7f63d6ffd700) at
pthread_create.c:463
#16 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
---Type <return> to continue, or q <return> to quit---
Thread 6 (Thread 0x7f63d77fe700 (LWP 24207)):
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007f63e7e336c6 in __GI___pthread_mutex_lock (mutex=0x7f63ed1e7968
<_rtld_global+2312>) at ../nptl/pthread_mutex_lock.c:113
#2 0x00007f63ed1d05b7 in tls_get_addr_tail (ti=0x7f63eb033f78,
dtv=0x55e915218720, the_map=0x55e9151ab300) at ../elf/dl-tls.c:761
#3 0x00007f63ed1d6288 in __tls_get_addr () at
../sysdeps/x86_64/tls_get_addr.S:55
#4 0x00007f63e94de4d3 in llvm::PrettyStackTraceEntry::PrettyStackTraceEntry
(this=0x7f63d77f8968) at ../lib/Support/PrettyStackTrace.cpp:137
#5 0x00007f63e96780be in
llvm::PassManagerPrettyStackEntry::PassManagerPrettyStackEntry
(this=0x7f63eadfa850 <vtable for llvm::PrettyStackTraceEntry+16>,
p=0x55e915227b70, m=...) at ../include/llvm/IR/LegacyPassManagers.h:127
#6 (anonymous namespace)::MPPassManager::runOnModule (this=<optimized out>,
M=...) at ../lib/IR/LegacyPassManager.cpp:1741
#7 llvm::legacy::PassManagerImpl::run (this=0x55e9152208c0, M=...) at
../lib/IR/LegacyPassManager.cpp:1857
#8 0x00007f63e95d8a5e in LLVMRunPassManager (PM=0x7f63ed1e7968
<_rtld_global+2312>, M=0x80) at ../lib/IR/Core.cpp:3733
#9 0x00007f63e684f22d in si_llvm_optimize_module
(ctx=ctx@entry=0x7f63d77f8cb0) at
../../../../../src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:1157
#10 0x00007f63e684157d in si_compile_tgsi_shader () at
../../../../../src/gallium/drivers/radeonsi/si_shader.c:6953
#11 0x00007f63e68425f5 in si_shader_create
(sscreen=sscreen@entry=0x55e915217660, compiler=compiler@entry=0x55e915217d78,
shader=shader@entry=0x55e915698fd8, debug=debug@entry=0x55e915698f98) at
../../../../../src/gallium/drivers/radeonsi/si_shader.c:8045
#12 0x00007f63e6815faf in si_create_compute_state_async
(job=job@entry=0x55e915698f70, thread_index=thread_index@entry=0) at
../../../../../src/gallium/drivers/radeonsi/si_compute.c:152
#13 0x00007f63e67d0e4a in util_queue_thread_func
(input=input@entry=0x55e915212940) at ../../../src/util/u_queue.c:286
#14 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#15 0x00007f63e7e30f2a in start_thread (arg=0x7f63d77fe700) at
pthread_create.c:463
#16 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 5 (Thread 0x7f63d7fff700 (LWP 24206)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e9152185a8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915218558,
cond=0x55e915218580) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915218580, mutex=0x55e915218558) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915218558, cond=0x55e915218580) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e9152128c0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63d7fff700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7f63e510a700 (LWP 24205)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915214aa0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915214a50,
cond=0x55e915214a78) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915214a78, mutex=0x55e915214a50) at
pthread_cond_wait.c:655
#3 0x00007f63e67d0cfa in cnd_wait (mtx=0x55e915214a50, cond=0x55e915214a78) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e91521c6d0) at
../../../src/util/u_queue.c:270
#5 0x00007f63e67d08e8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63e510a700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7f63e5934700 (LWP 24204)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915204768) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915204718,
cond=0x55e915204740) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915204740, mutex=0x55e915204718) at
pthread_cond_wait.c:655
#3 0x00007f63e735cbea in cnd_wait (mtx=0x55e915204718, cond=0x55e915204740) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e915205c40) at
../../../src/util/u_queue.c:270
#5 0x00007f63e735c7d8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63e5934700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7f63e62bc700 (LWP 24203)):
#0 0x00007f63e7e36e6c in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e915203af0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55e915203aa0,
cond=0x55e915203ac8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x55e915203ac8, mutex=0x55e915203aa0) at
pthread_cond_wait.c:655
#3 0x00007f63e735cbea in cnd_wait (mtx=0x55e915203aa0, cond=0x55e915203ac8) at
../../../include/c11/threads_posix.h:155
#4 util_queue_thread_func (input=input@entry=0x55e9151eab20) at
../../../src/util/u_queue.c:270
#5 0x00007f63e735c7d8 in impl_thrd_routine (p=<optimized out>) at
../../../include/c11/threads_posix.h:87
#6 0x00007f63e7e30f2a in start_thread (arg=0x7f63e62bc700) at
pthread_create.c:463
#7 0x00007f63eceacedf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7f63ecdb2740 (LWP 24202)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f63e67d089c in sys_futex (val3=-1, addr2=0x0, timeout=0x0, val1=2,
op=9, addr1=0x55e9156987f8) at ../../../src/util/futex.h:50
#2 futex_wait (timeout=0x0, value=2, addr=0x55e9156987f8) at
../../../src/util/futex.h:50
#3 do_futex_fence_wait (fence=fence@entry=0x55e9156987f8,
timeout=timeout@entry=false, abs_timeout=abs_timeout@entry=0) at
../../../src/util/u_queue.c:115
#4 0x00007f63e67d0fd9 in _util_queue_fence_wait
(fence=fence@entry=0x55e9156987f8) at ../../../src/util/u_queue.c:130
#5 0x00007f63e6815ab9 in util_queue_fence_wait (fence=0x55e9156987f8) at
../../../../../src/util/u_queue.h:161
#6 si_bind_compute_state (ctx=0x55e9156263e0, state=0x55e9156987e0) at
../../../../../src/gallium/drivers/radeonsi/si_compute.c:277
#7 0x00007f63e6818436 in si_compute_do_clear_or_copy
(sctx=sctx@entry=0x55e9156263e0, dst=dst@entry=0x55e91567e260,
dst_offset=dst_offset@entry=0, src=src@entry=0x0,
src_offset=src_offset@entry=0, size=size@entry=16, clear_value=0x7fff3c89a060,
clear_value_size=4, coher=SI_COHERENCY_SHADER) at
../../../../../src/gallium/drivers/radeonsi/si_compute_blit.c:131
#8 0x00007f63e68187c1 in si_clear_buffer (sctx=sctx@entry=0x55e9156263e0,
dst=0x55e91567e260, offset=offset@entry=0, size=16,
clear_value=clear_value@entry=0x7fff3c89a060,
clear_value_size=clear_value_size@entry=4, coher=SI_COHERENCY_SHADER)
at ../../../../../src/gallium/drivers/radeonsi/si_compute_blit.c:217
#9 0x00007f63e682af7f in si_create_context
(screen=screen@entry=0x55e915217660, flags=flags@entry=0) at
../../../../../src/gallium/drivers/radeonsi/si_pipe.c:578
#10 0x00007f63e682b671 in radeonsi_screen_create (ws=<optimized out>,
config=<optimized out>) at
../../../../../src/gallium/drivers/radeonsi/si_pipe.c:1115
#11 0x00007f63e67e6add in amdgpu_winsys_create (fd=fd@entry=5,
config=config@entry=0x7fff3c89a1f8,
screen_create=screen_create@entry=0x7f63e682b090 <radeonsi_screen_create>) at
../../../../../../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:351
#12 0x00007f63e660e551 in create_screen (fd=5, config=0x7fff3c89a1f8) at
../../../../../src/gallium/targets/pipe-loader/pipe_radeonsi.c:15
#13 0x00007f63eb6b96ad in pipe_loader_create_screen (dev=0x55e9151f1b70) at
../../../../../src/gallium/auxiliary/pipe-loader/pipe_loader.c:137
#14 0x00007f63eb6dc411 in clover::device::device(clover::platform&,
pipe_loader_device*) () at
../../../../../src/gallium/state_trackers/clover/core/device.cpp:47
#15 0x00007f63eb6e74f1 in clover::create<clover::device, clover::platform&,
pipe_loader_device*&> () at
../../../../../src/gallium/state_trackers/clover/util/pointer.hpp:229
#16 clover::platform::platform() () at
../../../../../src/gallium/state_trackers/clover/core/platform.cpp:36
#17 0x00007f63eb6b8d86 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535) at
../../../../../src/gallium/state_trackers/clover/api/platform.cpp:141
#18 _GLOBAL__sub_I_platform.cpp(void) () at
../../../../../src/gallium/state_trackers/clover/api/platform.cpp:141
#19 0x00007f63ed1ce0ca in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0x7fff3c89aac8, env=env@entry=0x7fff3c89aad8) at dl-init.c:72
#20 0x00007f63ed1ce1d6 in call_init (env=0x7fff3c89aad8, argv=0x7fff3c89aac8,
argc=1, l=<optimized out>) at dl-init.c:118
#21 _dl_init (main_map=main_map@entry=0x55e9151a9970, argc=1,
argv=0x7fff3c89aac8, env=0x7fff3c89aad8) at dl-init.c:119
#22 0x00007f63ed1d2253 in dl_open_worker (a=a@entry=0x7fff3c89a5c0) at
dl-open.c:522
---Type <return> to continue, or q <return> to quit---
#23 0x00007f63ecee8adf in __GI__dl_catch_exception
(exception=exception@entry=0x7fff3c89a5a0, operate=operate@entry=0x7f63ed1d1ec0
<dl_open_worker>, args=args@entry=0x7fff3c89a5c0) at dl-error-skeleton.c:196
#24 0x00007f63ed1d1b1a in _dl_open (file=0x55e9151aa940 "libMesaOpenCL.so.1",
mode=-2147483647, caller_dlopen=0x7f63ecf7b9af, nsid=<optimized out>, argc=1,
argv=<optimized out>, env=0x7fff3c89aad8) at dl-open.c:605
#25 0x00007f63ecf73276 in dlopen_doit (a=a@entry=0x7fff3c89a7f0) at dlopen.c:66
#26 0x00007f63ecee8adf in __GI__dl_catch_exception
(exception=exception@entry=0x7fff3c89a790, operate=operate@entry=0x7f63ecf73220
<dlopen_doit>, args=args@entry=0x7fff3c89a7f0) at dl-error-skeleton.c:196
#27 0x00007f63ecee8b6f in __GI__dl_catch_error
(objname=objname@entry=0x7f63ecf760f0 <last_result+16>,
errstring=errstring@entry=0x7f63ecf760f8 <last_result+24>,
mallocedp=mallocedp@entry=0x7f63ecf760e8 <last_result+8>,
operate=operate@entry=0x7f63ecf73220 <dlopen_doit>,
args=args@entry=0x7fff3c89a7f0) at dl-error-skeleton.c:215
#28 0x00007f63ecf73975 in _dlerror_run (operate=operate@entry=0x7f63ecf73220
<dlopen_doit>, args=args@entry=0x7fff3c89a7f0) at dlerror.c:162
#29 0x00007f63ecf73331 in __dlopen (file=<optimized out>, mode=<optimized out>)
at dlopen.c:87
#30 0x00007f63ecf7b9af in ?? () from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#31 0x00007f63ecf7c6ab in clGetPlatformIDs () from
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
#32 0x000055e9144e8f22 in ?? ()
#33 0x00007f63ecdd7b17 in __libc_start_main (main=0x55e9144e8dd0, argc=1,
argv=0x7fff3c89aac8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff3c89aab8) at ../csu/libc-start.c:310
#34 0x000055e9144e933a in ?? ()
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev