Created attachment 293765 [details] two stack traces Hello, I own: - AMD Ryzen 3 PRO 4350G with Radeon Graphics (I'm using integrated GPU) - TV connected via HDMI - monitor connected via DisplayPort No daisy chaining is used. I'm using amdgpu module with Xorg modesetting driver (but issue happens on ati and amdgpu too). During the evening I tend to disable my displayport monitor output and enable HDMI output to TV to watch some movie. After watching the movie I want to re-enable monitor output and this is where the trouble begins. Usually I'm using xfce4-display-settings but `xrandr --output DP-2 --auto --primary` causes the same issue. The issue is that the monitor (often, not always) stays black. And picture on TV freezes (often, not always). Sometimes I'm able to restore system functionality via SysRq and switching to different TTY, sometimes I need a hard reset. I was able to get some stack traces when this happens (from journactl). In the attachment you will find two. During the second one I used xrandr command to switch. Music that was playing started to loop every 0.5 second, screen got bright blue and it lasted for few seconds. Then everything got back to normal except of the fact that there were small green squares following my cursor. The interesting fact is that when I run xrandr, my displayport outputs get often (not always) changed. So if the monitor was DP-2, it becomes DP-3. xorg-server: 1.20.9.r21.g5c400cae1-2 kernel: 5.9.9-arch1-1 64 bit distro: Archlinux mesa: 20.2.2-2 xrandr 1.5.1
Created attachment 293767 [details] xrandr
Created attachment 293769 [details] glxgears info
Created attachment 293771 [details] xorg log (not from the time when it happened)
Created attachment 293773 [details] lsmod
Created attachment 293775 [details] lspci
Xorg configuration files have nothing to do with this problem, but currently I have: /etc/X11/xorg.conf.d/10-monitor.conf Section "Monitor" Identifier "HDMI-1" Option "Primary" "False" Option "Enable" "False" EndSection During debugging the issue I disabled some of the amdgpu module functionalities: amdgpu.dc=1 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 But this seems to have no influence on this problem.
Created attachment 293777 [details] dmesg
Created attachment 293779 [details] DDC proble of monitor and TV