[Vega 56] WARNING: CPU: 20 PID: 3506 at drivers/dma-buf/dma-resv.c:289 while playing Sniper Elite 5 (Vulkan)
I just hit this with a LTO+PGOed Mesa-git (with additional patches, see: https://github.com/ms178/archpkgbuilds/tree/main/packages/mesa-git/mesa-userpatches) while playing Sniper Elite 5 (Vulkan) with Async Compute enabled. The game suddenly becomes very stuttery and saw the attached snippet in dmesg.
This is on CachyOS with my custom 6.0.6 Kernel (https://github.com/ms178/archpkgbuilds/tree/main/packages/linux-cachyos-bore).
vkd3d-proton-git is at v2.7.r0.g4df36617.
[10. Nov 23:44] ------------[ cut here ]------------
[ +0,000004] WARNING: CPU: 6 PID: 3400 at drivers/dma-buf/dma-resv.c:289 dma_resv_add_fence+0x176/0x1e0
[ +0,000008] Modules linked in: intel_rapl_msr mei_wdt mousedev intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_p>
[ +0,000058] CPU: 6 PID: 3400 Comm: sniper5_vulkan. Tainted: G O 6.0.8-3.1-cachyos-bore-lto #1 cc1ab4d0423ca59bfcdf8d12832aef00548f4>
[ +0,000004] Hardware name: LENOVO GAMING TF/X99-TF Gaming, BIOS CX99DE26 10/10/2020
[ +0,000002] RIP: 0010:dma_resv_add_fence+0x176/0x1e0
[ +0,000003] Code: 0f 0b 7d e4 c7 07 00 00 00 c0 80 3d 6d a5 f6 00 00 75 d5 c6 05 64 a5 f6 00 01 48 c7 c7 46 b6 a4 ab e8 8e 08 7d ff 0f 0b eb be <0f>
[ +0,000002] RSP: 0018:ffffb81acc317e90 EFLAGS: 00010246
[ +0,000002] RAX: ffffffffabb577d0 RBX: ffffa0d717d9ae40 RCX: ffffffffabb577d0
[ +0,000021] RDX: 0000000000000001 RSI: ffffa0d717d9ae40 RDI: ffffa0d8f5b86158
[ +0,000002] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001
[ +0,000002] R10: 0000000000000136 R11: 0000000000000000 R12: 0000000000000001
[ +0,000001] R13: 0000000000000002 R14: ffffa0d8f5b86158 R15: ffffa0d717d9ae40
[ +0,000002] FS: 00007fd35cb5df00(0000) GS:ffffa0e13f780000(0000) knlGS:0000000067fe0000
[ +0,000003] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0,000001] CR2: 00007fd357c05000 CR3: 00000002df83f006 CR4: 00000000001706e0
[ +0,000002] Call Trace:
[ +0,000003] <TASK>
[ +0,000001] ? dma_buf_ioctl+0x1ea/0x420
[ +0,000005] ? __x64_sys_ioctl+0xbd/0x120
[ +0,000003] ? do_syscall_64+0x2b/0x60
[ +0,000005] ? entry_SYSCALL_64_after_hwframe+0x46/0xb0
[ +0,000005] </TASK>
[ +0,000001] ---[ end trace 0000000000000000 ]---
Edited by ms178