Solved How to find the valid values of efi_max_resolution

  • Thread starter Thread starter Deleted member 65953
  • Start date Start date
D

Deleted member 65953

Guest
I have installed FreeBSD-13.0-RELEASE-amd64-disc1.iso in VirtualBox 6.1.32 (Ubuntu 20.04.4 host) with EFI enabled in VirtualBox. To change the console size, I added efi_max_resolution="800x600" to /boot/loader.conf.

According to loader.conf(5):

Code:
efi_max_resolution

vbe_max_resolution
    Specify the maximum desired resolution for the EFI or VBE
    framebuffer console.  The following values are accepted:

    Value         Resolution
    480p          640x480
    720p          1280x720
    1080p         1920x1080
    2160p         3840x2160
    4k            3840x2160
    5k            5120x2880
    WidthxHeight  WidthxHeight

I have noticed that not all resolutions are valid. For example, I would have preferred to use efi_max_resolution="1200x690" to fit my monitor better. Through experimentation, I found that "800x600" is a valid resolution, so I am now using efi_max_resolution="800x600". Notice that "800x600" isn't even listed in the man page above. Is there a way to list all the valid resolutions for efi_max_resolution rather than to rely on trial and error as I did?
 
  1. when the FreeBSD boot loader menu appears, key Escape
  2. gop list
  3. to reload the menu, menu
loader, gop list.gif
 
Is there a way to list all the valid resolutions for efi_max_resolution rather than to rely on trial and error as I did?
No, it is dependent on your videocard and monitor which resolutions are supported. So there's no "full" list of resolutions. My videocard/monitor combination may support resolutions your laptop doesn't (and vice versa).

That looks like a bug in the manual page.
It's to indicate it accepts a "widthxheight" notation, like "800x600" or "1024x768" besides the scanline notation, "720p" or "1080p".
 
Back
Top