From nobody Tue Jul 6 14:05:18 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3BBF11D508E for ; Tue, 6 Jul 2021 14:05:30 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK48B5Mksz4sfR for ; Tue, 6 Jul 2021 14:05:30 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 99B7E77FA for ; Tue, 6 Jul 2021 14:05:30 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ej1-f48.google.com with SMTP id i20so34020888ejw.4 for ; Tue, 06 Jul 2021 07:05:30 -0700 (PDT) X-Gm-Message-State: AOAM530RJoJsCukDYc4bhw3BISpS8CTHHY6HBf+ma7kCq9VBbsmJyJpK bWBHG78AP5UDasMR9sntiMA2Fa36T6fTQL9QvcM= X-Google-Smtp-Source: ABdhPJyJXc2rp/L8oXg1nx6AMGhMDtJ3ywVwtIKqcEbkdZSQFGvEAI8L7mkrBi3BmhAk/zB0TmEJV0FtvoqRnZk+mu4= X-Received: by 2002:a17:907:3f06:: with SMTP id hq6mr17560867ejc.130.1625580329407; Tue, 06 Jul 2021 07:05:29 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <14208BC3-6D82-48EA-97DC-32747AD5F2AC@me.com> <55630465.31.1625575346372@localhost> <20210706220449.a546aea02b871db220aaa0d9@dec.sakura.ne.jp> <24805630-6048-46FC-80E5-9583BB1F54E2@me.com> <20210706225507.a473a7e8ef7c745a3b2fdac9@dec.sakura.ne.jp> In-Reply-To: <20210706225507.a473a7e8ef7c745a3b2fdac9@dec.sakura.ne.jp> From: Nuno Teixeira Date: Tue, 6 Jul 2021 15:05:18 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: lost high resolution console with lastest snapshot To: junchoon@dec.sakura.ne.jp Cc: FreeBSD CURRENT , Toomas Soome Content-Type: multipart/alternative; boundary="00000000000016b35705c674eaa3" X-ThisMailContainsUnwantedMimeParts: Y --00000000000016b35705c674eaa3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maybe that formula is choosing large fonts related with a 15' laptop 1920x1080 res for my taste. It remembers me older bsd versions when booting But I'm happy knowing that I can change it. Thanks very much, Nuno Teixeira Tomoaki AOKI escreveu no dia ter=C3=A7a, 6/07/2= 021 =C3=A0(s) 14:55: > 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=3Db= ecaac3972f1fde4e3c44516399468ba5ca65c9b > > > On Tue, 6 Jul 2021 16:28:01 +0300 > Toomas Soome via freebsd-current wrote: > > > > > > > > On 6. Jul 2021, at 16:21, Nuno Teixeira 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 i= t > 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 escreveu no dia ter=E3=80=93= a, > 6/07/2021 > > > =E3=80=93(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=3D8x16 > > >> > > >> or any size you prefer from files in /boot/fonts. > > >> > > >> > > >> On Tue, 6 Jul 2021 14:42:26 +0200 (CEST) > > >> Ronald Klop wrote: > > >> > > >>> Maybe your previous install did not use UEFI? > > >>> > > >>> Ronald. > > >>> > > >>> > > >>> Van: Toomas Soome via freebsd-current > > >>> Datum: dinsdag, 6 juli 2021 14:12 > > >>> Aan: Nuno Teixeira > > >>> CC: FreeBSD CURRENT > > >>> Onderwerp: Re: lost high resolution console with lastest snapshot > > >>>> > > >>>> > > >>>> > > >>>>> On 6. Jul 2021, at 14:49, Nuno Teixeira > 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 u= se > > >> 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 escreveu no dia ter=E3=80=93a, 6/07/= 2021 =E3=80=93(s) > > >> 12:11: > > >>>>> > > >>>>>> > > >>>>>> > > >>>>>>>> On 6. Jul 2021, at 14:07, Nuno Teixeira > > >> wrote: > > >>>>>>> > > >>>>>>> I forgot to say that dmesg show vt resolution: > > >>>>>>> > > >>>>>>> --- > > >>>>>>> (...) > > >>>>>>> FreeBSD clang version 12.0.1 (git@github.com: > llvm/llvm-project.git > > >>>>>>> llvmorg-12.0.1-rc2-0-ge7dac564cd0e) > > >>>>>>> WARNING: WITNESS option enabled, expect reduced performance. > > >>>>>>> =3D=3D> 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 =E3=80=93 where X is number from gop list output. > > >>>>>> > > >>>>>> this way you can check if the resolution does change or not. > > >>>>>> > > >>>>>> rgds, > > >>>>>> toomas > > >>>>>> > > >>>>>>> > > >>>>>>> Nuno Teixeira escreveu no dia ter=E3=80= =93a, > > >> 6/07/2021 > > >>>>>> =E3=80=93(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 resolutio= n > > >> 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 > > >> > > >> > > > > > > > > > -- > Tomoaki AOKI > --00000000000016b35705c674eaa3--