From owner-freebsd-hackers Wed Mar 10 16:51:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (Postfix) with ESMTP id 2FC2B14EEF for ; Wed, 10 Mar 1999 16:51:21 -0800 (PST) (envelope-from dawes@rf900.physics.usyd.edu.au) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.9.1a/8.9.1) id LAA15704; Thu, 11 Mar 1999 11:50:50 +1100 (EST) Message-ID: <19990311115050.E15533@rf900.physics.usyd.edu.au> Date: Thu, 11 Mar 1999 11:50:50 +1100 From: David Dawes To: Mike Smith Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: GGI References: <19990307152541.O4858@rf900.physics.usyd.edu.au> <199903090151.RAA02086@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199903090151.RAA02086@dingo.cdrom.com>; from Mike Smith on Mon, Mar 08, 1999 at 05:51:21PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 08, 1999 at 05:51:21PM -0800, Mike Smith wrote: >> Speaking of which (the Linux fb driver, not GGI), we're just adding a >> driver to XFree86 4.0 that can use the Linux fb driver. It is useful >> from our point of view for getting initial unaccelerated support for >> otherwise unsupported video cards. I had a feeling that something >> similar could be done for FreeBSD (using the VESA support in -current). >> Is that right? If so, is anyone interested in doing it? > >It should be very simple; basically all that's missing right now is the >ability to get the linear framebuffer address information from the VESA >BIOS back into user-space. You should have no trouble mapping the >video aperture. > >Would you want an interface for page-flipping etc. as well? Any design >proposals that would make life optimal for you? Linear fb access is preferred, although we do have a more general way of handling banked framebuffers in 4.0. In the first instance I'm looking for something fairly basic that sets a graphics mode and maps the linear framebuffer. We'd probably need information about the framebuffer layout too (pitch, pixel size/format), and a way of reading/writing the colourmap. Unfortunately I don't have much time to spend on this myself at the moment. Is anyone else here interested in looking into it? BTW, I notice that the kernel's VESA option can't be used with SMP. Is this restriction likely to go away? David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message