Godot crashes with RX5500m
Description
I am getting crash in Godot 4 alpha7 build on fedora 36. The same build was working fine on fedora 35. And it's also happening with other Godot 4 builds.
Log files
Backtrace I got from gdb using bt
command
#0 0x00007fffe7d48537 in vk_common_QueueSubmit (_queue=<optimized out>, submitCount=1, pSubmits=<optimized out>, fence=0x1b293480)
at ../src/vulkan/runtime/vk_synchronization2.c:357
#1 0x00007fffe7d23759 in wsi_common_queue_present (wsi=0xa45b230, device=0xa48c7a0, queue=0xa495680, queue_family_index=0, pPresentInfo=0x7fffffffd708)
at ../src/vulkan/wsi/wsi_common.c:1010
#2 0x0000000003415cbb in VulkanContext::swap_buffers (this=0xa3ca710) at drivers/vulkan/vulkan_context.cpp:2170
#3 0x00000000033a5c26 in RenderingDeviceVulkan::swap_buffers (this=0xa44e4b0) at drivers/vulkan/rendering_device_vulkan.cpp:8739
#4 0x00000000060df605 in RendererCompositorRD::end_frame (this=0xa8e4320, p_swap_buffers=true) at servers/rendering/renderer_rd/renderer_compositor_rd.cpp:112
#5 0x0000000005ffc03b in RenderingServerDefault::_draw (this=0xa47a7a0, p_swap_buffers=true, frame_step=0.013343666666666665)
at servers/rendering/rendering_server_default.cpp:94
#6 0x0000000005ffdea3 in RenderingServerDefault::draw (this=0xa47a7a0, p_swap_buffers=true, frame_step=0.013343666666666665)
at servers/rendering/rendering_server_default.cpp:385
#7 0x00000000021553ce in Main::iteration () at main/main.cpp:2781
#8 0x00000000020febbb in OS_LinuxBSD::run (this=0x7fffffffdf98) at platform/linuxbsd/os_linuxbsd.cpp:441
#9 0x00000000020f8a50 in main (argc=5, argv=0x7fffffffe4a8) at platform/linuxbsd/godot_linuxbsd.cpp:68
- I am not able to get the Hang report at crash because the laptop hangs as soon as I start Godot with
RADV_DEBUG=hang
. Although there is a hang report when starting the Godot. trace.log
Steps to reproduce
- Download alpha 7 version from https://downloads.tuxfamily.org/godotengine/4.0/alpha7/
- Make new project in project manager window
- Open project in editor
- Click on any menu button on top right
- Notice crash
System information
System:
Host: fedora Kernel: 5.18.5-200.fc36.x86_64 arch: x86_64 bits: 64
compiler: gcc v: 2.37-27.fc36 Desktop: GNOME v: 42.2 tk: GTK v: 3.24.34
wm: gnome-shell dm: GDM Distro: Fedora release 36 (Thirty Six)
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: 2719 high: 3714 min/max: 400/4463 boost: enabled cores:
1: 2532 2: 2534 3: 3714 4: 2958 5: 2535 6: 2533 7: 2536 8: 2538 9: 2532
10: 2954 11: 2534 12: 2548 13: 2535 14: 2820 15: 2535 16: 3166
bogomips: 102210
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Micro-Star MSI driver: amdgpu v: kernel pcie: speed: 8 GT/s
lanes: 16 ports: active: HDMI-A-1 empty: none bus-ID: 03:00.0
chip-ID: 1002:7340
Device-2: AMD Cezanne vendor: Micro-Star MSI driver: amdgpu v: kernel
pcie: speed: 8 GT/s lanes: 16 ports: active: none off: eDP-1 empty: none
bus-ID: 07:00.0 chip-ID: 1002:1638
Device-3: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 1-4:3
chip-ID: 5986:211b
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.2
compositor: gnome-shell driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: 0
Monitor-1: HDMI-A-1 model: Acer KG271 C res: 1920x1080 dpi: 82
diag: 686mm (27")
Monitor-2: eDP-1 model: BOE Display 0x0957 res: 1920x1080 dpi: 142
diag: 395mm (15.5")
OpenGL:
renderer: AMD RENOIR (LLVM 14.0.0 DRM 3.46 5.18.5-200.fc36.x86_64)
v: 4.6 Mesa 22.1.1 direct render: Yes
Regression
It is working with 21.2.3 on the same machine.