vt: efifb / fb+kms resolutions and fonts — how to?

Lev Serebryakov lev at FreeBSD.org
Thu May 13 14:04:06 UTC 2021


Is it possible to get native 1920x1080 resoultiuon and small fond (many lines) early on boot?

Lenovo T540p has native resolution 1920x1080 and boots with UEFI. I've tried two configs:

(1) No special configuration in /boot/loader.conf

  (1.1) Loader menu is ugly, font is large and jagged, looks like "text resolution" is 80x25.

  (1.2) Early on boot kernel reports: "VT(efifb): resolution 640x480".
        "text resolution" is 80x25 and font is large and ugly still.
        Font ugliness is expected for non-native resolution and explains loader ugliness.

  (1.3) After i915kms.ko load (by rc(8)) resolution is native (1920x1080), font is very small, there are
        A LOT of "text resolution".

(2) "efi_max_resolution=1080p" in /boot/loader.conf

  (2.1) Loader menu is nice, font is large and smooth, but looks like "text resolution" is 80x25 still.

  (2.2) Early on boot kernel reports: "VT(efifb): resolution 1920x1080".
        "text resolution" is 80x25 and font is large and smooth still.

  (2.3) After i915kms.ko load (by rc(8)) resolution is native (1920x1080), font is THE SAME (large and smooth),
        "text resolution" is 80x25 still!


Adding "screen.font="16x32"" into "/boot/loader.conf" doesn't change anything.

  Is it possible to have EFIFB resolution 1920x1080, but small font and lot of "text resolution" from early boot on?

-- 
// Lev Serebryakov


More information about the freebsd-current mailing list