From nobody Mon Sep 06 16:59:55 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E2E7F17A2128 for ; Mon, 6 Sep 2021 17:00:04 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st43p00im-ztbu10063701.me.com (st43p00im-ztbu10063701.me.com [17.58.63.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H3F505wD4z3KTC for ; Mon, 6 Sep 2021 17:00:04 +0000 (UTC) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1630947598; bh=K5Nxaz70YY8wp/orzyIrCjpEXMH62cB9OC6LKrEzDWk=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=wNWuTIQ1PqRB37Ib2ausfZHu+1uLJ/OfffAv6ZCcs5Emyocagv42rNah6JFWS/Y6+ 7mPED553Etnfr8WWJNz1bkpP1WXFy/+Di+HTeCriR+ZNd1nadfa4eAx0hWcc+0noLD As9XJfhtGVUjHG+XfyGYOxlqKEABUKYs79KXkRSRArnp4MOTraKLSflXj2QTLkAAuc 698icP5NuvIhTGXkhNP+6Kqn/G7QlXc+wAEdH3LEyVlxPQgYH1nFfiI6g0CfPexBiD efTwjbSyMAPtZhsx/Vj5f40fIUDWaN4yJ0NpPMtLHJl2B2Dq/PaMJNlFgEwluPNWav 9+fFXnzdC1Hzg== Received: from smtpclient.apple (148-52-235-80.sta.estpak.ee [80.235.52.148]) by st43p00im-ztbu10063701.me.com (Postfix) with ESMTPSA id 461729A027E; Mon, 6 Sep 2021 16:59:57 +0000 (UTC) Message-Id: <31B6298E-7B3D-45FD-87CB-E541C019C5F7@me.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_8A07169A-DE07-495E-9721-302F83C1AA6C" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: EFI/loader show garbage in console when set to some resolution in loader.conf Date: Mon, 6 Sep 2021 19:59:55 +0300 In-Reply-To: Cc: freebsd-current@freebsd.org To: Karel Gardas References: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-06_08:2021-09-03,2021-09-06 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2109060109 X-Rspamd-Queue-Id: 4H3F505wD4z3KTC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: tsoome@me.com From: Toomas Soome via freebsd-current X-Original-From: Toomas Soome X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail=_8A07169A-DE07-495E-9721-302F83C1AA6C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 6. Sep 2021, at 19:44, Karel Gardas wrote: >=20 > Hello, >=20 > I'm attempting to set EFI console resolution in loader to 1920x1920. = This is working fine on all 3 tested* combinations when interrupting = loader with '3' key and then > issueing 'gop set 11' command and then 'boot' command. >=20 > However I'd like to make that permanent and here issue comes. I've = tried both: >=20 > - edit /boot/loader.conf by adding > 'exec=3D"gop set 11"' >=20 > - edit /boot/loader.conf by adding > 'efi_max_resolution=3D"1920x1920"' >=20 > neither of those works on neither of 3 tested combinations where = tested combinations are: if you have this setting, what does gop get report? With the versions = listed below, was the loader in ESP updated too? >=20 > (1) 13.0 release > (2) 13.0-p4 (stable) > (3) 14.0 snapshot from 2.9. >=20 > The behavior is still the same. Screen blanks (like it would do gop = set 11), then switches to text mode to show loader UI and when kernel > is loaded it correctly shows that efi resolution is 1920x1920 but then = when kernels boot, it produce just garbage to the console like loader = and kernel resolution would be off > by some unknown number... >=20 > Is this is known issue, is there a known workaround for it? Or shall I = report it properly to bugzilla? >=20 > Thanks! > Karel >=20 what you get from: dmesg | grep efifb rgds, toomas --Apple-Mail=_8A07169A-DE07-495E-9721-302F83C1AA6C--