From eugen@grosbein.net Sat Dec 4 18:36:07 2021 X-Original-To: freebsd-stable@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 64DC218CE6FD for ; Sat, 4 Dec 2021 18:36:48 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5z1X19WYz53Pm for ; Sat, 4 Dec 2021 18:36:47 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 1B4IaKo5013126 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 4 Dec 2021 18:36:20 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: pmc@citylink.dinoex.sub.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 1B4IaJ9V063777 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 5 Dec 2021 01:36:19 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: 12.3: vt driver does not provide virtual console terminals To: Peter , freebsd-stable@freebsd.org References: From: Eugene Grosbein Message-ID: <366b5ed5-27bd-ab9a-3217-f88416e302fb@grosbein.net> Date: Sun, 5 Dec 2021 01:36:07 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT autolearn=disabled version=3.4.2 X-Spam-Report: * -0.0 SHORTCIRCUIT No description available. * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 4J5z1X19WYz53Pm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 05.12.2021 1:20, Peter wrote: > the (current default) vt console driver does not provide multiple > virtual terminals on VGA console (no KMS). Only one console terminal > is accessible. The others are present, they can be switched to with > Alt-Fn, but they provide no I/O and are just black. > > When reverting to the sc console driver, the virtual terminals are > working as expected. (But without UTF-8 hardly useable.) JFYI: the sc(4) driver supports UTF-8 since 8.0-RELEASE. A set of kernel options is required: options SC_PIXEL_MODE options VESA options TEKEN_XTERM options TEKEN_UTF8 And optionally for /boot/device.hints: hint.sc.0.flags="0x180" # switch to graphics mode at boot time hint.sc.0.vesa_mode="0x1F0" # preferred framebuffer video mode code And the port sysutils/jfbterm to render fonts.