From owner-freebsd-arm@freebsd.org Mon Jun 8 05:14:27 2020 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 BB96A342BD0 for ; Mon, 8 Jun 2020 05:14:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 49gLyp6Gm1z4Vrw for ; Mon, 8 Jun 2020 05:14:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Kd8zlg8VM1njgNCl16BJRDVC1unEVVBnYl1UljmXXOe_HPWAtXqTIQPXrG2CyJw 8MJI.otU6e.kaMvtcGzTPvAv2uzosjeIl94ETv6EhksYfJwvq.UDZtR_mCXGib2PH6WKlv_y9dkr LN1coYJ_PZWBRBnW7zcMk1RcamPHG3XxehCAp_6TULjZKClDiw0KGYXfDkkCwU6y9BZ78.qn2f0g i3ee8qhvQ7OpimkSUY7WExaR2_zRs8AEy2wdhx_rk8knAyP0Wcz.lykawdLYBhrktdUArZ9SId2F wnhA37XFBasm_OcRCvyqud8pMXHAintYtkH6_xtAC7J3JwH88Zf52onPk66kDlNicbDfew2yqM5x fE3wFwobtfYprL9Y7BUC61jzTGGkhluiB4mRUPs2WBNQsDj0vpgU5pKxzg9EngzmsztAIBOSji.J ScIQB5TSwUwWzE3xE_kfm7yyDqzXbpWIXT.Qp0mhXVjEawe3k1A.jY8PlnZsxzA9RAsW81vNfaBR nDN6K6WnMW95BDqWG2mEg5RSYazNvL4l.ZbmTJhE67k5dfiy1.a.D7nSTQ4z3Vja_aGHckOecWBo NLJwS3Dfh2xDr7Ut1uzs7sjMtBA6JNlQWAsux5KzDYrlQO0iLbDvOwKINDmlXb2N3RDuTcxqFAuE rNX7y.CEUkvmSPcj8t8kusYIkjpb7umnZVogQ7Gc0IZTDmptdLf.Elyk.hVZ6rDef5ZczYA.wGDU CQxeicLm_SRhwtbqHvwQrdEQotyw2YWqCG36K2TaRyMY1xzuWn.rnBoByHiB9koK6amAuWKhFhei OTeuFvjAgEPoae8aSjZG7MWGri5IHHR8LAXil6VBSun9hp4GWNJeAmDDR8EEeJxxPSRXGONWio.9 Y5lSF78hzaRV.QTfpxvOzFXI18_FYuKUPjl1vlB_CrUGwZOKvYxW_jEO1ASHYRhEE7e3xKsSt.n8 _bFDZvuiEnEaYqkpWlYSnXP2Zv3D7fdDscdAPYboq9iIJC8ZQ.yMbtS0066TAEPqhgX0q83PEFIe U73daY5IwpSk.5CqI5m0vgG0RkKfdephqXoa3LLCq98LZ_pImMTGsgvKmLpyM_XzarBU9ZXXHBzj JwO2WCc.5UZFgDAUzWSMwfFhLuMRZj.6hZ3FeH.sTNxFk6sRH8It3tZwzjTxRdsE5nQZyOC_E1hi WqwlA0sp4QeSPlnbgDfL6YJ9fqB5h.3uhUNCYYlZE.a_y0S3fIgQc1qlYhSlE91QDasLhNmWVv6M N442Z22iAd0wux1oXmR2eUHeSkNFGJGQyGeDYJ9tJJyHzpJdAEE4_eEcoJNvetBwSicZAfe.x0gl 2Ov_1TLuOpqdF7J5lPndqm4efWqBhrGofC4bsFGGXDEmtoAKtFDQUf013ij_sTMaPSAB2LOnlCeg lOAD0Y2tfq3ZB8EC9AZEe2Ws- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Mon, 8 Jun 2020 05:14:24 +0000 Received: by smtp420.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 25d2be26c4b4fdd736072eb282fe642a; Mon, 08 Jun 2020 05:14:21 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: X trouble on Rpi3, was Re: Missing /dev/io on rpi3 running 12-stable From: Mark Millard In-Reply-To: Date: Sun, 7 Jun 2020 22:14:20 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <978CB10D-C593-4C71-81A9-79CDD63118A8@yahoo.com> References: <20200520164642.GA70838@www.zefox.net> <20200521022517.GA71947@www.zefox.net> <9E006FD6-493A-43CD-B242-47E00BBDFF6A@yahoo.com> <20200523052439.GB78879@www.zefox.net> <20200523224611.GA80843@www.zefox.net> <17328C3E-730A-4199-899F-01D3D8060BC1@yahoo.com> <20200524015747.GA81498@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49gLyp6Gm1z4Vrw X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.66 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.05)[-1.055]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.01)[-1.005]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; NEURAL_HAM_SHORT(-1.10)[-1.103]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 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 Jun 2020 05:14:27 -0000 On 2020-May-23, at 20:18, Mark Millard wrote: > On 2020-May-23, at 18:57, bob prohaska wrote: >=20 >> On Sat, May 23, 2020 at 06:20:13PM -0700, Mark Millard wrote: >>>=20 >>> Unfortunately (until there is an MFC of the relevant >>> change from head that makes things work), man scfb >>> reports that you have no control because the >>> information is ignored: >>>=20 >>> For this driver it is not required to specify modes in the = Screen >>> section of the configuration file. The scfb driver picks up = the >>> currently used video mode from the framebuffer driver and uses = it. >>> Video modes specifications in the configuration file are = ignored. Note, that was about things failing via: [253234.578] (II) scfb(0): Using: depth (24), width (1920), height = (1200) [253234.578] (EE) scfb(0): Specified fbbpp (24) is not a permitted value [253234.579] (II) UnloadModule: "scfb" Well, an MFC to stable/12 has been done for the issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235363 --- Comment #15 from commit-hook@freebsd.org --- A commit references this bug: Author: gonzo Date: Mon Jun 8 00:20:16 UTC 2020 New revision: 361899 URL: https://svnweb.freebsd.org/changeset/base/361899 Log: MFC r352028: [rpi] Inherit framebuffer BPP value from the VideoCore firmware Instead of using hardcoded bpp of 24, obtain current/configured value from VideoCore. This solves certain problems with Xorg/Qt apps that require bpp of 32 to work properly. The mode can be forced by setting framebuffer_depth value in config.txt PR: 235363 Submitted by: Steve Peurifoy Tested by: Johnathan Chen (stabe/12 patch) Changes: _U stable/12/ stable/12/sys/arm/broadcom/bcm2835/bcm2835_fbd.c stable/12/sys/arm/broadcom/bcm2835/bcm2835_mbox.c =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)