[anv] segfault on anv_cmd_buffer_bind_descriptor_set in cs:go with dxvk
System information
System:
Host: think Kernel: 6.4.2-1-clear arch: x86_64 bits: 64 compiler: clang
v: 15.0.7 Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
Distro: Arch Linux
CPU:
Info: quad core model: Intel Core i5-8350U bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 3600 min/max: 400/3600 cores: 1: 3600 2: 3600 3: 3600
4: 3600 5: 3600 6: 3600 7: 3600 8: 3600 bogomips: 30399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
arch: Gen-9.5 ports: active: HDMI-A-2,eDP-1 empty: DP-1,DP-2,HDMI-A-1
bus-ID: 00:02.0 chip-ID: 8086:5917
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: gnome-shell driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: HDMI-A-2 model: AOC Q3279WG5B res: 2560x1440 dpi: 90
diag: 842mm (33.1")
Monitor-2: eDP-1 model: AU Optronics 0x103d res: 1920x1080 dpi: 158
diag: 354mm (13.9")
API: OpenGL v: 4.6 Mesa 23.1.3 renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) direct-render: Yes
If applicable
- DXVK version: DXVK-gplasync v2.2-master
- Wine/Proton version: none, native game
Describe the issue
I play CS:GO natively, on Wayland, with Vulkan. Sometimes (randomly, I can play for an hour without crashes, but this happens most frequently mid-match, after about 20-30 minutes of gameplay) game freezes for ~15 seconds, then crashes, I can reproduce it often. I can see in gdb that crash occured in libvulkan_intel.so, that's why I'm reporting this here. I use patched DXVK (check this issue), but I experienced same crashes on mainline DXVK. Also, sometimes when I restart the game after a crash, I hear crackling in the sound, it can be fixed only with a restart.
Please, tell me if I can improve this issue by adding more information, it's my first time reporting a bug to a major project. Thank you.
Log files as attachment
- Output of
dmesg
, related to crash:
[ 6438.026066] dxvk-cs[17274]: segfault at 40 ip 00007f8331e991ab sp 00007f831a9fd760 error 4 cpu 2 in libvulkan_intel.so[7f8331e7b000+673000] likely on CPU 2 (core 2, socket 0)
[ 6438.026076] Code: 0f 1e fa 89 c8 41 57 41 56 4d 89 ce 41 55 41 54 55 4c 89 c5 53 48 89 fb 48 89 d7 48 89 c2 48 c1 e2 04 4c 8d 04 17 48 83 ec 28 <4d> 8b 68 40 4c 8b 7c 24 60 45 0f b7 65 50 83 fe 01 0f 84 ae 01 00
- Backtrace: https://pastebin.com/ZHydNNVK
- Gpu hang details: sound was crackling badly when game freezed for ~15 seconds before crashing
Edited by Oleksandr Knyshuk