System unexpectedly freezes when there is a monitor connected to dGPU through USB-C
Brief summary of the problem:
Laptop has AMD iGPU with eDP, HDMI and AMD dGPU with USB-C DP (more hardware into in the attached log). Both HDMI and DP have displays connected. When I work on HDMI/eDP monitors then switch to DP monitor the system freezes, does not react to Ctrl+Alt+F2 (or any other F*) or multiple fast Ctrl+Alt+Del and could by shut down only by long press power button. I attached full logs of two such hanged boot.
Important observation: when I keep open sudo radeontop -b 3 on my eDP screen the issue is no longer reproducible.
Distro name and Version: Manjaro Linux base: Arch Linux
Kernel version: Linux version 5.15.12-1-MANJARO (builduser@fv-az39-353) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 (closed) SMP PREEMPT Wed Dec 29 18:08:07 UTC 2021
Xorg AMD video driver: Module amdgpu: vendor="X.Org Foundation" compiled for 1.21.1, module version = 21.0.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 25.2
How to reproduce the issue:
Stop any processes that might access dGPU (for example, running sudo radeontop -b 3 you will not be able to reproduce the issue)
Open chromium on the USB-C DP monitor.
Keep doing something on HDMI monitor that is not accessing the dGPU. I my case I was working inside full screen horizon-client window for some time, say 5 minutes
Then move mouse pointer to DP screen and click
System freezes
In a couple of seconds DP monitor goes black (no signal), the rest of the monitors continue working
Attached files:
Log files (for system lockups / game freezes / crashes)