From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31595 invoked from network); 26 Jan 1999 22:56:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 22:56:04 -0000 Received: from email.nist.gov (email.nist.gov [129.6.2.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA03980 for ; Tue, 26 Jan 1999 17:27:37 -0500 Received: from lurch.nist.gov (lurch.nist.gov [129.6.153.40]) by email.nist.gov (8.9.1/8.9.1) with ESMTP id RAA29945 for <@relay.nist.gov:axp-list@redhat.com>; Tue, 26 Jan 1999 17:27:36 -0500 (EST) Received: from nist.gov (lurch.nist.gov [129.6.153.40]) by lurch.nist.gov (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA83985 for ; Tue, 26 Jan 1999 17:27:35 -0500 (EST) Sender: powell@nist.gov Message-ID: <36AE4157.A93C0427@nist.gov> Date: Tue, 26 Jan 1999 17:27:35 -0500 From: "Adam C. Powell, IV" Organization: National Institute of Standards and Technology X-Mailer: Mozilla 4.5C-SGI [en] (X11; U; IRIX64 6.5 IP27) X-Accept-Language: en-US, en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: fbcon References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bibek Sahu wrote: > 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. Cool! Any progress in the last two months? I tried building 2.2.0-final with matroxfb and booting, but no dice, even with video=vc. Same problem as others on this list: I get the first line of kernel output then it dies, regardless of the video variable I give it. > 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. Cool (though I don't have a TGA card). Where is this documented? > 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. Me too, except LX. > 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. Definitely willing to test, and spend some time coding, but can't claim great video hacking skills. -Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____ USDoC, National Institute of Standards & Technology (NIST) |\ ||< | Center for Theoretical and Computational Materials Science | \||_> |