Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 23:37:42 +0100
From:      Antony T Curtis <antony.t.curtis@ntlworld.com>
To:        Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        Xin LI <delphij@delphij.net>, Eric Anderson <anderson@centtech.com>, freebsd-current@freebsd.org, delphij@freebsd.org, Eric Kjeldergaard <kjelderg@gmail.com>, Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: [CALL FOR TESTERS] VESA High Resolution Console support from DragonFly
Message-ID:  <1117233462.87322.9.camel@pcgem.xiphis.org>
In-Reply-To: <867jhlk9z5.fsf@xps.des.no>
References:  <20050522112612.GA37841@frontfree.net> <20050523003843.GO850@obiwan.tataz.chchile.org> <1116815005.838.3.camel@spirit> <d9175cad05052421282f757528@mail.gmail.com> <1116999375.731.7.camel@spirit> <d9175cad0505242259265a12e8@mail.gmail.com> <429468C3.5040207@centtech.com>  <867jhlk9z5.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-05-26 at 22:28 +0200, Dag-Erling Smørgrav wrote:
> Eric Anderson <anderson@centtech.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1117233462.87322.9.camel>