The display issue can be temporarily fixed by running:
xrandr --output HDMI-1 --offsleep 2xrandr --output HDMI-1 --auto --primary
However, this is only a workaround. On every boot, the monitor is detected as connected, but it shows “No Signal” until the above commands are executed.
After running:
xrandr --output HDMI-1 --off
the display turns off as expected. Running xrandr at this point shows:
vicharak@vicharak:~$ xrandrScreen 0: minimum 320 x 200, current 320 x 200, maximum 16384 x 16384HDMI-1 connected primary (normal left inverted right x axis y axis) 1920x1080 60.00 + 239.65 164.92 143.98 120.00 119.88 50.00 59.94 3840x2160 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1280x720 120.00 119.88 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08HDMI-2 disconnected (normal left inverted right x axis y axis)DP-1 disconnected (normal left inverted right x axis y axis)DP-2 disconnected (normal left inverted right x axis y axis)
Notice that HDMI-1 is still reported as connected, but the current screen size is only 320×200, indicating that no display mode has been activated.
After running:
xrandr --output HDMI-1 --auto --primary
the display starts working immediately. Running xrandr now shows:
vicharak@vicharak:~$ xrandrScreen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm 1920x1080 60.00*+ 239.65 164.92 143.98 120.00 119.88 50.00 59.94 3840x2160 60.00 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1280x720 120.00 119.88 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08HDMI-2 disconnected (normal left inverted right x axis y axis)DP-1 disconnected (normal left inverted right x axis y axis)DP-2 disconnected (normal left inverted right x axis y axis)
At this point, the desktop is displayed correctly at 1920×1080.
This suggests that the HDMI monitor is successfully detected during boot, but the display mode is not initialized correctly. Manually disabling and re-enabling the HDMI output forces the driver to reinitialize the display pipeline and set the correct mode, after which HDMI works normally.
So, while the above commands consistently restore the display, the underlying issue appears to be that HDMI is not being properly initialized during boot, despite the monitor being detected.