Bug 1222410 - Xserver: Crash in radeonsi_dri (Mesa update regression?)
Summary: Xserver: Crash in radeonsi_dri (Mesa update regression?)
Status: RESOLVED DUPLICATE of bug 1222156
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Current
Hardware: RISC-V Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Gfx Bugs
QA Contact: Gfx Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 21:56 UTC by Andreas Schwab
Modified: 2024-05-07 18:47 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Xorg.0.log (36.53 KB, text/x-log)
2024-04-07 21:56 UTC, Andreas Schwab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2024-04-07 21:56:04 UTC
Created attachment 874115 [details]
Xorg.0.log

The X server crashes right during start.

Thread 10 (Thread 0x3f753fff20 (LWP 2115)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8d4bf98) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8d4bf98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8d4bf98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8d4bf40, cond=0x2af8d4bf70) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8d4bf70, mutex=mutex@entry=0x2af8d4bf40) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8d4bf40, cond=0x2af8d4bf70) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8d7cc50) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 9 (Thread 0x3f6e9fff20 (LWP 2121)):
#0  0x0000003f8020eb8a in __GI_epoll_pwait (epfd=<optimized out>, events=events@entry=0x3f6e9fe528, maxevents=maxevents@entry=256, timeout=<optimized out>, set=set@entry=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:40
#1  0x0000003f8020ec78 in epoll_wait (epfd=<optimized out>, events=events@entry=0x3f6e9fe528, maxevents=maxevents@entry=256, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/epoll_wait.c:32
#2  0x0000002ac1f77a26 in ospoll_wait (ospoll=0x2af987f270, timeout=<optimized out>) at ../../os/ospoll.c:642
#3  0x0000002ac1f6f972 in InputThreadDoWork (arg=<optimized out>) at ../../os/inputthread.c:369
#4  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#5  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 8 (Thread 0x3f749fff20 (LWP 2116)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8d8b9e8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8d8b9e8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8d8b9e8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8d8b990, cond=0x2af8d8b9c0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8d8b9c0, mutex=mutex@entry=0x2af8d8b990) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8d8b990, cond=0x2af8d8b9c0) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8dbc7d0) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 7 (Thread 0x3f6fdfff20 (LWP 2117)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8de8dc8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8de8dc8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8de8dc8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8de8d70, cond=0x2af8de8da0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8de8da0, mutex=mutex@entry=0x2af8de8d70) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8de8d70, cond=0x2af8de8da0) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8dccf90) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 6 (Thread 0x3f767fff20 (LWP 2113)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8cc60d4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8cc60d4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8cc60d4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8cc6078, cond=0x2af8cc60a8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8cc60a8, mutex=mutex@entry=0x2af8cc6078) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8cc6078, cond=0x2af8cc60a8) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8d3ca50) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 5 (Thread 0x3f75dfff20 (LWP 2114)):
#0  syscall (syscall_number=syscall_number@entry=98, arg1=arg1@entry=184562758344, arg2=arg2@entry=9, arg3=arg3@entry=2, arg4=arg4@entry=0, arg5=arg5@entry=0, arg6=arg6@entry=-1, arg7=272560550472) at ../sysdeps/unix/sysv/linux/riscv/syscall.c:27
#1  0x0000003f7eb07a78 in sys_futex (val3=-1, addr2=0x0, timeout=0x0, val1=2, op=9, addr1=0x2af8cc32c8) at ../src/util/simple_mtx.h:114
#2  futex_wait (value=2, timeout=0x0, addr=0x2af8cc32c8) at ../src/util/futex.c:55
#3  simple_mtx_lock (mtx=0x2af8cc32c8) at ../src/util/simple_mtx.h:114
#4  pb_slab_alloc_reclaimed (slabs=0x2af8cc32c8, size=<optimized out>, heap=21, reclaim_all=false) at ../src/gallium/auxiliary/pipebuffer/pb_slab.c:150
#5  0x0000003f7e820306 in pb_slab_alloc (heap=21, size=<optimized out>, slabs=0x2af8cc32c8) at ../src/gallium/auxiliary/pipebuffer/pb_slab.c:201
#6  radeon_winsys_bo_create (rws=0x2af8cc30a0, size=<optimized out>, alignment=<optimized out>, domain=<optimized out>, flags=<optimized out>) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1004
#7  0x0000003f7e922b62 in si_alloc_resource (sscreen=sscreen@entry=0x2af8cc5540, res=res@entry=0x3f5c0c50c0) at ../src/gallium/drivers/radeonsi/si_buffer.c:150
#8  0x0000003f7e922d8e in si_buffer_create (screen=0x2af8cc5540, templ=<optimized out>, alignment=<optimized out>) at ../src/gallium/drivers/radeonsi/si_buffer.c:579
#9  0x0000003f7ed885aa in pipe_aligned_buffer_create (alignment=256, size=<optimized out>, usage=1, flags=<optimized out>, screen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_buffer.c:602
#10 si_aligned_buffer_create (alignment=256, size=<optimized out>, usage=1, flags=<optimized out>, screen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_buffer.c:608
#11 pre_upload_binary.constprop.0 (sscreen=0x2af8cc5540, shader=0x2af9ae3060, binary_size=116, dma_upload=true, upload_ctx=0x3f75dff308, staging=0x3f75dff310, staging_offset=0x3f75dff2fc) at ../src/gallium/drivers/radeonsi/si_shader.c:914
#12 0x0000003f7e8a6cd2 in upload_binary_elf (dma_upload=<optimized out>, scratch_va=<optimized out>, shader=0x2af9ae3060, sscreen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_shader.c:999
#13 si_shader_binary_upload (sscreen=sscreen@entry=0x2af8cc5540, shader=shader@entry=0x2af9ae3060, scratch_va=scratch_va@entry=0) at ../src/gallium/drivers/radeonsi/si_shader.c:1111
#14 0x0000003f7e8b5920 in si_create_shader_variant (sscreen=0x2af8cc5540, compiler=<optimized out>, shader=0x2af9ae3060, debug=0x0) at ../src/gallium/drivers/radeonsi/si_shader.c:3600
#15 0x0000003f7e8e051c in si_build_shader_variant (shader=0x2af9ae3060, thread_index=<optimized out>, low_priority=<optimized out>) at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2675
#16 0x0000003f7e2e0d14 in util_queue_thread_func (input=input@entry=0x2af8d3ca10) at ../src/util/u_queue.c:309
#17 0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#18 0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#19 0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 4 (Thread 0x3f6f3fff20 (LWP 2118)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x3f7693f5d0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x3f7693f5d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x3f7693f5d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x3f7693f578, cond=0x3f7693f5a8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x3f7693f5a8, mutex=mutex@entry=0x3f7693f578) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x3f7693f578, cond=0x3f7693f5a8) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8dccf00) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 3 (Thread 0x3f77bfff20 (LWP 2111)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8cc3af0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8cc3af0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8cc3af0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8cc3a98, cond=0x2af8cc3ac8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8cc3ac8, mutex=mutex@entry=0x2af8cc3a98) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8cc3a98, cond=0x2af8cc3ac8) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8cc1cb0) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 2 (Thread 0x3f771fff20 (LWP 2112)):
#0  0x0000003f801bfe3a in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2af8d02ef8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2af8d02ef8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x0000003f801bfe60 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2af8d02ef8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x0000003f801c1c2a in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2af8d02ea0, cond=0x2af8d02ed0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=cond@entry=0x2af8d02ed0, mutex=mutex@entry=0x2af8d02ea0) at pthread_cond_wait.c:618
#5  0x0000003f7e2e0c92 in cnd_wait (mtx=0x2af8d02ea0, cond=0x2af8d02ed0) at ../src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func (input=input@entry=0x2af8d03bc0) at ../src/util/u_queue.c:290
#7  0x0000003f7e2ed3d4 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x0000003f801c253c in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000003f8020e8e0 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71

Thread 1 (Thread 0x3f7fe34020 (LWP 2103)):
#0  0x0000003f801c3cd4 in __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x0000003f801c3d14 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x0000003f8018e3d2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x0000003f8017e2b4 in __GI_abort () at abort.c:79
#4  0x0000002ac1f72810 in OsAbort () at ../../os/utils.c:1361
#5  0x0000002ac1f73620 in AbortServer () at ../../os/log.c:879
#6  FatalError (f=f@entry=0x2ac1f9b5b0 "Caught signal %d (%s). Server aborting\n") at ../../os/log.c:1017
#7  0x0000002ac1f7572a in OsSigHandler (unused=<optimized out>, sip=0x3ffc148d00, signo=11) at ../../os/osinit.c:156
#8  OsSigHandler (signo=11, sip=0x3ffc148d00, unused=<optimized out>) at ../../os/osinit.c:110
#9  <signal handler called>
#10 radeon_bo_reference (src=0x0, dst=0x2af9abe010, rws=0x0) at ../src/gallium/include/winsys/radeon_winsys.h:791
#11 radeon_ws_bo_reference (src=0x0, dst=0x2af9abe010, rws=0x0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.h:73
#12 radeon_bo_is_busy (rws=rws@entry=0x0, bo=0x2af9bd83d0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:65
#13 0x0000003f7e81604e in radeon_bo_is_busy (bo=<optimized out>, rws=0x0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:56
#14 radeon_bo_wait (usage=805306368, timeout=0, _buf=<optimized out>, rws=0x0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:120
#15 radeon_bo_can_reclaim (_buf=<optimized out>, winsys=0x0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:725
#16 radeon_bo_can_reclaim (_buf=<optimized out>, winsys=0x0) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:718
#17 radeon_bo_can_reclaim_slab (priv=<optimized out>, entry=<optimized out>) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:732
#18 0x0000003f7eb0785a in pb_slabs_reclaim_locked (slabs=slabs@entry=0x2af8cc32c8) at ../src/gallium/auxiliary/pipebuffer/pb_slab.c:83
#19 0x0000003f7eb07934 in pb_slab_alloc_reclaimed (slabs=0x2af8cc32c8, size=<optimized out>, heap=21, reclaim_all=false) at ../src/gallium/auxiliary/pipebuffer/pb_slab.c:160
#20 0x0000003f7e820306 in pb_slab_alloc (heap=21, size=<optimized out>, slabs=0x2af8cc32c8) at ../src/gallium/auxiliary/pipebuffer/pb_slab.c:201
#21 radeon_winsys_bo_create (rws=0x2af8cc30a0, size=<optimized out>, alignment=<optimized out>, domain=<optimized out>, flags=<optimized out>) at ../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1004
#22 0x0000003f7e922b62 in si_alloc_resource (sscreen=sscreen@entry=0x2af8cc5540, res=res@entry=0x2af9c06fc0) at ../src/gallium/drivers/radeonsi/si_buffer.c:150
#23 0x0000003f7e922d8e in si_buffer_create (screen=0x2af8cc5540, templ=<optimized out>, alignment=<optimized out>) at ../src/gallium/drivers/radeonsi/si_buffer.c:579
#24 0x0000003f7ed885aa in pipe_aligned_buffer_create (alignment=256, size=<optimized out>, usage=1, flags=<optimized out>, screen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_buffer.c:602
#25 si_aligned_buffer_create (alignment=256, size=<optimized out>, usage=1, flags=<optimized out>, screen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_buffer.c:608
#26 pre_upload_binary.constprop.0 (sscreen=0x2af8cc5540, shader=0x2af9bd3c90, binary_size=596, dma_upload=true, upload_ctx=0x3ffc149458, staging=0x3ffc149460, staging_offset=0x3ffc14944c) at ../src/gallium/drivers/radeonsi/si_shader.c:914
#27 0x0000003f7e8a6cd2 in upload_binary_elf (dma_upload=<optimized out>, scratch_va=<optimized out>, shader=0x2af9bd3c90, sscreen=0x2af8cc5540) at ../src/gallium/drivers/radeonsi/si_shader.c:999
#28 si_shader_binary_upload (sscreen=sscreen@entry=0x2af8cc5540, shader=shader@entry=0x2af9bd3c90, scratch_va=scratch_va@entry=0) at ../src/gallium/drivers/radeonsi/si_shader.c:1111
#29 0x0000003f7e8b5920 in si_create_shader_variant (sscreen=0x2af8cc5540, compiler=<optimized out>, shader=0x2af9bd3c90, debug=0x2af9bd3dc0) at ../src/gallium/drivers/radeonsi/si_shader.c:3600
#30 0x0000003f7e8e051c in si_build_shader_variant (shader=0x2af9bd3c90, thread_index=<optimized out>, low_priority=<optimized out>) at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2675
#31 0x0000003f7e8e7112 in si_shader_select_with_key<false, si_shader_key_ge> (key=<optimized out>, state=<optimized out>, sctx=<optimized out>) at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:3016
#32 si_shader_select (ctx=0x2af8dda2b0, state=0x2af8ddb6c8) at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:3041
#33 0x0000003f7eb118f0 in si_update_shaders<(amd_gfx_level)8, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)0> (sctx=sctx@entry=0x2af8dda2b0) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:253
#34 0x0000003f7eb1b3c6 in si_draw<(amd_gfx_level)8, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)0, (si_is_draw_vertex_state)0, (si_has_sh_pairs_packed)0, (util_popcnt)0> (partial_velem_mask=0, state=0x0, num_draws=1, draws=0x3ffc149920, indirect=0x0, drawid_offset=<optimized out>, info=0x3f769411a0, ctx=0x2af8dda2b0) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:2197
#35 si_draw_vbo<(amd_gfx_level)8, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)0, (si_has_sh_pairs_packed)0> (ctx=0x2af8dda2b0, info=0x3f769411a0, drawid_offset=0, indirect=0x0, draws=0x3ffc149920, num_draws=1) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:2319
#36 0x0000003f7e70e832 in tc_call_draw_single (pipe=0x2af8dda2b0, call=0x3f76941198) at ../src/gallium/auxiliary/util/u_threaded_context.c:3843
#37 0x0000003f7e6f0c08 in batch_execute (parsing=false, last=0x3f769411c0, pipe=0x2af8dda2b0, batch=0x3f769410c8) at ../src/gallium/auxiliary/util/u_threaded_context.c:461
#38 tc_batch_execute (job=0x3f769410c8, gdata=<optimized out>, thread_index=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:512
#39 0x0000003f7ee4b89a in _tc_sync.isra.0 (tc=tc@entry=0x3f7693f010, func=<optimized out>, info=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:767
#40 0x0000003f7e70e476 in tc_flush (_pipe=0x3f7693f010, fence=0x0, flags=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:3699
#41 0x0000003f7e44c666 in st_flush (flags=<optimized out>, fence=0x0, st=0x2af8e257c0) at ../src/mesa/state_tracker/st_cb_flush.c:63
#42 st_glFlush (gallium_flush_flags=<optimized out>, ctx=<optimized out>) at ../src/mesa/state_tracker/st_cb_flush.c:99
#43 _mesa_flush (ctx=<optimized out>) at ../src/mesa/main/context.c:1641
#44 _mesa_Flush () at ../src/mesa/main/context.c:1675
#45 0x0000003f7fa877a0 in _glamor_block_handler (screen=0x2af8e4eac0, timeout=0x3ffc14aa04) at ../../../glamor/glamor.c:285
#46 0x0000003f7fab3f80 in msBlockHandler (pScreen=0x2af8e4eac0, timeout=0x3ffc14aa04) at /usr/src/debug/xorg-server-21.1.12/hw/xfree86/drivers/modesetting/driver.c:740
#47 0x0000002ac1e51da0 in BlockHandler (pTimeout=0x3ffc14aa04) at ../../dix/dixutils.c:394
#48 0x0000002ac1f704fc in WaitForSomething (are_ready=<optimized out>) at ../../os/WaitFor.c:201
#49 0x0000002ac1e3ee8c in Dispatch () at ../../dix/dispatch.c:492
#50 dix_main (envp=<optimized out>, argv=0x3ffc14ace8, argc=10) at ../../dix/main.c:276
#51 main (argc=10, argv=0x3ffc14ace8, envp=<optimized out>) at ../../dix/stubmain.c:34
Comment 1 Stefan Dirsch 2024-04-08 01:52:24 UTC
Is that a regression?
Comment 2 Andreas Schwab 2024-04-08 08:15:58 UTC
Yes.
Comment 3 Stefan Dirsch 2024-04-08 08:27:50 UTC
So using

/etc/X11/xorg.conf.d/50-device.conf with content

Section "Device"
  Identifier "Default Device"
  Driver "modesetting"
  Option "AccelMethod" "none"
EndSection


does help start the Xserver?
Comment 4 Andreas Schwab 2024-04-08 18:08:02 UTC
Yes, it doesn't load radeonsi_dri.
Comment 5 Stefan Dirsch 2024-04-08 20:16:15 UTC
(In reply to Andreas Schwab from comment #4)
> Yes, it doesn't load radeonsi_dri.

Ok. So at least a workaround. I've also seen other regression reports in combination to Mesa 24.0.3 update and radeeonsi Mesa driver. But it wasn't clear whether it's not a radeon kernel driver regression just triggered by changes in Mesa driver, since switching to amdgpu kernel driver fixed the issue (where applicable).
Comment 6 Felix Miata 2024-04-17 11:20:14 UTC
I  can't repro on Kaveri GCN #2 with either amdgpu DDX or modesetting DIX:
# inxi -GSaz --vs --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: ara88 Kernel: 6.6.25-1-longterm arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz root=LABEL=zd8p19sslo noresume
    ipv6.disable=1 net.ifnames=0 radeon.cik_support=0 amdgpu.cik_support=1
    consoleblank=0 preempt=full mitigations=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 with: krunner vt: 7 dm: XDM Distro: openSUSE
    Tumbleweed-Slowroll 20240405
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DP-1, DVI-D-1,
    HDMI-A-1, VGA-1 empty: none bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x2640 s-dpi: 120 s-size: 762x558mm (30.00x21.97")
    s-diag: 944mm (37.18")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: top-right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: DP-1 mapped: DisplayPort-0 pos: primary,bottom-l
    model: Acer K272HUL serial: <filter> built: 2018 res: 2560x1440 hz: 60
    dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: top-left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-4: VGA-1 mapped: VGA-0 pos: middle-r model: Lenovo L2251x Wide
    serial: <filter> built: 2011 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.3 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.2 DRM 3.54 6.6.25-1-longterm) device-ID: 1002:130f memory: 1000 MiB
    unified: no
  API: Vulkan v: 1.3.280 layers: 1 device: 0 type: integrated-gpu name: AMD
    Radeon R7 Graphics (RADV KAVERI) driver: N/A device-ID: 1002:130f
    surfaces: xcb,xlib
# zypsei vulk Mesa | sort | grep OSS
i  | libvulkan1                       | package | 1.3.280.0-1.2 | x86_64 | OSS
i  | vulkan-tools                     | package | 1.3.280.0-1.2 | x86_64 | OSS
i+ | libVulkanLayerSettings-1_3_280_0 | package | 1.3.280.0-1.2 | x86_64 | OSS
i+ | libvulkan_radeon                 | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa                             | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-demo-egl                    | package | 9.0.0-3.3     | x86_64 | OSS
i+ | Mesa-demo-es                     | package | 9.0.0-3.3     | x86_64 | OSS
i+ | Mesa-demo-x                      | package | 9.0.0-3.3     | x86_64 | OSS
i+ | Mesa-dri                         | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-gallium                     | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-libEGL1                     | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-libGL1                      | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-libglapi0                   | package | 24.0.3-372.1  | x86_64 | OSS
i+ | Mesa-vulkan-device-select        | package | 24.0.3-372.1  | x86_64 | OSS
##(plasma logout -> xdm restart)
# xdriinfo
Screen 0: radeonsi
# inxi -Gaz --vs --hostname
inxi 3.3.34-00 (2024-04-13)
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DP-1, DVI-D-1,
    HDMI-A-1, VGA-1 empty: none bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.12 compositor: kwin_x11 driver: X:
    loaded: modesetting dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5280x2640 s-dpi: 120 s-size: 1117x558mm (43.98x21.97")
    s-diag: 1249mm (49.16")
  Monitor-1: DP-1 pos: primary,bottom-l model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DVI-D-1 pos: middle-c model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-3: HDMI-A-1 mapped: HDMI-1 pos: top-left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-4: VGA-1 pos: middle-r model: Lenovo L2251x Wide serial: <filter>
    built: 2011 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.3 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.2 DRM 3.54 6.6.25-1-longterm) device-ID: 1002:130f memory: 1000 MiB
    unified: no
  API: Vulkan v: 1.3.280 layers: 1 device: 0 type: integrated-gpu name: AMD
    Radeon R7 Graphics (RADV KAVERI) driver: N/A device-ID: 1002:130f
    surfaces: xcb,xlib
#
Comment 7 Felix Miata 2024-04-24 05:37:44 UTC
This seems to be another bug 1222156 duplicate.
Comment 8 Stefan Dirsch 2024-05-06 23:43:22 UTC
This should be retested with Mesa 24.0.5 of current TW. There was a regression fixed users observed in 24.0.3.
Comment 9 Andreas Schwab 2024-05-07 17:52:09 UTC
Fixed by 24.0.5.

*** This bug has been marked as a duplicate of bug 1222156 ***