From nobody Sun Feb 27 21:54:30 2022 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 C59EE19E9CF1 for ; Sun, 27 Feb 2022 21:54:43 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztbu10011701.me.com (pv50p00im-ztbu10011701.me.com [17.58.6.53]) (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 4K6HNg03Xbz4pwG for ; Sun, 27 Feb 2022 21:54:43 +0000 (UTC) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1645998876; bh=yqrttgqYj9rGFUGlvXY3uckgt20JfAXlrGLpGqnrsa8=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=gbsp+HugW0M0q2/0wWTzupZ8x1q857lbh3n4YTl5pIXJntU/6SJmKRSk9EV0YyEG/ Y95hJKvjkXVTH9GTd736vDfbmqoiBKau7Gwva+sYM7bpIRtPAzQ9+Gy+tvU09Qzzog FEoL8RnP6tS7B3vbWTMZNEQGcNl2q2Ufvna3FB5fXScVtxpiUWbsFm/nYBhZb33UWS ScKrWnN22GtHUO9uk0szGYFXgTKn9gAKfdKECojdvXmT6OZjOanvuZm1NaVyjOAQ2i VtMgmta5A8mPyhFMFhhx3yrcS3lqy6NRSHmDF+6oKL/+Hyoog5jK4fOPqozMPje2yT C91AbK5L/oLcg== Received: from smtpclient.apple (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-ztbu10011701.me.com (Postfix) with ESMTPSA id 7D1CAB4064A; Sun, 27 Feb 2022 21:54:34 +0000 (UTC) From: Toomas Soome Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F" 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 15.0 \(3693.60.0.1.1\)) Subject: Re: "vidcontrol -i mode" shows no output except header (in search of smaller console font) Date: Sun, 27 Feb 2022 23:54:30 +0200 In-Reply-To: Cc: FreeBSD CURRENT To: Michael Schuster References: X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.816 definitions=2022-02-27_09:2022-02-26,2022-02-27 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-2202270149 X-Rspamd-Queue-Id: 4K6HNg03Xbz4pwG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=me.com header.s=1a1hai header.b=gbsp+Hug; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (mx1.freebsd.org: domain of tsoome@me.com designates 17.58.6.53 as permitted sender) smtp.mailfrom=tsoome@me.com X-Spamd-Result: default: False [-2.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.53:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.11)[-0.107]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current]; RWL_MAILSPIKE_VERYGOOD(0.00)[17.58.6.53:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 27. Feb 2022, at 23:36, Michael Schuster = wrote: >=20 > Hi all, >=20 > I'm trying to get a smaller font in my text-consoles (using vt) on my = Ryzen 4700 and Vega10 Renoir - based laptop with a fresh install of = FreeBSD CURRENT from last week.=20 >=20 > My research led me to believe that using vidcontrol would help me = here, but however I do try, "vidcontrol -i mode" prints nothing except = the header line, and other "vidcontrol" subcommands give me = "Inappropriate ioctl for device". >=20 > I tried a few things > - switched to sc via setting "kern.vty=3Dsc" in /boot/loader.conf, = this caused a hang on reboot > - setting "hw.vga.textmode" to 1 > - "kldload vesa" > ... and probably a few other things I now forget, all to no effect - I = still get nothing. >=20 > I then performed an update from a freshly 'git pulled' source today = (kernel, world, drm-devel-kmod), a simple "vidcontrol" test still shows = the same. >=20 > I know it can work because I had a smaller font before I re-installed = over the previous installation (which originally came from ghostbsd in = Aug 2020), so - I assume - it can't be rocket science :-) > I'd appreciate further hints/pointers/RTFMs (though I've tried quite a = few of those). >=20 UEFI or BIOS setup? With UEFI, sc and hw.vga.textmode has no effect. = With UEFI or BIOS+hw.vga.textmode=3D0, you can set screen.font variable = (empty value will cause the values list to be printed), or use loadfont = command with your custom font file (created with vtfontcvt). rgds, toomas --Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On 27. Feb 2022, at 23:36, Michael Schuster <michaelsprivate@gmail.com> wrote:

Hi = all,

I'm = trying to get a smaller font in my text-consoles (using vt) on my Ryzen = 4700 and Vega10 Renoir - based laptop with a fresh install of FreeBSD = CURRENT from last week.

My = research led me to believe that using vidcontrol would help me here, but = however I do try, "vidcontrol -i mode" prints nothing except the header = line, and other "vidcontrol" subcommands give me "Inappropriate ioctl = for device".

I tried = a few things
- = switched to sc via setting "kern.vty=3Dsc" in /boot/loader.conf, this = caused a hang on reboot
- = setting "hw.vga.textmode" to 1
- = "kldload vesa"
... and = probably a few other things I now forget, all to no effect - I still get = nothing.

I then = performed an update from a freshly 'git pulled' source today (kernel, = world, drm-devel-kmod), a simple "vidcontrol" test still shows the = same.

I know = it can work because I had a smaller font before I re-installed over the = previous installation (which originally came from ghostbsd in Aug 2020), = so - I assume - it can't be rocket science :-)
I'd = appreciate further hints/pointers/RTFMs (though I've tried quite a few = of those).


UEFI = or BIOS setup? With UEFI, sc and hw.vga.textmode has no effect. With = UEFI or BIOS+hw.vga.textmode=3D0, you can set screen.font variable = (empty value will cause the values list to be printed), or use loadfont = command with your custom font file (created with = vtfontcvt).

rgds,
toomas

= --Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F--