From nobody Tue Jul 06 13:23:39 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 5E1777CFC27 for ; Tue, 6 Jul 2021 13:23:43 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK3Cy6bM1z4dwG; Tue, 6 Jul 2021 13:23:42 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-48-130-181.area1b.commufa.jp [123.48.130.181]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 166DNdIU046564; Tue, 6 Jul 2021 22:23:40 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 6 Jul 2021 22:23:39 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Cc: Nuno Teixeira Subject: Re: lost high resolution console with lastest snapshot Message-Id: <20210706222339.0315f6d827c1ce6f19ae0c64@dec.sakura.ne.jp> In-Reply-To: References: <14208BC3-6D82-48EA-97DC-32747AD5F2AC@me.com> <55630465.31.1625575346372@localhost> <20210706220449.a546aea02b871db220aaa0d9@dec.sakura.ne.jp> Reply-To: junchoon@dec.sakura.ne.jp Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) 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 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GK3Cy6bM1z4dwG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Ah, sorry. Put it in /boot/loader.conf. And one other thing to mention. If the screen resolution itself is incorrect, possibly putting vbe_max_resolution=1920x1080 in /boot/loader.conf could help, as your gop mode 0 seems to be 1920x1080. On Tue, 6 Jul 2021 14:12:55 +0100 Nuno Teixeira wrote: > hello, > > which config file should I put that line? loader.conf? > > Tomoaki AOKI 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 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 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 escreveu no dia ter〓a, 6/07/2021 〓(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. > > > > >>> ==> 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 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 > > > > -- Tomoaki AOKI