radv: Major regression in main branch causing all Vulkan apps to crash on 6600M (Navi 23)
Description
- Regression in commit d7938de8 causing all Vulkan apps to simply crash on my 6600M.
- It doesn't seem to occur on the integrated Vega iGPU.
Debug Info
SegFault
Thread 1 "vkcube" received signal SIGSEGV, Segmentation fault.
0x00007ffff71c2abb in vk_queue_submit (queue=queue@entry=0x5555556e8a90, info=info@entry=0x7fffffffcb60)
at ../mesa/src/vulkan/runtime/vk_queue.c:707
707 cmd_buffer->state = MESA_VK_COMMAND_BUFFER_STATE_PENDING;
BackTrace
#0 0x00007ffff71c2abb in vk_queue_submit (queue=queue@entry=0x5555556e8a90, info=info@entry=0x7fffffffcb60)
at ../mesa/src/vulkan/runtime/vk_queue.c:707
#1 0x00007ffff71c3736 in vk_common_QueueSubmit2 (_queue=0x5555556e8a90, submitCount=1, pSubmits=<optimized out>,
_fence=0x555555634f70) at ../mesa/src/vulkan/runtime/vk_queue.c:1175
#2 0x00007ffff71cab9c in vk_common_QueueSubmit (_queue=<optimized out>, submitCount=<optimized out>,
pSubmits=<optimized out>, fence=0x555555634f70) at ../mesa/src/vulkan/runtime/vk_synchronization.c:457
#3 0x00007ffff7189476 in wsi_common_queue_present (wsi=0x555555619e88, device=<optimized out>,
queue=<optimized out>, queue_family_index=<optimized out>, pPresentInfo=0x7fffffffd6c0)
at ../mesa/src/vulkan/wsi/wsi_common.c:1452
#4 0x000055555555ba2e in mainloop_wayland (vc=0x7fffffffd760) at ../main.c:1300
#5 0x000055555555d0d2 in mainloop (vc=0x7fffffffd760) at ../main.c:1774
#6 0x000055555555d227 in main (argc=1, argv=0x7fffffffdd18) at ../main.c:1816
If anything else is required please feel free to ask.
System information
System:
Host: xeno16 Kernel: 6.7.0-rc4-273-tkg-eevdf arch: x86_64 bits: 64
compiler: gcc v: 13.2.1 Desktop: KDE Plasma v: 5.90.0 tk: Qt v: 5.15.11
wm: kwin_wayland dm: SDDM Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 2297 high: 3338 min/max: 400/4463 cores: 1: 2588 2: 3245
3: 2729 4: 2392 5: 2495 6: 2650 7: 2512 8: 2239 9: 3338 10: 1917 11: 2395
12: 2681 13: 2392 14: 400 15: 2379 16: 400 bogomips: 102210
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Hewlett-Packard
driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports:
active: none empty: DP-1,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:73ff
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 pcie:
speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: DP-2 bus-ID: 08:00.0
chip-ID: 1002:1638 temp: 46.0 C
Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu,amdgpu display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: radeonsi
device: 2 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi wayland:
drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd v: N/A glx-v: 1.4
direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir LLVM
16.0.6 DRM 3.56 6.7.0-rc4-273-tkg-eevdf) device-ID: 1002:1638
display-ID: :1.0
API: Vulkan v: 1.3.269 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: mesa radv device-ID: 1002:1638 device: 1
type: discrete-gpu driver: mesa radv device-ID: 1002:73ff device: 2
type: discrete-gpu driver: mesa radv device-ID: 1002:73ff device: 3
type: integrated-gpu driver: mesa radv device-ID: 1002:1638 device: 4
type: cpu driver: mesa llvmpipe device-ID: 10005:0000
Edited by Albert Sebastian