[x86-64] Small screen in the top left

  • I have a few different issues I am encountering with my LibreELEC setup, hopefully I can resolve them with the help of the people here.

    I have it installed on an AMD Ryzen 5 Pro 2400G with Radeon Vega Graphics. Everything runs great, HDR is working fine and I have generally had no issues playing my files.

    But sometimes I get a strange thing happening, when I boot I get my screen small in the top left corner of the TV and I can see the LibreELEC boot screen still in the background. If I go to the resultion settings and change the resolution and then change it back again to 1080p then all works fine.

    This does not happen every time

    Anybody any ideas what could be going on and how I can prevent it from happening?

  • One part of the video stack has decided to render 1080p, another has decided to use a 4K mode so you're looking at 1080p rendered onto a 4K surface. I'm not sure what the root cause is, but this is occasionally reported against x86_64 and RPi hardware so it's likely a logic failure somewhere in the kernel DRM code rather than being something vendor specific.

    Assuming HDMI is on the HDMI-A-1 connector, append video=HDMI-A-1:1920x1080M@60D to kernel boot params in syslinux.cfg or the equivalent EFI config (depending on which is used for boot). This will force the initial kernel DRM state to 1080@60, which will stop any attempts to use 4K modes during boot. It doesn't affect Kodi switching to 4K modes for playback.