From: Bibek Sahu <scorpio@dodds.net>
To: axp-list@redhat.com
Subject: Re: fbcon
Date: Tue, 17 Nov 1998 01:07:32 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.3.95.981117004842.3945E-100000@norad.dodds.net> (raw)
In-Reply-To: <Pine.LNX.3.96.981216215012.4496B-100000@alpha>
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
>
next prev parent reply other threads:[~1998-11-17 7:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-17 2:57 fbcon axp-list
1998-11-17 7:07 ` Bibek Sahu [this message]
1998-11-18 3:24 ` fbcon John Katzmaier
1999-01-26 22:27 ` fbcon Adam C. Powell, IV
[not found] ` <adam.powell@nist.gov>
1999-01-26 22:56 ` fbcon xeno
1999-01-27 16:51 ` fbcon Adam C. Powell, IV
1999-01-27 17:30 ` fbcon Dr . David Alan Gilbert
1999-01-27 22:26 ` fbcon Adam C. Powell, IV
1999-01-28 0:39 ` fbcon Quant-X Alpha Linux Support
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox