AMDGPU error(failed to set mode: cannot allocate memory) when hdmi connected
Submitted by cmd..@..il.com
Assigned to Default DRI bug account
Created attachment 144053
I'm using a Ryzen 3550H laptop with integrated Vega graphics and an additional Radeon 560. Whenever I boot the laptop with a screen connected to the HDMI port, the screen turns blank upon lxdm start and I can see these error messages in the Xorg log:
[ 263.699] (II) AMDGPU(0): Setting screen physical size to 1524 x 571
[ 263.716] (EE) AMDGPU(0): failed to set mode: Cannot allocate memory
[ 263.716] (WW) AMDGPU(0): Failed to set mode on CRTC 0
[ 263.817] (EE) AMDGPU(0): failed to set mode: Cannot allocate memory
[ 263.817] (WW) AMDGPU(0): Failed to set mode on CRTC 1
[ 263.887] (EE) AMDGPU(0): Failed to enable any CRTC
Kernel: is a self-built 5.0.9, but the same has happened with debian experimental 5.0.2, as well as the debian buster's 4.19.
If HDMI is not connected, everything is working.
Attachment 144053, "xorg log":