RX 7900XTX - BUG: KFENCE: use-after-free-write in dc_stream_retain
Brief summary of the problem:
Computer display will entirely hang and lock up after extended use with multiple monitors.
Hardware description:
- CPU: AMD Ryzen 7900X
- GPU: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8)
- System Memory: 128GiB
- Display(s): 1x 3840x2160@144Hz + 1x 2560x1440@60Hz
- Type of Display Connection: 2xDP
System information:
- Distro name and Version: Arch Linux
- Compositor: labwc (wlroots based)
- Kernel version:
Linux lilypad 6.1.12-273-tkg-cfs #1 SMP PREEMPT_DYNAMIC TKG Fri, 17 Feb 2023 22:31:29 +0000 x86_64 GNU/Linux
How to reproduce the issue:
After using the computer for a few hours, randomly all of DC will hang with this error It only happens when I use two screens, which is strange.
[ 1808.099417] BUG: KFENCE: use-after-free write in dc_stream_retain+0x15/0x50 [amdgpu]
It is not possible to recover from this situation or get back to a TTY even after force killing compositor/sddm, it seems everything gets completely broken.
Another problem (perhaps related):
When I use 1x 3840x2160@144Hz + 1x 3840x2160@60Hz
instead, I get horrible white/grey flickering lines across both screens and a bunch of errors such as:
[ 329.391065] amdgpu 0000:03:00.0: amdgpu: bo 0000000084d3e3c5 va 0x0800000c00-0x0800000dff conflict with 0x0800000c00-0x0800000e00
constantly flooding dmesg.
Attached files:
DMesg with stacktrace: kfence_amd_hang.txt