From owner-freebsd-current@freebsd.org Mon Feb 15 15:56:21 2021 Return-Path: Delivered-To: freebsd-current@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 24AEC531136 for ; Mon, 15 Feb 2021 15:56:21 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DfTH84nl4z4kHH for ; Mon, 15 Feb 2021 15:56:20 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 9D3A5531386; Mon, 15 Feb 2021 15:56:20 +0000 (UTC) Delivered-To: current@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 9BEF3530DF6 for ; Mon, 15 Feb 2021 15:56:20 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DfTH74LPFz4kJd for ; Mon, 15 Feb 2021 15:56:19 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: by mail-vs1-xe30.google.com with SMTP id u7so3471797vsp.12 for ; Mon, 15 Feb 2021 07:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YVUj2dSFt3H6/jpNySJwp8PWCdEfwJYu0zZW7Wxmfx8=; b=Iaml1yGqJ45UR0FeLgakqDiJ6bnBPBeGQLP+0ED0WmQbCQxm8GfbHyICaBW/Yi96qL yCP/liQ+6N6saPJ0f3rmc9HbJnUyTRr+hw8dLewjNUTnMmPiNKHrr3R+SHkkqTI4VcJl G9Pul64Jg6AUPsOxqkgYN7xezbj8S806nS0yrrORXiLPyJcZF7WQhzmuwwVjQfjhyWEr vHa4D5p1VZmhXm2fdApi63UjhL+xlJmlGS75Zl3tXMAlwSbI+CKpw0ZBio3hcRihn491 Xh/OtlWaJsra6b9h300lr7XHLTvcmrcHFxRU/weGByhiBH2oS+Eps2bnse2CeCe7yy+o n2wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YVUj2dSFt3H6/jpNySJwp8PWCdEfwJYu0zZW7Wxmfx8=; b=R1FFlERvae6CAR4VwM6u4otuvtScbOXPMQjmhYXBlOR9XBYNA8GcZ3eYkFKuptufuP 9AXlzK6QwocUtDAXAjJHuzohvj3y+QCirYe1EcwEc8pxyYJqmhaCBIjHFrKvJTn6SEBY 7Bl9Q3J83kHS/kxVjPujNwpGDXgX8o5PFE69oF7wEyUaRCcbmQkQHFSNMqkibzm1dRUQ 0zEkOUVdRNhLIx0kuYqaumH5643inKAwSDM66buFZr9dMLQuGvyI2j1+dMYKLUOZ8LeZ 0RC5C+BpdYtFl/em3gIdKzI6SWrex4dXQ3IQOAjz4j/9hY9vSJ01H3QsNgdSlAdIXMX/ YyhQ== X-Gm-Message-State: AOAM530lwuZPl/rCN3N0DltdGWNVQacYzUkGwMAMerh92wb5OMHWTrn+ vCzRVxFWhdJFUNcLge7WR+AJpusnJXxo6cOfEbw= X-Google-Smtp-Source: ABdhPJzdNR9j8EDY6jrrzOrlgPIT74noq/azAzcKkFDTb511Hux4g/xOPkJdsRDFdRPNFLa46n7Fb187n90I1xqjtD8= X-Received: by 2002:a67:7f42:: with SMTP id a63mr9337331vsd.43.1613404578466; Mon, 15 Feb 2021 07:56:18 -0800 (PST) MIME-Version: 1.0 References: <202102121432.11CEWqPi068984@gndrsh.dnsmgr.net> In-Reply-To: <202102121432.11CEWqPi068984@gndrsh.dnsmgr.net> From: Daniel Nebdal Date: Mon, 15 Feb 2021 16:55:41 +0100 Message-ID: Subject: Re: loader/boot fonts are painfully small (again) To: "Rodney W. Grimes" Cc: Toomas Soome , Yuri Pankov , current@freebsd.org X-Rspamd-Queue-Id: 4DfTH74LPFz4kJd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Iaml1yGq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dnebdal@gmail.com designates 2607:f8b0:4864:20::e30 as permitted sender) smtp.mailfrom=dnebdal@gmail.com X-Spamd-Result: default: False [-3.98 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.980]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::e30:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::e30:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e30:from]; FREEMAIL_CC(0.00)[me.com,yuripv.dev,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 15:56:21 -0000 On Fri, 12 Feb 2021 at 15:33, Rodney W. Grimes < freebsd-rwg@gndrsh.dnsmgr.net> wrote: > > > > > > > On 11. Feb 2021, at 23:21, Yuri Pankov wrote: > > > > > > Lenovo P51 laptop, 15'' 4k (3840x2160) display. > > > > > > Booting from the latest available current snapshot (20210107), fonts > > > were at least readable; updating to the latest bits (manually > installing > > > new loader as well) made them really small -- terminal size reported by > > > stty is 480x135. > > > > > > > It is a issue about not so good automatic font size setup. The original > code was using 80x24 terminal as base, it was complained it did end up with > too large fonts, so I did pick uefi terminal size as base (see output from > mode command), but thats also not perfect. Till better solution, right now > the option is to set font manually (screen.font variable). > > Can we just stick with the "known to work almost everywhere and always" > default value of 80x24? These small fonts are great for those of you > who have 20/20 un corrected vision, but it is a royal PITA for almost > anyone who has even a slight visual imparement, even corrected I find > it near imposible to read the default efi screens we put up. > > I would suggest we also override this in the -RELEASE/SNAPSHOT > media as one just does not need to fight this font size issue > while trying to install a new system. > > Thanks, > Rod > > > > > I have also noticed large delays between different loader screens, > > > probably caused by very slow screen blanking given the terminal size? > > > > yes, it definitely needs boost.There are few things we can do about it. > > > > rgds, > > toomas > > If we assume that 16:9 screens are the most common aspect ratio, and that the font we use is 1:2 (which is just guesswork, based on the 8x16 console font), that gives us a 32:9 aspect ratio counted in characters. It seems sensible to stick to an integer multiple of that, to avoid any uncomfortable stretching or scaling. The 480x135 console you got follows that idea - it's the 15x scale. That's obviously a bit optimistic, but how about the 3x or 4x scale, at 96x27 or 128x36? -- Daniel Nebdal