* fbcon @ 1998-12-17 2:57 axp-list 1998-11-17 7:07 ` fbcon Bibek Sahu 0 siblings, 1 reply; 9+ messages in thread From: axp-list @ 1998-12-17 2:57 UTC (permalink / raw) To: axp-list 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? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1998-12-17 2:57 fbcon axp-list @ 1998-11-17 7:07 ` Bibek Sahu 1998-11-18 3:24 ` fbcon John Katzmaier 1999-01-26 22:27 ` fbcon Adam C. Powell, IV 0 siblings, 2 replies; 9+ messages in thread From: Bibek Sahu @ 1998-11-17 7:07 UTC (permalink / raw) To: axp-list 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 > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1998-11-17 7:07 ` fbcon Bibek Sahu @ 1998-11-18 3:24 ` John Katzmaier 1999-01-26 22:27 ` fbcon Adam C. Powell, IV 1 sibling, 0 replies; 9+ messages in thread From: John Katzmaier @ 1998-11-18 3:24 UTC (permalink / raw) To: axp-list > 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. I too have a Matrox Millenium II with 4MB VRAM. I use the same stuff, standard linux text console and XF86_SVGA (the one that fixed the >25 open X windows problem). I have an LX164, 533MHz. I would be happy to test, not code however. I am just beginning to learn C++, just now dealing with pointers and simple stuff like that. Please let me know if I can be of help... -John Katzmaier ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1998-11-17 7:07 ` fbcon Bibek Sahu 1998-11-18 3:24 ` fbcon John Katzmaier @ 1999-01-26 22:27 ` Adam C. Powell, IV [not found] ` <adam.powell@nist.gov> 1 sibling, 1 reply; 9+ messages in thread From: Adam C. Powell, IV @ 1999-01-26 22:27 UTC (permalink / raw) To: axp-list 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 | \||_> | ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <adam.powell@nist.gov>]
* Re: fbcon [not found] ` <adam.powell@nist.gov> @ 1999-01-26 22:56 ` xeno 1999-01-27 16:51 ` fbcon Adam C. Powell, IV 0 siblings, 1 reply; 9+ messages in thread From: xeno @ 1999-01-26 22:56 UTC (permalink / raw) To: axp-list > > 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. Which processor does this work under? I tried building on my avanti only to discover that there was no matrox option in the framebuffer section, only a tga. This is the one great thing in my opinion that sucks really hard under alphas right now. :( If I knew anything about coding framebuffer stuff, I'd be more than willing to help. Eric > > > 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 | \||_> | > > > > -- > 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1999-01-26 22:56 ` fbcon xeno @ 1999-01-27 16:51 ` Adam C. Powell, IV 1999-01-27 17:30 ` fbcon Dr . David Alan Gilbert 0 siblings, 1 reply; 9+ messages in thread From: Adam C. Powell, IV @ 1999-01-27 16:51 UTC (permalink / raw) To: axp-list Zeen, UPDATE: matroxfb works in *text mode* on 164LX with Millennium II, 4 MB VRAM, 2.2.0 and 2.2.0-final (since sound is broken on 2.2.0). Text modes that worked for me: video=matrox:vesa:0x108 or 0x10B or 0x10C (i.e. 640x480, 1056x400, 1056x480; though 0x10C seems to only work on reboot, not on initial BIOS/ARC startup). You don't get the penguin in these text modes, but all of them allow quite a bit more text than the standard VGA console. One problem: when dropping out of X (3.3.3-1, SVGA mode, 1600x1200 16 bpp), I get a blank or solid-colored screen which persists for quite a while. Switching consoles around (e.g. alt-F2) got me back, but I haven't had the patience to drop out of X and let it sit long enough to come back on its own. :-) xeno@clark.net wrote: > > > 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. > > Which processor does this work under? I tried building on my avanti only > to discover that there was no matrox option in the framebuffer section, > only a tga. This is the one great thing in my opinion that sucks really > hard under alphas right now. :( > If I knew anything about coding framebuffer stuff, I'd be more than > willing to help. > > Eric You have to set CONFIG_EXPERIMENTAL which is the first question in make config. Then after answering "Y" to CONFIG_FB, CONFIG_FB_MATROX should be the second option that comes up. (Funny- it doesn't *say* "EXPERIMENTAL", but it's pretty clear from the Config.in that you need it.) If you want to boot with fbcon, answer "Y" not "M". Then there are four sub-options for Matrox drivers. My compressed kernel is only 47K larger with matroxfb compiled in than with no frame buffer. Pretty cool!! When it really works for alpha, I'd love to see some apps for the framebuffer. Or could an alternate gdk wrapper be written for it, so GIMP and most of GNOME could run without X? Or does one need something like GGI or kgicon? Or does Adam not know what he's talking about? :-) For those really interested in fb development... Trolling through linux-kernel archives, I found an announcement of a couple of weeks ago from Geert Uytterhoeven of a new linux-fbdev list. To join, send mailto:Majordmo@vu.union.edu with message body "subscribe linux-fbdev". No word on an archive (yet... I'm going to ask and will post if I get a reply). Zeen, -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 | \||_> | ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1999-01-27 16:51 ` fbcon Adam C. Powell, IV @ 1999-01-27 17:30 ` 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 0 siblings, 2 replies; 9+ messages in thread From: Dr . David Alan Gilbert @ 1999-01-27 17:30 UTC (permalink / raw) To: axp-list At 11:51 AM 1/27/99 -0500, you wrote: >Zeen, > >UPDATE: matroxfb works in *text mode* on 164LX with Millennium II, 4 MB VRAM, 2.2.0 >and 2.2.0-final (since sound is broken on 2.2.0). Text modes that worked for me: >video=matrox:vesa:0x108 or 0x10B or 0x10C (i.e. 640x480, 1056x400, 1056x480; though >0x10C seems to only work on reboot, not on initial BIOS/ARC startup). You don't get >the penguin in these text modes, but all of them allow quite a bit more text than >the standard VGA console. Good! Now can you explain how it works? I thought that VESA worked by the kernel calling the BIOS to change modes - nice idea, but how the hell does it do that on an Alpha with a board with x86 BIOS - I thought all the emulation stuff disapeared by the time it got to the kernel? Dave ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 1999-01-27 17:30 ` fbcon Dr . David Alan Gilbert @ 1999-01-27 22:26 ` Adam C. Powell, IV 1999-01-28 0:39 ` fbcon Quant-X Alpha Linux Support 1 sibling, 0 replies; 9+ messages in thread From: Adam C. Powell, IV @ 1999-01-27 22:26 UTC (permalink / raw) To: axp-list "Dr . David Alan Gilbert" wrote: > At 11:51 AM 1/27/99 -0500, you wrote: > >Zeen, > > > >UPDATE: matroxfb works in *text mode* on 164LX with Millennium II, 4 MB > VRAM, 2.2.0 > >and 2.2.0-final (since sound is broken on 2.2.0). Text modes that worked > for me: > >video=matrox:vesa:0x108 or 0x10B or 0x10C (i.e. 640x480, 1056x400, > 1056x480; though > >0x10C seems to only work on reboot, not on initial BIOS/ARC startup). You > don't get > >the penguin in these text modes, but all of them allow quite a bit more > text than > >the standard VGA console. > > Good! Now can you explain how it works? I thought that VESA worked by the > kernel calling the BIOS to change modes - nice idea, but how the hell does > it do that on an Alpha with a board with x86 BIOS - I thought all the > emulation stuff disapeared by the time it got to the kernel? Uh, how it works? That's not my department. Sorry! Try the linux-fbdev list. I'm just doing some testing. More updates: * video=matrox:vesa:0x10C (1056x480 text) does indeed work from initial BIOS/ARC startup, I must have done something wrong last time I tried. * matroxfb as a module seems to work- just answer "M" to CONFIG_FB_MATROX, and when you're up, do "modprobe matroxfb" to install all of the modules. (If it doesn't work, write back- I made another change in kernel source which might have made this work.) * fbset is not where Documentation/fb/framebuffer.txt says it is. Get version 2.0-pre source from http://www.cs.kuleuven.ac.be/~geert/bin . Switching fb modes seems to work- it goes right up to the full resolution of my monitor, but trying to change depth causes a spectacular catastrophe (well, more or less spectacular depending on your current mode :-). Zeen, -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 | \||_> | ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: fbcon 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 ` Quant-X Alpha Linux Support 1 sibling, 0 replies; 9+ messages in thread From: Quant-X Alpha Linux Support @ 1999-01-28 0:39 UTC (permalink / raw) To: axp-list Hi David ! On Wed, Jan 27, 1999 at 05:30:04PM +0000, Dr . David Alan Gilbert wrote: > At 11:51 AM 1/27/99 -0500, you wrote: > >Zeen, > > > >UPDATE: matroxfb works in *text mode* on 164LX with Millennium II, 4 MB > Good! Now can you explain how it works? I thought that VESA worked by the > kernel calling > the BIOS to change modes - nice idea, but how the hell does it do that on > an Alpha > with a board with x86 BIOS - I thought all the emulation stuff disapeared > by the time > it got to the kernel? Please do not mix-up "vesafb" and matroxfb". vesafb is really Intel only while matroxfb is (in theory; there are still "wrong" byte-order problems in it) platform independent. (The byte-order problems are caused because the access should be in natural (host) byteorder, but fbcon uses macros that force intel-byteorder. ;-} Anyway, no problem on AXP. -- ciao - Stefan Traby Quant-X Alpha Linux Support Quant-X Service & Ph: (+43) 4212 90555-0 Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555 http://www.quant-x.com Email: support@quant-x.com ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-01-27 23:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-17 2:57 fbcon axp-list
1998-11-17 7:07 ` fbcon Bibek Sahu
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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox