From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32472 invoked from network); 17 Nov 1998 07:07:33 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 17 Nov 1998 07:07:33 -0000 Received: from norad.dodds.net (scorpio@westgate-190-203.res.iastate.edu [129.186.190.203]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA06287 for ; Tue, 17 Nov 1998 02:07:33 -0500 Received: from localhost (scorpio@localhost) by norad.dodds.net (8.8.5/8.8.5) with SMTP id BAA12582 for ; Tue, 17 Nov 1998 01:07:32 -0600 Date: Tue, 17 Nov 1998 01:07:32 -0600 (CST) From: Bibek Sahu To: axp-list@redhat.com Subject: Re: fbcon In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII The current kernel (generic) framebuffer code won't work on alphas. It has some memory access ... methods ... that aren't very portable. (note that the TGA framebuffer works because it bypasses all of these generic functions) There is currently a matroxfb in development which provides partial acceleration for the console framebuffer. It can be found in the cvs right now, and will probably be a part of 2.1.129. It doesn't work on Alphas at the moment, but I'm working with the author to remedy that situation; Petr has been very helpful and cooperative so far. In the distant past, GGI patched the kernel in order to work. With the inclusion of the framebuffer stuff, patches are no longer necessary. It builds kgicon, a module which connects to the fbcon interface to provide its functionality but also provides the functionality of kgi -- the ggi Kernel Graphics Interface. Unlike the kernel framebuffer setup, KGI has the ability to accelerate all parts of 2D video display (i.e., when complete it could give X a run for its money). 3D support is also in the works. There is currently an XGGI which uses the ggi access routines to provide accelerated video for all ggi-supported cards. Matrox support is pretty good. However, ggi has io memory (mmio) access problems similar to that of the kernel framebuffer console drivers. I am currently working with the GGI folks to remedy this situation as well. However, this is a slightly larger undertaking than fixing matroxfb and is moving along more slowly. Most GGI programs (including XGGI) use libggi for graphics routines. Libggi has support for various targets. One is direct console drawing via. kgi, another is the normal kernel framebuffer (fbcon), and the third is an X window. The client program doesn't know or care which of these it's talking to. An svgalib wrapper for GGI exists, and I believe it to work on Alphas (though I haven't tried). Therefore, you can run svgalib programs in an X window. If I ever get kgi working, you could also run those from the console. If you have a TGA card, libggi has been reported to work with TGAfb. For the record, I have a Matrox Millenium II with 4MB of vram, I normally use the standard linux text console and/or XF86_SVGA. If I ever get GGI working right, that may change. I have an sx164, 533MHz. If you're willing to test / code / anything, lemme know. To the best of my knowledge, I'm the only one working on either of these for Alphas, and I'm in a rut with the code (for both systems) right now. I could use all the help I can get. - Bibek On Wed, 16 Dec 1998 axp-list@duct.ml.org wrote: > Ok... all this talk of framebuffers has me a bit miffed... > #1 > Its just a framebuffer... What about hardware acceleration? > #2 > is this what GGI is? Acceleration in addition to framebuffers? > if so why are we doing FB support? Simplicity? Is GGI next? > How does GGI work? I was reading about simplified kernel drives... So > they only include the basics to keep the card in a usable state in the > kernel... What happens to the rest of the functions... do I still need an > SUID root program to access them? > > > I ask all this because I run a Matrox at 1600x1200 in X with the martox > x server and a framebuffer > console... I guess this only works on 1 or 2 cards because the card is in > MMIO mode in console which most X drivers aren't ready for. I though > about switching to the FB X server but thought about it and realized how > much acceleration I would loose... So I guess I am just lucky? > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >