Console resolution/font size
N.J.Terry
newton.ja.terry at gmail.com
Wed Nov 25 10:40:47 UTC 2020
On 25.11.20 10:03, Janos Dohanics wrote:
> Hello,
>
> 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 at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> FreeBSD clang version 11.0.0 (git at 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?
Hi Janos
please delete those two settings in /boot/loader.conf, try instead
exec="gop set 3" or set efi_max_resolution="800x600".
loader.conf(5):
efi_max_resolution
...
The following values are accepted:
Value Resolution
....
WidthxHeight WidthxHeight
> Why is
> the setting in /boot/loader.conf ignored?
>
kern.vt.fb.default_mode="800x600" , from vt(4):
....This is currently only supported by the vt_fb backend
when it is paired with a KMS video driver.
For the setting to take effect there is a need of a DRM module (amdgpu,
radeonkms, i915kms) for the linuxkpi-based KMS components from
graphics/drm-xxx-kmod.
More information about the freebsd-questions
mailing list