From owner-freebsd-current@FreeBSD.ORG Thu May 26 20:28:54 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACACA16A41C; Thu, 26 May 2005 20:28:54 +0000 (GMT) (envelope-from des@des.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 375C143D4C; Thu, 26 May 2005 20:28:54 +0000 (GMT) (envelope-from des@des.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IH4008QRC3K0Q40@osl1smout1.broadpark.no>; Fri, 27 May 2005 00:35:44 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IH400C706EDKHE0@osl1sminn1.broadpark.no>; Thu, 26 May 2005 22:32:37 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id 5DB464561A; Thu, 26 May 2005 22:28:52 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id B8584451B3; Thu, 26 May 2005 22:28:46 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id A9A3733C1C; Thu, 26 May 2005 22:28:46 +0200 (CEST) Date: Thu, 26 May 2005 22:28:46 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <429468C3.5040207@centtech.com> To: Eric Anderson Message-id: <867jhlk9z5.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <20050522112612.GA37841@frontfree.net> <20050523003843.GO850@obiwan.tataz.chchile.org> <1116815005.838.3.camel@spirit> <1116999375.731.7.camel@spirit> <429468C3.5040207@centtech.com> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: Cc: Jeremie Le Hen , Eric Kjeldergaard , freebsd-current@freebsd.org, delphij@freebsd.org, Xin LI Subject: Re: [CALL FOR TESTERS] VESA High Resolution Console support from DragonFly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 26 May 2005 20:28:54 -0000 Eric Anderson writes: > I noticed that changing to 16bit (instead of 32 or 24) helped a lot. ...because more pixels fit in a single 64 kB page, so the console code doesn't have to switch pages as much while redrawing the screen. Switching pages requires switching to virtual x86 mode (stalling the CPU and invalidating the cache) to invoke the VESA BIOS. On graphic adapters with linear framebuffer support (pretty much all of them today), you can map the entire framebuffer into memory to avoid paging, but our VESA driver doesn't know how to do that. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no