Skip to content
  • Jonathon Hall's avatar
    cairo_dri.c: Don't force 1080p mode on 2160p displays · 1b3ee5ca
    Jonathon Hall authored
    
    
    The comment suggests that this only applies if a kernel parameter
    forces a 1080p mode, but this isn't true for all displays.  Mini v2 on
    a 4K TV caused a mode switch every time fbwhiptail started or exited -
    the kernel selects 3840x2160 for the console, but a 1080p mode is
    present and fbwhiptail selects it.  This mode switch can take a long
    time and may be unreliable (my Samsung TV often fails to sync to the
    new mode).
    
    Graphical scaling in fbwhiptail preserves the menu size so the menus
    aren't tiny.  Setting the Linux console font ensures the console is not
    tiny.
    
    Signed-off-by: default avatarJonathon Hall <jonathon.hall@puri.sm>
    1b3ee5ca