From owner-freebsd-arm@freebsd.org Mon Mar 8 08:14:30 2021 Return-Path: Delivered-To: freebsd-arm@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 C5CC9569C03 for ; Mon, 8 Mar 2021 08:14:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.ne1.yahoo.com (sonic306-20.consmr.mail.ne1.yahoo.com [66.163.189.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DvB2Y4qgvz3pPF for ; Mon, 8 Mar 2021 08:14:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1615191267; bh=OC7deaOy5oW0bWDTIYGhUKGcpBKZhJ7LTsCupprhayf=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ieQZhNioRRwcPCGxlRmlHA7Z5lgKFXBYDOrxeBhdxrOEcfsQGbKiiZILhKKthLA/VUCZV4fWLTDTEmcbJBTA/d6eEZ8mn7/MAszqKwst5M9ViLg1FcqW1IzjZr87tNW3lm0y4zLP7qxaYHDodTTHssWGa7P3xxH5vIUsv8Fh7hoiPlGpuFXtegfG5NCassn2iC0gxVVe71GiDHyWLZivLLPph5pkAtvG7RPWNFaB6dPacIkSMNzysTzp1y1k89Xy+cwrqQsOgS17D6RzUB+5+9xI5XNwc3VVSB1wgoTsT/nmTOZ5xcsTJwZsJK2YUCuljZ6IpwqSPgOe45rG50/Znw== X-YMail-OSG: ULvMraAVM1lfxNDM5V4wk9aA286GQClCSsX7Em7WULRdxP9aiaM_mp4PDnLiJpp w2Qou01LvPevTOA5w4BqASeqV6Web6FWluyVmH9bJXAgP1RJYdo84BJ.LVdF.n4b39l3ZmoEyR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BG.sq5KzPygQHt9gSrxeTGfB.m68c92rUHq7Arkopbk8u3aafvE58VXwqWJ52KwJw5peu VGsdBXcROLJcY7_1AMAuV0F_dxPUge3c4xpYwdE8mrS6OXQzdP8bO4g4HE67vtdIIIqb1XfA_Q4z ZQjzdO4NYJEQpFz6lqf92LGAM787FsLy.9IAmzzhr2HjOzmnfpW0rmCY4t0cDADQMIk41eLVAy3t WStnO90EgKsEk X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 8 Mar 2021 08:14:27 +0000 Received: by smtp414.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6cc42b17b1f672adfb0eb339b8bf51fc; Mon, 08 Mar 2021 08:14:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and xorg behavior From: Mark Millard In-Reply-To: <20210308011035.GA6603@www.zefox.net> Date: Mon, 8 Mar 2021 00:14:21 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20210307021628.GA99890@www.zefox.net> <20210307155515.GA4591@www.zefox.net> <67BF2EAC-04AD-4822-99B2-48A99563331F@yahoo.com> <4B963C56-D7E9-42FE-8B8B-B8A425ACE78F@yahoo.com> <20210308011035.GA6603@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DvB2Y4qgvz3pPF X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.189.82:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[66.163.189.82:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; RCVD_IN_DNSWL_NONE(0.00)[66.163.189.82:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.189.82:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 08:14:30 -0000 On 2021-Mar-7, at 17:10, bob prohaska wrote: > In the interests of exploration, I tinkered a bit more with > my Pi4 running the latest -current snapshot. Here are a few > observations: You may want to be explicit about the build version involved (last commit involved on what branch). My notes below are from a non-debugt build based on main bad9fa56620e (CommitDate: 2021-03-06 21:46:28 +0000). Used on a RPi4B 8GiByte. > Screen resolution seems to be about 30 lines by 90 columns, > on a commonplace Dell 1920 by 1080 HDMI display. Mouse and > keyboard work correctly. My boot sequence for the RPi4B 8 GiByte shows (when I have the HDMI display attached, which I usually do not): EFI framebuffer information: addr, size 0x3e2fe000, 0x7e9000 dimensions 1920 x 1080 stride 1920 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 . . . fb0: on simplebus0 fb0: keeping existing fb bpp of 32 fbd0 on fb0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0. VT: Replacing driver "efifb" with new "fb". fb0: 1920x1080(1920x1080@0,0) 32bpp fb0: fbswap: 1, pitch 7680, base 0x3e2fe000, screen_size 8355840 . . . I use: if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi in various ~/.profile files and after logging-in doing a "stty -a" shows as its first line: speed 9600 baud; 67 rows; 240 columns; Thus figures seem accurate. I doubt that it matters but /boot/loader.conf does have: boot_multicons="YES" boot_serial="YES" > Boot countdown timers run five to ten times slower than actual time. For the 10 down to zero countdown in the loader prompt it takes about a minute here. How about shutdown timers? "shutdown +10sec" takes about 10sec here. "shutdown +1" (so in 1 minute) takes about 1 minute. I've not tried absolute times. But I've a network connection and use: # Nice if you have a network, else annoying. ntpd_enable="YES" ntpd_sync_on_start="YES" ntpd_user="root" That is not involved at the loader prompt's count down's time frame. > Boot seems to stall until enter is hit at a couple of points, the > first I think was after displaying > EFI console I've never observed such a hang requiring input. (I do have a serial console set up.) If it does not really hang, how long does it take at each pause when there is no input? The 10 down to 0 already mentioned earlier is the pause that I noticed and have explicitly timed. I assume that "EFI console" here is a reference to the "Consoles: EFI console" text shortly after "Booting /efi\boot\bootaa64.efi". (My wording ignores escape sequences that are in the character sequence.) > Wired ethernet worked through a wireless bridge without intervention. > How it connected without being told the password for the access point > remains a puzzle. Maybe it inherited a DHCP session left over from > RaspiOS, which was shut down a few minutes previously. > > Xorg and Firefox installed as packages without difficulty, but Xorg > persists in using the very low resolution inherited from the boot > display. Running X -configure reports no devices to configure. That > seems the first thing worth fixing, any hints greatly appreciated! I normally do not use X11 but I do sometimes build lumina as part of building ports for aarch64, more as I general test of how builds go than for use. X11 and Firefox and the like are outside my range of use. So I'm not of much help here. > Firefox spews errors on the controlling terminal but seems to run > and produce a reasonable display, given the low screen resolution. I've no clue why you end up with something other than 67 lines x 240 characters on a 1920 x 1080 display. May be displays have a built-in default font that varies from model to model and that default is implicitly used by FreeBSD? FYI: On the ThreadRipper I do control things explicitly via /boot/loader.conf having: screen.textmode="0" screen.font="8x16" but the context is a 2560 x 1440 display and there is no serial console set up for this context. I've not investigated such things on any other type of context. "stty -a" ends up reporting: speed 9600 baud; 75 rows; 240 columns; (System built from same sources as the RPi4B's system was, also non-debug style.) > Altogether I'm very impressed. If this isn't Tier 1 behavior it's > mighty close.... === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)