From owner-freebsd-current@FreeBSD.ORG Fri May 27 22:37:50 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 66C3216A41C; Fri, 27 May 2005 22:37:50 +0000 (GMT) (envelope-from antony.t.curtis@ntlworld.com) Received: from mta08-winn.mailhost.ntl.com (smtpout16.mailhost.ntl.com [212.250.162.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F18243D1F; Fri, 27 May 2005 22:37:48 +0000 (GMT) (envelope-from antony.t.curtis@ntlworld.com) Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8]) by mta08-winn.mailhost.ntl.com with ESMTP id <20050527223747.GDEP26549.mta08-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com>; Fri, 27 May 2005 23:37:47 +0100 Received: from pcgem.xiphis.org ([81.103.110.177]) by aamta05-winn.mailhost.ntl.com with ESMTP id <20050527223747.MYFQ8884.aamta05-winn.mailhost.ntl.com@pcgem.xiphis.org>; Fri, 27 May 2005 23:37:47 +0100 From: Antony T Curtis To: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= In-Reply-To: <867jhlk9z5.fsf@xps.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> <867jhlk9z5.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1 Date: Fri, 27 May 2005 23:37:42 +0100 Message-Id: <1117233462.87322.9.camel@pcgem.xiphis.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Xin LI , Eric Anderson , freebsd-current@freebsd.org, delphij@freebsd.org, Eric Kjeldergaard , Jeremie Le Hen 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: Fri, 27 May 2005 22:37:50 -0000 On Thu, 2005-05-26 at 22:28 +0200, Dag-Erling Smørgrav wrote: > 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. Strange, I thought that the VESA driver did know how to do that. I recall years ago writing a driver for XFree86 3.3 which used the FreeBSD VESA driver to switch video mode and set up a linear frame buffer. I have even found the ancient email with it... http://listserver.uk.freebsd.org/pipermail/freebsd-users/2001-May/003629.html -- Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache IT Consultancy.