Playing a DX12 game leads to Warning in drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:1347
With Kernel 6.4.15, I now saw the following trace for the first time playing a DX12 game:
[ 9898.765200] ------------[ cut here ]------------
[ 9898.765201] WARNING: CPU: 5 PID: 21561 at drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:1347 amdgpu_bo_release_notify+0x1b1/0x1e0 [amdgpu]
[ 9898.765321] Modules linked in: snd_hda_codec_realtek snd_hda_codec_generic vfat intel_rapl_msr fat intel_rapl_common sb_edac ledtrig_audio snd_hda_codec_hdmi x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_hda_codec crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic snd_hwdep gf128mul ghash_clmulni_intel sha512_ssse3 snd_hda_core aesni_intel crypto_simd snd_pcm cryptd snd_timer acpi_cpufreq i2c_i801 i2c_smbus igb snd lpc_ich mei_wdt soundcore razerkbd(O) mousedev sch_fq_codel usbip_host usbip_core pkcs8_key_parser crypto_user fuse loop zram bpf_preload ip_tables x_tables ext4 crc32c_generic mbcache crc16 jbd2 usbhid amdgpu mfd_core drm_buddy drm_suballoc_helper video drm_ttm_helper crc32c_intel ttm i2c_algo_bit drm_display_helper cec xhci_pci xhci_pci_renesas gpu_sched wmi
[ 9898.765342] CPU: 5 PID: 21561 Comm: winepulse_mainl Tainted: G W O 6.4.15-4.1-cachyos-lto #1 6906424ba8419a309775a57bd0e84f63fd1761bc
[ 9898.765344] Hardware name: LENOVO GAMING TF/X99-TF Gaming, BIOS CX99DE26 10/10/2020
[ 9898.765345] RIP: 0010:amdgpu_bo_release_notify+0x1b1/0x1e0 [amdgpu]
[ 9898.765464] Code: e8 74 3b 62 c3 eb 02 7c 25 48 8b bb f8 00 00 00 e8 44 3d 31 c4 48 83 c4 10 5b 41 5e 41 5f c3 0f 0b e9 d5 fe ff ff 0f 0b eb eb <0f> 0b eb db be 03 00 00 00 e8 81 eb dd c3 eb cf 00 00 00 00 00 00
[ 9898.765465] RSP: 0018:ffff8b45ad0679b8 EFLAGS: 00010286
[ 9898.765466] RAX: 00000000fffffe00 RBX: ffff8b47e3678c58 RCX: 0000000000000000
[ 9898.765467] RDX: 00000000006d5245 RSI: fffffb9053010b01 RDI: ffff8b45ca7065f8
[ 9898.765468] RBP: ffff8b47e3678c58 R08: 0000000000000000 R09: ffffffff00000000
[ 9898.765468] R10: 0000000000000000 R11: ffff8b4200252300 R12: ffff8b47e3678c58
[ 9898.765469] R13: ffff8b48f73b0520 R14: ffff8b47e3678c00 R15: ffff8b45ca700010
[ 9898.765470] FS: 0000000000000000(0000) GS:ffff8b495f740000(0000) knlGS:0000000000000000
[ 9898.765471] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9898.765472] CR2: 00007f5cbf510010 CR3: 0000000575b3e004 CR4: 00000000001706e0
[ 9898.765472] Call Trace:
[ 9898.765473] <TASK>
[ 9898.765474] ? __warn+0x9e/0x160
[ 9898.765477] ? amdgpu_bo_release_notify+0x1b1/0x1e0 [amdgpu 88dc1ef9468b93fe48205cd5f8a3ff9e760dd224]
[ 9898.765597] ? report_bug+0x14c/0x180
[ 9898.765599] ? handle_bug+0x41/0x80
[ 9898.765601] ? exc_invalid_op+0x16/0x40
[ 9898.765602] ? asm_exc_invalid_op+0x16/0x20
[ 9898.765605] ? amdgpu_bo_release_notify+0x1b1/0x1e0 [amdgpu 88dc1ef9468b93fe48205cd5f8a3ff9e760dd224]
[ 9898.765724] ? amdgpu_bo_release_notify+0x121/0x1e0 [amdgpu 88dc1ef9468b93fe48205cd5f8a3ff9e760dd224]
[ 9898.765844] ttm_bo_put+0x165/0x440 [ttm c9ceab27450a9459ebd219665552c85b65a4754f]
[ 9898.765850] drm_gem_release+0x170/0x360
[ 9898.765852] drm_release+0x22a/0x4e0
[ 9898.765853] ____fput+0x149/0x2900
[ 9898.765856] ? exit_files+0x25e/0x6a0
[ 9898.765858] ? exit_sem+0x4b8/0xca0
[ 9898.765860] ? kfree+0x2ea/0x980
[ 9898.765862] ? exit_sem+0x4b8/0xca0
[ 9898.765863] ? do_exit+0x695/0x1320
[ 9898.765865] do_exit+0x743/0x1320
[ 9898.765867] do_group_exit+0x7f/0xa0
[ 9898.765869] get_signal+0x32a/0xc20
[ 9898.765871] arch_do_signal_or_restart+0x1a/0x200
[ 9898.765873] exit_to_user_mode_prepare+0x1856/0x1b00
[ 9898.765875] ? syscall_exit_to_user_mode+0x28/0x1a0
[ 9898.765878] syscall_exit_to_user_mode+0x28/0x1a0
[ 9898.765880] do_syscall_64+0x6b/0xa0
[ 9898.765894] ? do_syscall_64+0x6b/0xa0
[ 9898.765896] ? do_syscall_64+0x6b/0xa0
[ 9898.765897] entry_SYSCALL_64_after_hwframe+0x46/0xb0
[ 9898.765900] RIP: 0033:0x7f9e6593ad0f
[ 9898.765904] Code: Unable to access opcode bytes at 0x7f9e6593ace5.
[ 9898.765904] RSP: 002b:000000013e3ae530 EFLAGS: 00000293 ORIG_RAX: 0000000000000007
[ 9898.765906] RAX: fffffffffffffdfc RBX: 00007f9d445fc960 RCX: 00007f9e6593ad0f
[ 9898.765907] RDX: 00000000ffffffff RSI: 0000000000000002 RDI: 00007f9d445fc960
[ 9898.765907] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000
[ 9898.765908] R10: 000d000d00000000 R11: 0000000000000293 R12: 00000000ffffffff
[ 9898.765909] R13: 00007f9e56887380 R14: 0000000000000001 R15: 0000000000000000
[ 9898.765910] </TASK>
[ 9898.765915] ---[ end trace 0000000000000000 ]---
System info:
System:
Host: klx99 Kernel: 6.4.15-4.1-cachyos-lto arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.7 Distro: CachyOS
Machine:
Type: Desktop System: LENOVO product: GAMING TF v: N/A
serial: <superuser required>
Mobo: Lenovo model: X99-TF Gaming v: G368J V1.1, NALEX
CPU:
Info: 18-core model: Intel Xeon E5-2696 v3 bits: 64 type: MT MCP cache:
L2: 4.5 MiB
Graphics:
Device-1: AMD Navi 21 [Radeon RX 6950 XT] driver: amdgpu v: kernel
Display: x11 server: X.Org v: 21.1.99 with: Xwayland v: 23.2.0 driver: X:
loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu
resolution: 2560x1440
API: OpenGL v: 4.6 Mesa 23.3.0-devel (git-bb91e0306c) renderer: AMD
Radeon RX 6950 XT (navi21 LLVM 18.0.0 DRM 3.52 6.4.15-4.1-cachyos-lto)
Here is the full dmesg output: