Can't set any resolution/mode on some screen
Can't get any display on a screen except the initial boot messages. After boot it won't accept any resolution/mode.
Tried every mode returned by the EDID but none works, here is the error returned by xrandr
❯ xrandr --output HDMI-A-0 --preferred
xrandr: Configure crtc 0 failed
❯ xrandr
Screen 0: minimum 320 x 200, current 1440 x 2560, maximum 16384 x 16384
HDMI-A-0 connected primary (normal left inverted right x axis y axis)
1440x2560 50.16 +
1280x1024 50.16
1440x900 50.16
1280x800 50.16
1280x720 50.16
1024x768 50.16
800x600 50.16
640x480 50.16
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
Looking at the Xorg log, this:
[ 5.070] (EE) AMDGPU(0): failed to set mode: Invalid argument
[ 5.070] (WW) AMDGPU(0): Failed to set mode on CRTC 0
[ 5.070] (EE) AMDGPU(0): Failed to enable any CRTC
Tested the same screen on other machines with either Intel HD Graphics or NVidia GPU and its works good.
Also tried with wayland instead of Xorg but no chances here too.
Edited by Christopher Courtois