[RADV] War Thunder crashing with an exception right at startup.
Description
Hello,
War Thunder version 2.28.0.24 which is the current version of the Dev server is crashing right at launch. I've tested this with RADV, AMDVLK and AMDGPU-Pro and the crash is only happening on RADV.
The current Production version 2.27.2.54 does not crash with the same version of mesa (23.1.6).
As the crash was introduced with a newer version of the game but only happens with the RADV Mesa driver I'm not really sure whether this is a WT issue or a RADV/Mesa issue.
If there is any more information that is need just ask and I will try and provide it. :)
Log files (for system lockups / game freezes / crashes)
The below error messages come from the game itself. These error messages are present for RADV, AMDVLK and AMDGPU-Pro on WT version 2.28.0.24 but are not present for WT version 2.27.2.54 so not sure how useful they are.
I have reported these error messages to the game developers as well.
1.35 D3DD device.getInstance().vkGetPhysicalDeviceImageFormatProperties(physicalDeviceInfo.device, ici.format, ici.imageType, ici.tiling, ici.usage, ici.flags, &properties) returned VK_ERROR_FORMAT_NOT_SUPPORTED, ../../prog/engine2/drv/drv3d_vulkan/device.cpp 231
1.35 D3DD vulkan: image create check failed, for image w=1, h=1, d=1, fmt=VK_FORMAT_D16_UNORM, type=3D, tilling=optimal, usage=[transfer_dst sampled ], flags=0, samples = 1, because vkGetPhysicalDeviceImageFormatProperties failed
1.35 D3DD device.getInstance().vkGetPhysicalDeviceImageFormatProperties(physicalDeviceInfo.device, ici.format, ici.imageType, ici.tiling, ici.usage, ici.flags, &properties) returned VK_ERROR_FORMAT_NOT_SUPPORTED, ../../prog/engine2/drv/drv3d_vulkan/device.cpp 231
1.35 D3DD vulkan: image create check failed, for image w=1, h=1, d=1, fmt=VK_FORMAT_D32_SFLOAT_S8_UINT, type=3D, tilling=optimal, usage=[transfer_dst sampled ], flags=0, samples = 1, because vkGetPhysicalDeviceImageFormatProperties failed
1.35 D3DD device.getInstance().vkGetPhysicalDeviceImageFormatProperties(physicalDeviceInfo.device, ici.format, ici.imageType, ici.tiling, ici.usage, ici.flags, &properties) returned VK_ERROR_FORMAT_NOT_SUPPORTED, ../../prog/engine2/drv/drv3d_vulkan/device.cpp 231
1.35 D3DD vulkan: image create check failed, for image w=1, h=1, d=1, fmt=VK_FORMAT_D32_SFLOAT, type=3D, tilling=optimal, usage=[transfer_dst sampled ], flags=0, samples = 1, because vkGetPhysicalDeviceImageFormatProperties failed
The Stack Trace from the War Thunder binary aces from journalctl:
Steps to reproduce
- Download the Dev server for Linux using the "Alternative method (Linux/Mac OS) " found on the Wiki: https://wiki.warthunder.com/DEV-Server
- Start the launcher and let it download the latest version.
- Once the launcher has finished click "Play".
- Notice it will crash almost immediately.
System information
Host: ArchDT Kernel: 6.4.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: GNOME v: 44.4 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
Distro: Arch Linux
CPU:
Info: quad core model: Intel Xeon E3-1245 v3 bits: 64 type: MT MCP
arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 2867 high: 3794 min/max: 800/3800 cores: 1: 3344 2: 3794
3: 3352 4: 2792 5: 800 6: 3721 7: 3512 8: 1624 bogomips: 54420
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Xeon E3-1200 v3 Processor Integrated Graphics vendor: ASRock
driver: i915 v: kernel arch: Gen-7.5 ports: active: HDMI-A-1
empty: HDMI-A-2,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:041a
Device-2: AMD Navi 24 [Radeon RX 6400/6500 XT/6500M]
vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 pcie:
speed: 16 GT/s lanes: 16 ports: active: HDMI-A-3 empty: DP-1
bus-ID: 03:00.0 chip-ID: 1002:743f
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0
compositor: gnome-shell driver: X: loaded: amdgpu,modesetting dri: radeonsi
gpu: amdgpu,i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96
Monitor-1: HDMI-A-1 mapped: HDMI-1-1 pos: left model: BenQ GW2265
res: 1920x1080 dpi: 102 diag: 547mm (21.5")
Monitor-2: HDMI-A-3 mapped: HDMI-A-2 pos: primary,right
model: Idek Iiyama PL2493H res: 1920x1080 dpi: 93 diag: 604mm (23.8")
API: OpenGL v: 4.6 Mesa 23.1.6-arch1.4 renderer: AMD Radeon RX 6500 XT
(navi24 LLVM 16.0.6 DRM 3.52 6.4.12-arch1-1) direct-render: Yes