From owner-freebsd-questions@freebsd.org Wed Nov 25 18:13:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB251470ABB for ; Wed, 25 Nov 2020 18:13:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ch8Bt4nXnz3qG1 for ; Wed, 25 Nov 2020 18:13:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.231.62]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mz9hF-1kLcuu06Nf-00wEo9; Wed, 25 Nov 2020 19:12:59 +0100 Date: Wed, 25 Nov 2020 19:12:58 +0100 From: Polytropon To: Christoph Brinkhaus Cc: Janos Dohanics , FreeBSD Questions Subject: Re: Console resolution/font size Message-Id: <20201125191258.6130f490.freebsd@edvax.de> In-Reply-To: References: <20201125020318.30f5921d6fee3e267945a243@3dresearch.com> <20201125120342.642137e5543f8d9ee25d84a9@3dresearch.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:OGaJaw3TRu/hdUhzUi7tDtTpzkd7NxczdanzDMMq9S70VH1fuGf UkTffwfhilVW+p4uSMpXFqZ0kjjucTuMEtbjJ3BXs9K299zkEH/gWXphH565x2PnQfsFvql 6zdoTBDvYs4gyGu7CyRFQ5oS2vm4WKoCEkjTiTVTreq8HrkgP1bPnifI7SocbxCly3Xlj5Y d8ADpMvntPtKf4TsPBMGA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:l52KuqbHFVo=:N/Nis9NuPKQ1r1bp6VrIAv ERNl0gwgQkYUslE+dXLkNgQDeWBNGO01AodyP+0R3N8uvmpnVfriKuADz+6withEaIwwgrGkz NL8gzK3HojI7ZLHCIIF5lP3K2lzM/lTsyKIjfHW9o7pSR3a+OAf8TY/5peZVKU44E+rlcOJCZ Nq+beQzrMk4K7jPsZZDJfIHuqtmkjmRFTR3uppMr6ymwaRIf2O7c2qqqnHkMjlW+HtTuP2D2Y BlCXrnBsb+EEocHZCF35zXFFkjOhWQ5RSJlF/0LYZlhSzjmUMaifn1lBmVnNpHYw3C/FGP1Ux L1Th1cYHRWaZ/fsIy9uTrqNYibM843eEg5uXvocxhXreLz1zuprKiDsvtBJ9+gt6470ikkgkJ uWBws6lCrAkxL/CWx5zJDf0ksRaESMO4wdsmOizJOngc4Mrj+O5cd7ow+rSuk X-Rspamd-Queue-Id: 4Ch8Bt4nXnz3qG1 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [1.40 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[t-online.de]; RECEIVED_SPAMHAUS_PBL(0.00)[178.5.231.62:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.72.192.73:from]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[217.72.192.73:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.73:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.73:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2020 18:13:11 -0000 On Wed, 25 Nov 2020 18:17:03 +0100, Christoph Brinkhaus wrote: > Am Wed, Nov 25, 2020 at 12:03:42PM -0500 schrieb Janos Dohanics: > > On Wed, 25 Nov 2020 09:45:06 +0100 > > Christoph Brinkhaus wrote: > > > > > Am Wed, Nov 25, 2020 at 02:03:18AM -0500 schrieb Janos Dohanics: > > > > Hello, > > > > > > Hello Janos! > > > > > > > [...] > > > > > > > > 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 > > Dear Janos, > > thank you for the feed back. > > > Hi Christoph, > > > > I have changed /boot/loader.conf as you have suggested: > > > > # cat /boot/loader.conf > > kern.geom.label.disk_ident.enable="0" > > kern.geom.label.gptid.enable="0" > > cryptodev_load="YES" > > zfs_load="YES" > > efi_max_resolution="720p" > > > > Works perfect, thank you! > > > > Except: The FreeBSD Boot Loader Menu is not displayed. After 10 > > seconds, the boot process items keep scrolling at a readable resolution. > > This is not something one want to have. > The only idea I have is to increase the delay of the boot menue. It is already 10 seconds. For a Thinkpad T480, 10 seconds should be more than sufficient for the screen to switch modes (if it actually does that)... On modern hardware, it is absolutely important to load the correct KMS drivers, and it's possible to play with fonts. All of this is not really documented well, and personally I still consider it to be a bit experimental because vt can still not sufficiently do what sc could do for decades. There are many variables and moving parts, such as graphics card and driver, UEFI, display internal firmware, ant-tiny fonts, ugly colors, and all that, also DRM drivers and how and when they are loaded. A _text_ mode (per definition) no longer exists, it's all some kind of graphics mode. You need to experiment with screen size and fonts if you want to get a readable non-X11 mode on your machine. Two sources of information are those: https://wiki.freebsd.org/Newcons https://wiki.freebsd.org/Graphics Also check the related manual pages, especially "man 5 loader.conf". Or say goodbye to "text mode" entirely and use X instead. It makes life a lot easier. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...