From owner-freebsd-current@freebsd.org Tue Feb 23 15:54:00 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 CCB9C548888 for ; Tue, 23 Feb 2021 15:54:00 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlNrm5Khpz3k29; Tue, 23 Feb 2021 15:54:00 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-f649235c.06-431-73746f70.bbcust.telenor.se ([92.35.73.246] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1lEa0V-000Opx-R6; Tue, 23 Feb 2021 16:53:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:To:Subject:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vd4EPPxdEHgmXX4AFSfwRj+5GydREStQJX2ExPooVYg=; b=YSZZjVuzmHa8KYTSfnf4pApQBm FAPHLL2wk1hIfLwmOJLlfD+uY3YKm4vu8BN29fYgvirKalClWvJTiTJnBT9ndRY6F+t5dMZxzkLFs 8X7EouNePmcYzglqcGf713AX05VETp7PLh4c+Hbanasgpqhvih98Igup+aRuLSG25ZCJvP3jL6nsY hFUQVzTfG9aUmiHbflPIauJspJhNCrW61zDt+WL7WkzuNMpYq/MZ5yOeHWKtJkov0rDx34FtfssBt SpTEipjT0u7//Z/9CyaxG6zhcrLO8z9NRYkYHft+b8YLjx9K9q0B1ETdmxyKaWgMmI0fXXdLZS8j+ movOO4bw==; Received: from [192.168.67.27] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1lEa0V-000MEa-Cm; Tue, 23 Feb 2021 16:53:51 +0100 From: Jakob Alvermark Subject: Re: testers needed: loader: use display pixel density for font autoselection To: Toomas Soome , FreeBSD Developers , freebsd-current References: Message-ID: <59877cd0-781a-4ee9-da3e-8fc80bc92f81@alvermark.net> Date: Tue, 23 Feb 2021 16:53:51 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4DlNrm5Khpz3k29 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Tue, 23 Feb 2021 15:54:00 -0000 On 2/23/21 12:27 PM, Toomas Soome via freebsd-current wrote: > hi! > > I have done some work to make font pickup a bit smarter (hopefully better;), but my own ability to test is limited to one bugged supermicro and one MBP with retina display… > > The phab link ishttps://reviews.freebsd.org/D28849 > > I have built loader binaries as well (bios and uefi): > loader_lua > loader_lua.efi > > To test, you should remove screen.font= line from loader.conf and test with different resolutions. > > thanks, > toomas Hi Toomas, I tested on five different setups. Surface Pro 10.6"@1920x1080: The loader menu looks different, the "FreeBSD" text is on the right side of the screen. Otherwise, the font size is what I would call a normal size. Acer laptop 11.6"@1366x768: Menu looks fine. Almost fills the entire screen. The font feels a little too big. Thinkpad built in 13"@1920x1080: Menu looks fine, but a little slow. The font size is a little to big for my liking. When drm loads and mirrors the screen to my external 27" it looks comically large. Thinkpad external 24"@1920x1200: Menu looks OK, uses about a quarter of the screen. Font size is fine, but once drm loads it looks a bit squeezed (like thin and tall), but I guess that's drm detecting the built in 1920x1080, and the external display is stretched. Thinkpad external 27"@3840x2160: Menu looks OK, uses about a quarter of the screen. Font size is fine. Looking at the dmesg though, it says: VT(efifb): resolution 1920x1080 Jakob