[Intel-gfx] How to set i915drmfb text-mode resolution?

Alan Stern stern at rowland.harvard.edu
Wed Jul 8 18:32:51 UTC 2020


My laptop boots in EFI mode.  It starts out using the efifb driver but 
then switches over to i915drmfb.  Relevant portions of the dmesg log:

[    0.933464] efifb: probing for efifb
[    0.933481] efifb: framebuffer at 0xe0000000, using 22500k, total 22500k
[    0.933483] efifb: mode is 3200x1800x32, linelength=12800, pages=1
[    0.933484] efifb: scrolling: redraw
[    0.933486] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.933585] Console: switching to colour frame buffer device 400x112
[    0.937376] fb0: EFI VGA frame buffer device
...
[    3.388790] fb0: switching to inteldrmfb from EFI VGA
[    3.388900] Console: switching to colour dummy device 80x25
[    3.388931] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.392050] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.392050] [drm] Driver supports precise vblank timestamp query.
[    3.392514] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.394118] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[    3.408251] i915 0000:00:02.0: [drm:intel_dp_aux_init_backlight_funcs [i915]] Panel advertises DPCD backlight support, but VBT disagrees. If your backlight controls don't work try booting with i915.enable_dpcd_backlight=1. If your machine needs this, please file a _new_ bug report on drm/i915, see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
[    3.424431] [drm] Initialized i915 1.6.0 20200114 for 0000:00:02.0 on minor 0
[    3.426217] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.427462] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[    3.446391] fbcon: i915drmfb (fb0) is primary device
[    3.455586] Console: switching to colour frame buffer device 400x112
[    3.491870] i915 0000:00:02.0: fb0: i915drmfb frame buffer device

The problem is that the laptop's screen has a resolution somewhere 
around 280 pixels/inch -- the screen size is about 11.5 by 6.5 inches.  
That's great in graphics mode, but it means that the standard VGA fonts 
on the text-mode VT console screen are practically unreadable; the 
characters are about 4 points tall!

I would like the characters to show up about 2.5 times larger in each 
dimension than they do now.  Is there any way to tell the system to set 
the resolution to 1280x720 pixels or to use a 160x45 character array 
while in text mode?

I tried looking for documentation in this area but couldn't find 
anything useful.

Thank you,

Alan Stern


More information about the Intel-gfx mailing list