Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2020 09:45:06 +0100
From:      Christoph Brinkhaus <c.brinkhaus@t-online.de>
To:        Janos Dohanics <web@3dresearch.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Console resolution/font size
Message-ID:  <X74ZksztIlHO7mtm@esprimo>
In-Reply-To: <20201125020318.30f5921d6fee3e267945a243@3dresearch.com>
References:  <20201125020318.30f5921d6fee3e267945a243@3dresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Wed, Nov 25, 2020 at 02:03:18AM -0500 schrieb Janos Dohanics:
> Hello,
 
Hello Janos!

> I have a newly installed FreeBSD 13.0-CURRENT Thinkpad T480:
> 
> FreeBSD 13.0-CURRENT #0 2ed50808d2b-c254384(main): Thu Nov 12 07:29:09 UTC 2020
>     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
> WARNING: WITNESS option enabled, expect reduced performance.
> VT(efifb): resolution 1920x1080
> CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (1896.08-MHz K8-class CPU)
>   [...]
> 
> The screen is hardly readable at the resolution 1920x1080.
> 
> At boot time I escaped to loader prompt and selected "mode 3" which
> gave the screen resolution 800x600.
> 
> In /boot/loader.conf I added:
> 
> hw.vga.textmode=1
> kern.vt.fb.default_mode="800x600"
> 
> But after reboot, I'm back to the nearly unusable resolution of
> 1920x1080.
> 
> How can I make a specific console resolution presistent across reboots?
> And how would I set a resolution between 800x600 and 1920x1080? Why is
> the setting in /boot/loader.conf ignored?
 

Please have a look at efi_max_resolution which is specfied in
/boot/loader.conf. I use that on one of my laptops.

efi_max_resolution
Specify the maximum desired resolution for the EFI
console.  The following values are accepted:

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

800x600 is not suported according to the man page.
But may be 1280x720 is aceptable for your screen.

> Janos Dohanics

Kind regards,
Christoph



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X74ZksztIlHO7mtm>