And IIUC, commit becaac3972f1 [1]
to /usr/src/stand/efi/loader/framebuffer.c has the auto-selection logic.

[1]
https://cgit.freebsd.org/src/commit/stand/efi/loader/framebuffer.c?id=becaac3972f1fde4e3c44516399468ba5ca65c9b


On Tue, 6 Jul 2021 16:28:01 +0300
Toomas Soome via freebsd-current <freebsd-current@freebsd.org> wrote:

> 
> 
> > On 6. Jul 2021, at 16:21, Nuno Teixeira <edua...@freebsd.org> wrote:
> > 
> > it worked! 8x16 is exacly
> > the same size as before.
> > 
> > And you are right, screen res is correct but font size is wrong. Is it some
> > kind of bug?
> > 
> 
> 
> yes and no. the automatic font selection does try the best, but people are 
> different and the automatic selection may not be best for You. Anyhow, thats 
> the reason to have option to set it manually.
> 
> rgds,
> toomas
> 
> 
> > Tomoaki AOKI <junch...@dec.sakura.ne.jp> escreveu no dia ter〓a, 6/07/2021
> > 〓(s) 14:08:
> > 
> >> Or if the previous installation is old enough,
> >> possibly just a font auto-selection problem.
> >> If screen resolution is correct, but tooo large font is selected,
> >> lower resolution screen is mimiced.
> >> 
> >> If so, try setting
> >> 
> >> screen.font=8x16
> >> 
> >> or any size you prefer from files in /boot/fonts.
> >> 
> >> 
> >> On Tue, 6 Jul 2021 14:42:26 +0200 (CEST)
> >> Ronald Klop <ronald-li...@klop.ws> wrote:
> >> 
> >>> Maybe your previous install did not use UEFI?
> >>> 
> >>> Ronald.
> >>> 
> >>> 
> >>> Van: Toomas Soome via freebsd-current <freebsd-current@freebsd.org>
> >>> Datum: dinsdag, 6 juli 2021 14:12
> >>> Aan: Nuno Teixeira <edua...@freebsd.org>
> >>> CC: FreeBSD CURRENT <freebsd-current@freebsd.org>
> >>> Onderwerp: Re: lost high resolution console with lastest snapshot
> >>>> 
> >>>> 
> >>>> 
> >>>>> On 6. Jul 2021, at 14:49, Nuno Teixeira <edua...@freebsd.org> wrote:
> >>>>> 
> >>>>> Hello,
> >>>>> 
> >>>>> gop get says:
> >>>>> ---
> >>>>> EDID 1920x1080
> >>>>> mode 0
> >>>>> ---
> >>>>> 
> >>>>> When I try other modes it sometimes decreases res.
> >>>>> 
> >>>>> I remember that high res was working until now.
> >>>>> Maybe a bug?
> >>>> 
> >>>> GOP set/get/list is the only interface with uefi graphics we can use
> >> from bootloader. From loader, we only can try to use resolutions listed by
> >> gop list, even if the hardware does support better. This is the firmware
> >> limit (check for update?). Once operating system is running, X11/DRM
> >> drivers can switch to use better resolution.
> >>>> 
> >>>> Toomas
> >>>> 
> >>>>> 
> >>>>> Toomas Soome <tso...@me.com> escreveu no dia ter〓a, 6/07/2021 〓(s)
> >> 12:11:
> >>>>> 
> >>>>>> 
> >>>>>> 
> >>>>>>>> On 6. Jul 2021, at 14:07, Nuno Teixeira <edua...@freebsd.org>
> >> wrote:
> >>>>>>> 
> >>>>>>> I forgot to say that dmesg show vt resolution:
> >>>>>>> 
> >>>>>>> ---
> >>>>>>> (...)
> >>>>>>> FreeBSD clang version 12.0.1 (g...@github.com:llvm/llvm-project.git
> >>>>>>> llvmorg-12.0.1-rc2-0-ge7dac564cd0e)
> >>>>>>> WARNING: WITNESS option enabled, expect reduced performance.
> >>>>>>> ==> VT(efifb): resolution 1920x1080
> >>>>>>> (...)
> >>>>>>> 
> >>>>>>> But res isn't at 1920x1080
> >>>>>> 
> >>>>>> from boot menu, press ESC to get OK prompt, enter commands:
> >>>>>> 
> >>>>>> gop get
> >>>>>> gop list
> >>>>>> gop set X 〓 where X is number from gop list output.
> >>>>>> 
> >>>>>> this way you can check if the resolution does change or not.
> >>>>>> 
> >>>>>> rgds,
> >>>>>> toomas
> >>>>>> 
> >>>>>>> 
> >>>>>>> Nuno Teixeira <edua...@freebsd.org> escreveu no dia ter〓a,
> >> 6/07/2021
> >>>>>> 〓(s)
> >>>>>>> 11:37:
> >>>>>>> 
> >>>>>>>> Hello,
> >>>>>>>> 
> >>>>>>>> I remember having high resolution console at 1920x1080 but due to
> >>>>>> hardware
> >>>>>>>> problems I replaced hdd and installed latest snapshot #0
> >>>>>>>> main-n247671-c5f4772c66d: Thu Jul  1 and now console resolution
> >> is very
> >>>>>> low.
> >>>>>>>> 
> >>>>>>>> Did I missed something or I need to configure system so I can
> >> have high
> >>>>>>>> res again?
> >>>>>>>> 
> >>>>>>>> Thanks,
> >>>>>>>> Nuno Teixeira
> >>>>>>>> 
> >>>>>> 
> >>>>>> 
> >>>> 
> >>>> 
> >>>> 
> >>>> 
> >> 
> >> 
> >> --
> >> Tomoaki AOKI    <junch...@dec.sakura.ne.jp>
> >> 
> >> 
> 
> 
> 


-- 
Tomoaki AOKI    <junch...@dec.sakura.ne.jp>

Reply via email to