From owner-freebsd-current@FreeBSD.ORG Tue Feb 11 02:09:44 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C08A8CBC; Tue, 11 Feb 2014 02:09:44 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6A4411382; Tue, 11 Feb 2014 02:09:44 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id e16so11900206qcx.21 for ; Mon, 10 Feb 2014 18:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=F4M93H979pFLbr4F854YCjezxHGLyHV3fmO7KvhiwEI=; b=JnzuTy6TgGhMN+Eac++Xn5IIhhfkcRMfwr9Z48M/Mom9DZVX7r4Ir9TBt3xuC7vLXS sEHMgZrA0Ist1/lMPybQflX8rmTxWS2cYa44fBtcsyiHJlIGuGnDbfWDR5L3UmNsekzS scpDE2dLmMNzA7yHFCR+rw+gbqIlPMr0YvzGgL+nTcPDMCKoN39PdqmFdzmQIozFbcw8 HdYyaLuFtf7x8381QRmeKzky8y2pLKKXNC66nfAi2zNt+oAi3ocHpJyQDBBPxwSFuCTF M4++KDQR7FywNOXwLWfQvJJImyzEwK0bG3JfDsrZaKGi3nptuI1cv6+FScCYGAd4lzYw ptTA== MIME-Version: 1.0 X-Received: by 10.224.26.15 with SMTP id b15mr52766781qac.46.1392084583571; Mon, 10 Feb 2014 18:09:43 -0800 (PST) Sender: carpeddiem@gmail.com Received: by 10.140.31.68 with HTTP; Mon, 10 Feb 2014 18:09:43 -0800 (PST) In-Reply-To: <20140210210728.GA86718@FreeBSD.org> References: <20131025151847.2a1b83de93335040797ceaf1@ddteam.net> <20131031210138.GC30328@ambrisko.com> <20140210210728.GA86718@FreeBSD.org> Date: Mon, 10 Feb 2014 21:09:43 -0500 X-Google-Sender-Auth: 2n1W4bKd5I-Wdfd3h_UKKNc0wmQ Message-ID: Subject: Re: newcons comming From: Ed Maste To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Cc: Aleksandr Rybalko , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 02:09:44 -0000 On 10 February 2014 16:07, Alexey Dokuchaev wrote: > > 1. Before going X, switching consoles took considerable time (about or more > than one second). Every time my monitor briefly displayed mode information > pane like it does when new mode is being switched. It does not happen after > X was loaded, and while console text is pretty small now (LCD runs at native > resolution for all consoles, text ones + X), I'm wondering why it cannot be > done up front, without having to startx first. You should be able to manually load the kms modules to switch to native resolution, without starting X. This should also be possible from the loader, although there's a known issue with i915kms on certain hardware, like X2xx Thinkpads. > Also, even at native resolution, switching consoles takes LCD considerable > time to redraw screen contents. Looks like it's not accelerated at all... Can you quantify "considerable time," and describe the hardware on which you observe this? On my Thinkpad X220 it's not noticeably laggy, with either the VGA driver (at boot) or i915kms. In Virtualbox it is observably slow right now, but not unusably so. > 2. Is there way to change fonts apart from patching the kernel source code > and using tools from https://github.com/emaste/fontstuff? Can I use more > than one font (e.g. for different Unicode code point ranges)? We will ship a set of fonts in /usr/share, and vidcontrol will gain the ability to load those fonts for vt(9). For now you can build the font tools in tools/tools/vt/fontcvt and tools/tools/vt/setfont to convert a .bdf font and load it. The current plan is to support only one font (per vt) in the kernel. Any mixing would be done in userland. -Ed