SUMMARY Hello, I do my usual programming on KDE wayland with Qt Creator, and frequently, I have either Qt Creator that crashes or my graphics stack. When the later happens, the screen goes dark and I cannot even switch TTYs and I need to hard restart my laptop. STEPS TO REPRODUCE I do not have a 100% procedure to reproduce the crashes SOFTWARE/OS VERSIONS Linux/KDE Plasma: Archlinux (available in About System) KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 6.4.1 and 5.15.7 ADDITIONAL INFORMATION Asus laptop with Ryzen 6800H with 32GB DDR5 4800MHz and dual graphics cards with Optimus and Mux Switch : Nvidia RTX 3060 dGPU and AMD 680M iGPU. The plasma workspace runs on the iGPU on the radeonsi driver. I also had several amdgpu kernel crashes, that I unfortunately do not have any longer, but I still have stack traces.
Created attachment 154065 [details] kwin_wayland latest core dump part 1
Created attachment 154066 [details] kwin_wayland latest core dump part 2
Created attachment 154067 [details] kwin_wayland latest core dump part 3
Created attachment 154068 [details] kwin_wayland stack trace
Created attachment 154069 [details] amdgpu crash stack trace This is a stack trace of the latest crash I got from amdgpu kernel driver. I think it's related, maybe it can help pinpoint the issue.
Also, I get frequent crashes of my plasma from which the desktop recovers: the bottom bar (that show the currently open windows and has the application launcher) disappears then reappears after a few seconds.
Created attachment 154070 [details] stack trace of an amdgpu crash followed by kwin_wayland crashing I found this other journal log where it looks like amdgpu kernel driver loses it, then kwin_wayland crashes.
I am fairly confident all these issues are due to switchable graphics (and wayland ?), lately starting chrome based apps (chromium, vscode) in wayland mode freezes my entire computer ``` déc. 07 11:59:35 Morphicat kernel: #PF: error_code(0x0000) - not-present page déc. 07 11:59:35 Morphicat kernel: #PF: supervisor read access in kernel mode déc. 07 11:59:35 Morphicat kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000 déc. 07 11:59:35 Morphicat kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000001dccb29a déc. 07 11:59:35 Morphicat plasmashell[2349]: [2349:1207/115935.187538:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is egl, ANGLE is déc. 07 11:59:35 Morphicat plasmashell[2311]: Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium. déc. 07 11:59:34 Morphicat systemd[1490]: Started Code - OSS - Text Editor. déc. 07 11:59:33 Morphicat plasmashell[1762]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() ```
Another stack trace of GPU crash ``` #PF: error_code(0x0000) - not-present page #PF: supervisor read access in kernel mode BUG: kernel NULL pointer dereference, address: 0000000000000020 ---[ end trace 0000000000000000 ]--- CR2: 0000000000000020 cbc encrypted_keys trusted tee asn1_encoder hid_asus usbhid crct10dif_pclmul crc32_pclmul crc32c_intel nvme polyval_clmulni polyval_generic nvme_core gf128mul ucsi_acpi hi> Modules linked in: ccm rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg bnep vfat fat intel_rapl_msr intel_rap> </TASK> ret_from_fork+0x1f/0x30 ? kthreadd+0x320/0x320 ? drm_sched_job_timedout+0x110/0x110 [gpu_sched be5662272f125bb956a6cc2a23630a7151d1ecc5] kthread+0x234/0x280 ? init_wait_entry+0x30/0x30 drm_sched_main+0x1dd/0x690 [gpu_sched be5662272f125bb956a6cc2a23630a7151d1ecc5] drm_sched_entity_pop_job+0x67/0x420 [gpu_sched be5662272f125bb956a6cc2a23630a7151d1ecc5] amdgpu_job_dependency+0x37/0xf0 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 0000000000000020 CR3: 000000045d108000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 0000000000000000(0000) GS:ffff8acb9e800000(0000) knlGS:0000000000000000 R13: ffff8ac6b2738498 R14: ffff8ac6b2738498 R15: 000000000000000f R10: 0000000000000001 R11: ffffffffc5bd44d0 R12: 0000000000000000 RBP: ffff8ac4aafcce10 R08: 000000008080006b R09: 000000008080006a RDX: 0000000080800001 RSI: ffffdf8ace3ef600 RDI: 0000000040040000 RAX: 0000000000000000 RBX: ffff8ac6ea99e490 RCX: 000000008080006a RSP: 0018:ffff9e3d8167fd90 EFLAGS: 00010246 Code: 44 24 08 48 c7 46 08 00 00 00 00 48 c7 06 00 00 00 00 48 8b 3d f7 33 a1 00 e8 5a 65 c1 df 48 8b 43 30 a8 01 75 21 48 8b 43 08 <4c> 8b 58 20 4d 85 db 74 47 48 89 df 41> RIP: 0010:amdgpu_sync_get_fence+0x92/0xf0 [amdgpu] Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513RM_G513RM/G513RM, BIOS G513RM.323 10/16/2022 CPU: 8 PID: 816 Comm: gfx_0.0.0 Tainted: P W OE 6.0.15-273-tkg-cfs-llvm #1 be3d7dde2a4f83458d74a6c1d97674707fb61a03 Oops: 0000 [#1] PREEMPT SMP NOPTI PGD 443f0c067 P4D 443f0c067 PUD 460749067 PMD 2ae20a067 PTE 0 #PF: error_code(0x0000) - not-present page #PF: supervisor read access in kernel mode BUG: kernel NULL pointer dereference, address: 0000000000000020 ---[ end trace 0000000000000000 ]--- </TASK> R13: 0000000000000019 R14: 00007ff800f43b98 R15: 00005586bcfdba80 R10: 00005586bd2f3330 R11: 0000000000000246 R12: 00000000c0186444 RBP: 00007ff800f43a70 R08: 00007ff800f43bf0 R09: 00007ff800f43a50 RDX: 00007ff800f43a70 RSI: 00000000c0186444 RDI: 0000000000000019 RAX: ffffffffffffffda RBX: 00007ff800f43b98 RCX: 00007ff813bfec0f RSP: 002b:00007ff800f439b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24> RIP: 0033:0x7ff813bfec0f entry_SYSCALL_64_after_hwframe+0x63/0xcd ? do_syscall_64+0x79/0x90 ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 do_syscall_64+0x68/0x90 ? syscall_enter_from_user_mode+0x18e/0x1f0 __x64_sys_ioctl+0x112/0x170 amdgpu_drm_ioctl+0x47/0x80 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_report_moved_bytes+0x70/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] drm_ioctl+0x32e/0x4c0 drm_ioctl_kernel+0x1bc/0x220 ? amdgpu_cs_report_moved_bytes+0x70/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_ioctl+0xd86/0xe90 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_parser_bos+0x788/0x7c0 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_report_moved_bytes+0x28/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_vm_handling+0x679/0x690 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_sync_rings+0x6c/0x90 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_sync_resv+0x357/0x3a0 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 00000000ca473028 CR3: 00000001286a0000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007ff800f446c0(0000) GS:ffff8acb9e640000(0000) knlGS:0000000000000000 R13: ffff8ac6ea99e490 R14: 0000000000000000 R15: ffffffffa6cc66b0 R10: 0000000000000000 R11: ffffffffa6e52e70 R12: ffff9e3d8ba4bc20 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffa6e6ae70 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8acb9e661698 RAX: dcf7fc192933de00 RBX: 0000000000000000 RCX: 0000000000000027 RSP: 0018:ffff9e3d8ba4b9e0 EFLAGS: 00010246 Code: 05 ad 71 43 01 01 e8 2c fd 8e ff 0f 0b c3 80 3d 9f 71 43 01 00 75 af 48 c7 c7 bb 1a aa a6 c6 05 8f 71 43 01 01 e8 0d fd 8e ff <0f> 0b c3 80 3d 7d 71 43 01 00 75 90 48> RIP: 0010:refcount_warn_saturate+0x93/0xf0 Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513RM_G513RM/G513RM, BIOS G513RM.323 10/16/2022 CPU: 1 PID: 1637 Comm: kwin_wayla:cs0 Tainted: P W OE 6.0.15-273-tkg-cfs-llvm #1 be3d7dde2a4f83458d74a6c1d97674707fb61a03 cbc encrypted_keys trusted tee asn1_encoder hid_asus usbhid crct10dif_pclmul crc32_pclmul crc32c_intel nvme polyval_clmulni polyval_generic nvme_core gf128mul ucsi_acpi hi> Modules linked in: ccm rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg bnep vfat fat intel_rapl_msr intel_rap> WARNING: CPU: 1 PID: 1637 at lib/refcount.c:28 refcount_warn_saturate+0x93/0xf0 refcount_t: underflow; use-after-free. ------------[ cut here ]------------ ---[ end trace 0000000000000000 ]--- </TASK> R13: 0000000000000019 R14: 00007ff800f43b98 R15: 00005586bcfdba80 R10: 00005586bd2f3330 R11: 0000000000000246 R12: 00000000c0186444 RBP: 00007ff800f43a70 R08: 00007ff800f43bf0 R09: 00007ff800f43a50 RDX: 00007ff800f43a70 RSI: 00000000c0186444 RDI: 0000000000000019 RAX: ffffffffffffffda RBX: 00007ff800f43b98 RCX: 00007ff813bfec0f RSP: 002b:00007ff800f439b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24> RIP: 0033:0x7ff813bfec0f entry_SYSCALL_64_after_hwframe+0x63/0xcd ? do_syscall_64+0x79/0x90 ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 do_syscall_64+0x68/0x90 ? syscall_enter_from_user_mode+0x18e/0x1f0 __x64_sys_ioctl+0x112/0x170 amdgpu_drm_ioctl+0x47/0x80 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_report_moved_bytes+0x70/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] drm_ioctl+0x32e/0x4c0 drm_ioctl_kernel+0x1bc/0x220 ? amdgpu_cs_report_moved_bytes+0x70/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_ioctl+0xd86/0xe90 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_parser_bos+0x788/0x7c0 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] ? amdgpu_cs_report_moved_bytes+0x28/0x70 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_vm_handling+0x679/0x690 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_cs_sync_rings+0x6c/0x90 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] amdgpu_sync_resv+0x202/0x3a0 [amdgpu c6458e72ceb4f3a39fd257ea7d19b14e155186ba] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 00000000ca473028 CR3: 00000001286a0000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007ff800f446c0(0000) GS:ffff8acb9e640000(0000) knlGS:0000000000000000 R13: ffff8ac6ea99e490 R14: 0000000000000000 R15: ffffffffa6cc66b0 R10: 0000000000000000 R11: ffffffffa6e52e70 R12: ffff9e3d8ba4bc20 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffa6e6ae70 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8acb9e661698 RAX: dcf7fc192933de00 RBX: 0000000000000000 RCX: 0000000000000027 RSP: 0018:ffff9e3d8ba4b9e0 EFLAGS: 00010246 Code: a9 00 00 00 c3 85 f6 74 62 83 fe 01 75 7c 80 3d db 71 43 01 00 75 ed 48 c7 c7 ed 2d ab a6 c6 05 cb 71 43 01 01 e8 4b fd 8e ff <0f> 0b c3 80 3d bd 71 43 01 00 75 ce 48> RIP: 0010:refcount_warn_saturate+0x55/0xf0 Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513RM_G513RM/G513RM, BIOS G513RM.323 10/16/2022 CPU: 1 PID: 1637 Comm: kwin_wayla:cs0 Tainted: P W OE 6.0.15-273-tkg-cfs-llvm #1 be3d7dde2a4f83458d74a6c1d97674707fb61a03 cbc encrypted_keys trusted tee asn1_encoder hid_asus usbhid crct10dif_pclmul crc32_pclmul crc32c_intel nvme polyval_clmulni polyval_generic nvme_core gf128mul ucsi_acpi hi> Modules linked in: ccm rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg bnep vfat fat intel_rapl_msr intel_rap> WARNING: CPU: 1 PID: 1637 at lib/refcount.c:22 refcount_warn_saturate+0x55/0xf0 refcount_t: saturated; leaking memory. ------------[ cut here ]------------ ---[ end trace 0000000000000000 ]--- </TASK> R13: 0000000000002046 R14: 00007f4b753dd3b0 R15: 00007f4b753dd268 R10: 000000000ec7e558 R11: 0000000000000246 R12: 00000000400c6446 RBP: 000000000ec7e554 R08: 0000000000002800 R09: 0000000000000000 RDX: 000000000ec7e554 RSI: 00000000400c6446 RDI: 0000000000002046 RAX: ffffffffffffffda RBX: 000000000ec7f040 RCX: 00007f4be9489c0f RSP: 002b:000000000ec7e4c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24> RIP: 0033:0x7f4be9489c0f entry_SYSCALL_64_after_hwframe+0x63/0xcd ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 ? __x64_sys_poll+0x109/0x1b0 do_syscall_64+0x68/0x90 ? syscall_enter_from_user_mode+0x18e/0x1f0 __x64_sys_ioctl+0x112/0x170 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] ? __seccomp_filter+0x17b/0xc20 drm_ioctl+0x32e/0x4c0 drm_ioctl_kernel+0x1bc/0x220 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] nv_drm_gem_fence_attach_ioctl+0x227/0x280 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 00000000660a0000 CR3: 0000000327a36000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 000000000ed7f6c0(0000) GS:ffff8acb9e980000(0000) knlGS:0000000067ec0000 R13: ffff8ac6ea99e490 R14: 0000000000000001 R15: ffff8ac62d31a800 R10: 0000000000000000 R11: ffffffffa6e52e70 R12: ffff8ac4842d7f00 RBP: ffff8ac711ec8150 R08: 0000000000000000 R09: ffffffffa6e6ae70 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8acb9e9a1698 RAX: 29929940e07dcb00 RBX: 0000000000000000 RCX: 0000000000000027 RSP: 0018:ffff9e3d8f13fc30 EFLAGS: 00010246 Code: ff ff 41 c7 45 38 00 00 00 c0 80 3d 9b 9e 01 01 00 0f 85 98 fe ff ff 48 c7 c7 ff e1 a7 a6 c6 05 87 9e 01 01 01 e8 06 2a 4d ff <0f> 0b e9 7e fe ff ff 41 c7 45 38 00 00> RIP: 0010:dma_resv_add_fence+0x1ba/0x1f0 CPU: 1 PID: 1637 Comm: kwin_wayla:cs0 Tainted: P W OE 6.0.15-273-tkg-cfs-llvm #1 be3d7dde2a4f83458d74a6c1d97674707fb61a03 cbc encrypted_keys trusted tee asn1_encoder hid_asus usbhid crct10dif_pclmul crc32_pclmul crc32c_intel nvme polyval_clmulni polyval_generic nvme_core gf128mul ucsi_acpi hi> Modules linked in: ccm rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg bnep vfat fat intel_rapl_msr intel_rap> WARNING: CPU: 1 PID: 1637 at lib/refcount.c:22 refcount_warn_saturate+0x55/0xf0 refcount_t: saturated; leaking memory. ------------[ cut here ]------------ ---[ end trace 0000000000000000 ]--- </TASK> R13: 0000000000002046 R14: 00007f4b753dd3b0 R15: 00007f4b753dd268 R10: 000000000ec7e558 R11: 0000000000000246 R12: 00000000400c6446 RBP: 000000000ec7e554 R08: 0000000000002800 R09: 0000000000000000 RDX: 000000000ec7e554 RSI: 00000000400c6446 RDI: 0000000000002046 RAX: ffffffffffffffda RBX: 000000000ec7f040 RCX: 00007f4be9489c0f RSP: 002b:000000000ec7e4c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24> RIP: 0033:0x7f4be9489c0f entry_SYSCALL_64_after_hwframe+0x63/0xcd ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 ? do_syscall_64+0x79/0x90 ? syscall_exit_to_user_mode+0x2b/0xa0 ? __x64_sys_poll+0x109/0x1b0 do_syscall_64+0x68/0x90 ? syscall_enter_from_user_mode+0x18e/0x1f0 __x64_sys_ioctl+0x112/0x170 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] ? __seccomp_filter+0x17b/0xc20 drm_ioctl+0x32e/0x4c0 drm_ioctl_kernel+0x1bc/0x220 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] nv_drm_gem_fence_attach_ioctl+0x227/0x280 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 00000000660a0000 CR3: 0000000327a36000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 000000000ed7f6c0(0000) GS:ffff8acb9e980000(0000) knlGS:0000000067ec0000 R13: ffff8ac6ea99e490 R14: 0000000000000001 R15: ffff8ac62d31a800 R10: 0000000000000000 R11: ffffffffa6e52e70 R12: ffff8ac4842d7f00 RBP: ffff8ac711ec8150 R08: 0000000000000000 R09: ffffffffa6e6ae70 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8acb9e9a1698 RAX: 29929940e07dcb00 RBX: 0000000000000000 RCX: 0000000000000027 RSP: 0018:ffff9e3d8f13fc30 EFLAGS: 00010246 Code: ff ff 41 c7 45 38 00 00 00 c0 80 3d 9b 9e 01 01 00 0f 85 98 fe ff ff 48 c7 c7 ff e1 a7 a6 c6 05 87 9e 01 01 01 e8 06 2a 4d ff <0f> 0b e9 7e fe ff ff 41 c7 45 38 00 00> RIP: 0010:dma_resv_add_fence+0x1ba/0x1f0 ? syscall_enter_from_user_mode+0x18e/0x1f0 __x64_sys_ioctl+0x112/0x170 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] ? __seccomp_filter+0x17b/0xc20 drm_ioctl+0x32e/0x4c0 drm_ioctl_kernel+0x1bc/0x220 ? nv_drm_gem_prime_force_fence_signal+0xb0/0xb0 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] nv_drm_gem_fence_attach_ioctl+0x227/0x280 [nvidia_drm f7d84621fa7b7795fa3b80b1f896c156e38fc094] <TASK> Call Trace: PKRU: 55555554 DR3: 0000000144160108 DR6: 00000000ffff0ff0 DR7: 0000000000000600 DR0: 000000000273a8f0 DR1: 0000000143aa3ef0 DR2: 00000000015607ac CR2: 00000000660a0000 CR3: 0000000327a36000 CR4: 0000000000750ee0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 000000000ed7f6c0(0000) GS:ffff8acb9e980000(0000) knlGS:0000000067ec0000 R13: ffff8ac6ea99e490 R14: 0000000000000001 R15: ffff8ac62d31a800 R10: 0000000000000000 R11: ffffffffa6e52e70 R12: ffff8ac4842d7f00 RBP: ffff8ac711ec8150 R08: 0000000000000000 R09: ffffffffa6e6ae70 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8acb9e9a1698 RAX: 29929940e07dcb00 RBX: 0000000000000000 RCX: 0000000000000027 RSP: 0018:ffff9e3d8f13fc30 EFLAGS: 00010246 Code: ff ff 41 c7 45 38 00 00 00 c0 80 3d 9b 9e 01 01 00 0f 85 98 fe ff ff 48 c7 c7 ff e1 a7 a6 c6 05 87 9e 01 01 01 e8 06 2a 4d ff <0f> 0b e9 7e fe ff ff 41 c7 45 38 00 00> RIP: 0010:dma_resv_add_fence+0x1ba/0x1f0 Hardware name: ASUSTeK COMPUTER INC. ROG Strix G513RM_G513RM/G513RM, BIOS G513RM.323 10/16/2022 CPU: 14 PID: 5550 Comm: Overwatch.exe Tainted: P OE 6.0.15-273-tkg-cfs-llvm #1 be3d7dde2a4f83458d74a6c1d97674707fb61a03 cbc encrypted_keys trusted tee asn1_encoder hid_asus usbhid crct10dif_pclmul crc32_pclmul crc32c_intel nvme polyval_clmulni polyval_generic nvme_core gf128mul ucsi_acpi hi> Modules linked in: ccm rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg bnep vfat fat intel_rapl_msr intel_rap> WARNING: CPU: 14 PID: 5550 at lib/refcount.c:25 dma_resv_add_fence+0x1ba/0x1f0 refcount_t: addition on 0; use-after-free. ------------[ cut here ]------------ ```
This bug is a crash report that is over a year old without any activity, as our software is always changing, the information in this ticket is unlikely to still be useful. If this issue is still reproducible in a newer version of kwin (5.27.5 or 6.0) please reopen this ticket with a bumped version number or it will be closed in 30 days.
Hello, thanks for your message. I do not own that particular machine anymore and cannot check if the issue got fixed. Please feel free to close it right away. Thanks for your awesome work!