* matroxfb, anybody? @ 1998-12-13 10:40 Michel Lanners 1998-12-15 12:00 ` Owen Waller 1998-12-16 4:42 ` matroxfb, anybody? Troy Benjegerdes 0 siblings, 2 replies; 12+ messages in thread From: Michel Lanners @ 1998-12-13 10:40 UTC (permalink / raw) To: linuxppc-dev Hi there, Anybody successfull in running matroxfb with recent vger kernels? I've tried using it alongside controlfb as a second framebuffer, but it doesn't initialize. Compiled-in, it only goes through the very first debugging message, and then nothing more; while as a module insmod aborts (slightly older matroxfb.c (1.6c)) or hangs the system (most recent matroxfb.c (1.8)). I've also tried to compile-in matroxfb without controlfb, but that failed because offb.c wasn't in (undefined ref to console_getmode et al.). I'm right now trying a recompile with OF support compiled in, but no framebuffer driver. Let's see.... Michel ------------------------------------------------------------------------- Michel Lanners | " Read Philosophy. Study Art. 9, Montee St. Crepin | Ask Questions. Make Mistakes. L-1365 Luxembourg | email mlan@cpu.lu | http://www.cpu.lu/~mlan | Learn Always. " [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1998-12-13 10:40 matroxfb, anybody? Michel Lanners @ 1998-12-15 12:00 ` Owen Waller 1998-12-17 21:46 ` Michel Lanners 1998-12-16 4:42 ` matroxfb, anybody? Troy Benjegerdes 1 sibling, 1 reply; 12+ messages in thread From: Owen Waller @ 1998-12-15 12:00 UTC (permalink / raw) To: Michel Lanners; +Cc: linuxppc-dev On Sun, 13 Dec 1998, Michel Lanners wrote: > Anybody successfull in running matroxfb with recent vger kernels? I've got it running on version 2.1.127 - I haven't tried on anything more recent. What kernel version are you running. > I've tried using it alongside controlfb as a second framebuffer, but it > doesn't initialize. Compiled-in, it only goes through the very first > debugging message, and then nothing more; while as a module insmod > aborts (slightly older matroxfb.c (1.6c)) or hangs the system (most > recent matroxfb.c (1.8)). Pass, have you asked Petr (Petr Vandrovec <VANDROVE@vc.cvut.cz>) about this. I've been testing Petr's driver on a Mystique and haven't seen anything like this. > I've also tried to compile-in matroxfb without controlfb, but that > failed because offb.c wasn't in (undefined ref to console_getmode et Generally I've compiled in matroxfb, controlfb and offb into the kernel which compile and run without any problems. I haven't tried leaving controlfb out. Cheers ------------------------------------------------------------------------- Owen Waller | "...sometimes I think I'm a little PhD. Student in Control Eng. | more English than I am French..." Queens University | - Alain Prost Belfast | Tele: +44 (0)1232 274085 | Fax: +44 (0)1232 667023 [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1998-12-15 12:00 ` Owen Waller @ 1998-12-17 21:46 ` Michel Lanners 1999-01-30 10:00 ` dhiltgen@toocool.calpoly.edu 0 siblings, 1 reply; 12+ messages in thread From: Michel Lanners @ 1998-12-17 21:46 UTC (permalink / raw) To: O.Waller; +Cc: linuxppc-dev On 15 Dec, this message from Owen Waller echoed through cyberspace: > On Sun, 13 Dec 1998, Michel Lanners wrote: > >> Anybody successfull in running matroxfb with recent vger kernels? > > I've got it running on version 2.1.127 - I haven't tried on anything more > recent. What kernel version are you running. 2.1.130. What I hate most is it doesn't complete the PCI scan routine.... maybe a simple bug very early in the init code? .... >> aborts (slightly older matroxfb.c (1.6c)) or hangs the system (most >> recent matroxfb.c (1.8)). > > Pass, have you asked Petr (Petr Vandrovec <VANDROVE@vc.cvut.cz>) about > this. I've been testing Petr's driver on a Mystique and haven't seen > anything like this. Not yet... >> I've also tried to compile-in matroxfb without controlfb, but that >> failed because offb.c wasn't in (undefined ref to console_getmode et > > Generally I've compiled in matroxfb, controlfb and offb into the kernel > which compile and run without any problems. I haven't tried leaving > controlfb out. This is exactly what I need... I'd like to use matrox alongside control (have my TV on a second monitor ;-) Michel ------------------------------------------------------------------------- Michel Lanners | " Read Philosophy. Study Art. 9, Montee St. Crepin | Ask Questions. Make Mistakes. L-1365 Luxembourg | email mlan@cpu.lu | http://www.cpu.lu/~mlan | Learn Always. " [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1998-12-17 21:46 ` Michel Lanners @ 1999-01-30 10:00 ` dhiltgen@toocool.calpoly.edu 1999-01-30 12:09 ` Matt McLean 1999-01-30 15:32 ` Owen Waller 0 siblings, 2 replies; 12+ messages in thread From: dhiltgen@toocool.calpoly.edu @ 1999-01-30 10:00 UTC (permalink / raw) To: mlan, O.Waller; +Cc: linuxppc-dev Add me to the list of people playing with matroxfb and controlfb. Does anyone have some fbset outputs suitable for fb.modes for the matrox Mil I card? I'm having a heck of a time trying to change from the default mode. In Documentation/fb/matroxfb they talk about passing kernel parameters to set the modes, but whenever I do that the kernel panics before ever spitting anything out. I assume it's a "no bios" thing. I'm hoping someone with a Mac version of the card might already have the various timings etc that fbset wants, and that they'll be the same as the PC version. And the one other simple question... how in the heck do you tell XF68 which /dev/fb* to go to? Right now I'm moving the devices around by hand, but I'd eventually like to get a Dual headed X setup going. ...aside... I'm running an x86 Matrox card in my 8600, and it "sort of" works right now on 2.2.0. It appears that there are definitely some kernel bugs as far as mode switching, as sometimes control and matrox end up duplicating each other resulting in very funky displays. I had to hack the kernel slightly, in that it assumes if you have a Mac, well then you must have a Mac matrox card, and OF should take care of initialization. Nope, I've got a x86 card, and it has to be initialized by the kernel. Simple one line hack in the init function for matroxfb. Thanks for any input. -- Daniel Kerry Hiltgen Computer Science Cal Poly, San Luis Obispo, CA dhiltgen@www.itslab.calpoly.edu http://www.itslab.calpoly.edu/~dhiltgen/ "In a world without fences who needs Gates?" 1997 JavaOne Conference [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1999-01-30 10:00 ` dhiltgen@toocool.calpoly.edu @ 1999-01-30 12:09 ` Matt McLean 1999-01-30 15:32 ` Owen Waller 1 sibling, 0 replies; 12+ messages in thread From: Matt McLean @ 1999-01-30 12:09 UTC (permalink / raw) To: dhiltgen@toocool.calpoly.edu; +Cc: mlan, O.Waller, linuxppc-dev On Sat, 30 Jan 1999, dhiltgen@toocool.calpoly.edu wrote: > And the one other simple question... how in the heck do you tell > XF68 which /dev/fb* to go to? Right now I'm moving the devices > around by hand, but I'd eventually like to get a Dual headed X setup > going. Use the $FRAMEBUFFER environment variable (that's in Documentation/fb.txt i think) :-) m. [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1999-01-30 10:00 ` dhiltgen@toocool.calpoly.edu 1999-01-30 12:09 ` Matt McLean @ 1999-01-30 15:32 ` Owen Waller 1999-01-30 23:34 ` matroxfb, anybody? (More details...) dhiltgen@toocool.calpoly.edu 1 sibling, 1 reply; 12+ messages in thread From: Owen Waller @ 1999-01-30 15:32 UTC (permalink / raw) To: dhiltgen@toocool.calpoly.edu; +Cc: mlan, Petr Vandrovec, linuxppc-dev Hi, > I'm running an x86 Matrox card in my 8600, and it "sort of" works > right now on 2.2.0. It appears that there are definitely some kernel To be honest I haven't tried this. I've been snowed under with work since October :-(. The last thing I tried was building a 2.2pre6 kernel which worked o.k. bar breaking my PPP connection. I didn't build the kernel with matroxfb support though as I thought the less I experiment with the better. > bugs as far as mode switching, as sometimes control and matrox end up > duplicating each other resulting in very funky displays. I had to hack This doesn't sound good. What exactly are you doing to achieve this? > the kernel slightly, in that it assumes if you have a Mac, well then you > must have a Mac matrox card, and OF should take care of initialization. > Nope, I've got a x86 card, and it has to be initialized by the kernel. > Simple one line hack in the init function for matroxfb. o.k. as far as I know Petr set things up so that under a Mac the card was always initialised by OF - even for x86 cards (like my mystique and your mil. I). The change is listed in Petr's readme/changes file. Petr can you comment on this? What I'll do is bring my kernel sources up to 2.2.0-final and try setting up my Mystique again. Then let you know what happens. On a realted note though, has anybody got a matrox card running under pre-R5 with the XFree86, framebuffer stuff running? I'm still running R4 but once R5 is out I'll move over to XFree from XPmac. Cheers ------------------------------------------------------------------------- Owen Waller | "...sometimes I think I'm a little PhD. Student in Control Eng. | more English than I am French..." Queens University | - Alain Prost Belfast | Tele: +44 (0)1232 274085 | Fax: +44 (0)1232 667023 [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? (More details...) 1999-01-30 15:32 ` Owen Waller @ 1999-01-30 23:34 ` dhiltgen@toocool.calpoly.edu 1999-01-31 9:38 ` Gerd Knorr 1999-01-31 14:36 ` Geert Uytterhoeven 0 siblings, 2 replies; 12+ messages in thread From: dhiltgen@toocool.calpoly.edu @ 1999-01-30 23:34 UTC (permalink / raw) To: Owen Waller, dhiltgen@toocool.calpoly.edu Cc: mlan, Petr Vandrovec, linuxppc-dev I apologize for the length, but I don't want to leave anything out that might be critical.... Let me open with two quick questions. A while back on linux-kernel someone said that they had ported X_SVGA with Matrox acceleration to FB, and Geert asked the guy for a copy of the patch. What are the odds that I could get a hold of that, and that it would compile and possibly run under PPC? Slim to none I bet, but it would be nice... And the second, I have managed to get X working on both displays at once, but the first X server freezes until I exit the second. I used "X :1" for the second. Is there some other trick to keep the first one alive? ...Mouse stops, and I tried firing up "xterm -display :0.0 &" and they didn't appear until after I exited the :0.1 X server, at which point all of the xterms I had started popped up on the :0.0 server and the mouse woke back up. ...ok, on to the nitty gritty details... On Sat, Jan 30, 1999 at 02:32:32PM -0100, Owen Waller wrote: > > Hi, > > > I'm running an x86 Matrox card in my 8600, and it "sort of" works > > right now on 2.2.0. It appears that there are definitely some kernel > > To be honest I haven't tried this. I've been snowed under with work since > October :-(. The last thing I tried was building a 2.2pre6 kernel which > worked o.k. bar breaking my PPP connection. I didn't build the kernel > with matroxfb support though as I thought the less I experiment with the > better. I've used both 2.2 pre 7 and I'm now playing with 2.2.1. > > bugs as far as mode switching, as sometimes control and matrox end up > > duplicating each other resulting in very funky displays. I had to hack > > This doesn't sound good. What exactly are you doing to achieve this? Initially I was "moving" /dev/fb[01] back and forth so that I could try to get X working. Now I'm using ${FRAMEBUFFER} so that I don't have to do that. ...the symptoms described below appear for both. OK, scenario goes like this. /dev/fb0 = control -- on bootup, this is the console /dev/fb1 = x86 Matrox Mil. I -- on bootup, displays garbage from last session. does not turn on until kernel probes (aka, OF doesn't turn it on) I have turned on the #define in matroxfb.c for debugging. uname -a Linux hysteria.insanity.org 2.2.1 #3 Sat Jan 30 12:20:05 PST 1999 ppc unknown ls -l /dev/fb* crw-r--r-- 1 root root 29, 0 Jan 4 05:53 /dev/fb0 crw-r--r-- 1 root root 29, 32 Jan 21 07:42 /dev/fb1 If I setenv FRAMEBUFFER /dev/fb0 (not really needed, but to be explicit) and "startx" I get an X session on controlfb, as expected. Everything looks fine and dandy. So, if I "fbset -i" back on console, then I get the controlfb information as expected, but if I "fbset -i -fb /dev/fb1" the console immediately switches to /dev/fb1, but the fonts are all messed up (I'm guessing the timing values for fb0 are somehow getting used) I can't see what I type, but the output is definitely trying to go to the matrox. The funny part is the "scroll" is controlled by the kernel, which still correctly scrolls /dev/fb0 (control) so whenever I type enough to get a scroll to occur, matrox doesn't, but control does (even though no new text has appeared on control.) At this point I had a vyres set to something huge, so I did an "fbset -vyres 768" and poof, console went back to control. I then ran "fbset -i -fb /dev/fb1" and console switched back to matrox with messed up fonts. At some point I did a setenv FRAMEBUFFER /dev/fb1 and ran "startx" and it came up on the matrox. The only problem is that the color pallet is all jacked up. Again, I'm guessing that somehow it's using controlfb information incorrectly for the matroxfb. It appears that the issue is that somehow the kernel is using fb0 sometimes, and others it's using FRAMEBUFFER, or the "-fb" argument. When I try to change settings using fbset it's like both frame buffers get set at once, and one of them gets confused since the timings are only valid for one of the cards. ...or, the FB code in the kernel _really_ isn't very clean when it comes to multiple heads right now, and some code just assumes /dev/fb0 is console and uses it without checking for the proper state information. I guess the whole thing is complicated by the fact that sometimes it's user space stuff, other times it's kernel space stuff messing with the fb. > > the kernel slightly, in that it assumes if you have a Mac, well then you > > must have a Mac matrox card, and OF should take care of initialization. > > Nope, I've got a x86 card, and it has to be initialized by the kernel. > > Simple one line hack in the init function for matroxfb. > > o.k. as far as I know Petr set things up so that under a Mac the card was > always initialised by OF - even for x86 cards (like my mystique and your > mil. I). The change is listed in Petr's readme/changes file. Petr can you > comment on this? I don't think so. in drivers/video/matroxfb.c: #ifndef MODULE __initfunc(void matroxfb_init(void)) { DBG("matroxfb_init") #if defined(CONFIG_FB_OF) /* Nothing to do, must be called from offb */ #else matrox_init(); #endif } matrox_init never gets called on my system, so the card never inits. I just commented out the #ifdef stuff so that matrox_init always gets called and the card magically appears. > What I'll do is bring my kernel sources up to 2.2.0-final and try setting > up my Mystique again. Then let you know what happens. I'm definitely interested.... Unfortunately I doubt I can use any of your timing information, but who knows... > On a realted note though, has anybody got a matrox card running under > pre-R5 with the XFree86, framebuffer stuff running? I'm still running R4 > but once R5 is out I'll move over to XFree from XPmac. Well, I'm running R4, but I have XF68_FBDev-ppc-19980910 from Geert's page, and when I run it on the matrox card I get: XFree86 Version 3.3.2 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: March 2 1998 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: Linux 2.1.120 ppc [ELF] Configured drivers: FBDev: Server for frame buffer device (Patchlevel 9): mfb, afb, cfb8, cfb16, cfb24, cfb32 (using VT number 7) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: disabled (**) Mouse: type: busmouse, device: /dev/adbmouse, buttons: 3 (**) FBDev: Graphics device ID: "Linux Frame Buffer Device" (**) FBDev: Monitor ID: "Generic" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Ty pe1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6 /lib/X11/fonts/100dpi/" (**) FBDev: Using default frame buffer video mode (--) FBDev: Frame buffer device: MATROX (--) FBDev: Video memory: 4096K @ 0x81000000 (--) FBDev: MMIO regs: 16K @ 0x80804000 (--) FBDev: Type 0 type_aux 0 bits_per_pixel 8 (--) FBDev: Unknown hardware accelerator type 16 (--) FBDev: No hardware acceleration used (--) FBDev: Enabled virtual desktop (--) FBDev: Using cfb8 driver The current mode that I'm using, that "sort of works" for matroxfb is: (I'd _really_ like to be able to change this, but without timing values I can't get it to work, and as I said in the previous e-mail appending to the kernel video=matrox:vesa:<hex-code> results in a immediate panic (no error message, it just freezes) Any ideas short of getting the values from someone with a Mac version of the card who can use vmode or whatever to set the mode properly?) fbset -i -fb /dev/fb1 mode "name" # D: 79.554 MHz, H: 59.905 kHz, V: 74.509 Hz geometry 1024 768 1024 768 8 timings 12570 164 44 30 3 96 3 hsync high vsync high endmode Frame buffer device information: Name : `MATROX' Address : 0x81000000 Size : 4194304 Type : PACKED PIXELS Visual : PSEUDOCOLOR XPanStep : 8 YPanStep : 1 YWrapStep : 0 LineLength : 1024 MMIO Address: 0x80804000 MMIO Size : 16384 Accelerator : Matrox MGA2064W (Millennium) Thanks for any and all input! I'll be more than happy to help get this working via kernel hacking... just tell me where to start. :) I'm honestly less concerned with the console jumping back and forth. I just want to be able to fire up X on both monitors at the maximum res/depth for each card. -- Daniel Kerry Hiltgen Computer Science Cal Poly, San Luis Obispo, CA dhiltgen@www.itslab.calpoly.edu http://www.itslab.calpoly.edu/~dhiltgen/ "In a world without fences who needs Gates?" 1997 JavaOne Conference [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? (More details...) 1999-01-30 23:34 ` matroxfb, anybody? (More details...) dhiltgen@toocool.calpoly.edu @ 1999-01-31 9:38 ` Gerd Knorr 1999-01-31 14:24 ` Geert Uytterhoeven 1999-01-31 14:36 ` Geert Uytterhoeven 1 sibling, 1 reply; 12+ messages in thread From: Gerd Knorr @ 1999-01-31 9:38 UTC (permalink / raw) To: linuxppc-dev In lists.linuxppc.dev you write: >I apologize for the length, but I don't want to leave anything >out that might be critical.... >Let me open with two quick questions. A while back on linux-kernel >someone said that they had ported X_SVGA with Matrox acceleration >to FB, and Geert asked the guy for a copy of the patch. Thats me. The patch is available from http://www.in-berlin.de/User/kraxel/xfree86/ >What are the odds that I could get a hold of that, and that it would >compile and possibly run under PPC? Slim to none I bet, but >it would be nice... As far I know, Geert got it to compile on ppc, but it's not working yet. Gerd -- We are ftpadm of FB13. Prepare to be mirrored. Resistance is futile. -- ftp.cs.tu-berlin.de greeting message [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? (More details...) 1999-01-31 9:38 ` Gerd Knorr @ 1999-01-31 14:24 ` Geert Uytterhoeven 1999-02-06 15:22 ` Gerd Knorr 0 siblings, 1 reply; 12+ messages in thread From: Geert Uytterhoeven @ 1999-01-31 14:24 UTC (permalink / raw) To: Gerd Knorr; +Cc: linuxppc-dev On Sun, 31 Jan 1999, Gerd Knorr wrote: > In lists.linuxppc.dev you write: > > >I apologize for the length, but I don't want to leave anything > >out that might be critical.... > > >Let me open with two quick questions. A while back on linux-kernel > >someone said that they had ported X_SVGA with Matrox acceleration > >to FB, and Geert asked the guy for a copy of the patch. > > Thats me. The patch is available from > http://www.in-berlin.de/User/kraxel/xfree86/ > > >What are the odds that I could get a hold of that, and that it would > >compile and possibly run under PPC? Slim to none I bet, but > >it would be nice... > > As far I know, Geert got it to compile on ppc, but it's not working yet. It crashes with a bus error. That is, the unaccelerated version. I don't have a Matrox, and I had to disable the ATI code because it contains inline ia32 assembler. I think the bus error is related to trying to map the frame buffer using /dev/mem instead of /dev/fb0. I know that shouldn't give a bus error, but I saw a similar thing with my (still experimental) program to get some useful video out of my S3 Vision968. Last time I tried, it crashed with a bus error when writing to the VRAM. Unfortunately I can't be 100% sure yet that it's a bug in recent kernels, since I had to recompile that test program after I migrated to Debian, which uses glibc-2.1pre. Greetings, Geert -- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? (More details...) 1999-01-31 14:24 ` Geert Uytterhoeven @ 1999-02-06 15:22 ` Gerd Knorr 0 siblings, 0 replies; 12+ messages in thread From: Gerd Knorr @ 1999-02-06 15:22 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: linuxppc-dev On Sun, 31 Jan 1999, Geert Uytterhoeven wrote: > > As far I know, Geert got it to compile on ppc, but it's not working yet. > > It crashes with a bus error. That is, the unaccelerated version. I > don't have a Matrox, and I had to disable the ATI code because it > contains inline ia32 assembler. > > I think the bus error is related to trying to map the frame buffer > using /dev/mem instead of /dev/fb0. IMHO it is more likely that the Server tries to access some I/O ports (probe for ISA-VGA or something like that) without having them mapped. At least I ran into this problem while playing with 3.9Nz. Gerd [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? (More details...) 1999-01-30 23:34 ` matroxfb, anybody? (More details...) dhiltgen@toocool.calpoly.edu 1999-01-31 9:38 ` Gerd Knorr @ 1999-01-31 14:36 ` Geert Uytterhoeven 1 sibling, 0 replies; 12+ messages in thread From: Geert Uytterhoeven @ 1999-01-31 14:36 UTC (permalink / raw) To: dhiltgen@toocool.calpoly.edu Cc: Owen Waller, mlan, Petr Vandrovec, linuxppc-dev On Sat, 30 Jan 1999, dhiltgen@toocool.calpoly.edu wrote: > It appears that the issue is that somehow the kernel is using fb0 > sometimes, and others it's using FRAMEBUFFER, or the "-fb" argument. > When I try to change settings using fbset it's like both frame buffers > get set at once, and one of them gets confused since the timings are only > valid for one of the cards. ...or, the FB code in the kernel _really_ > isn't very clean when it comes to multiple heads right now, and some > code just assumes /dev/fb0 is console and uses it without checking for > the proper state information. I guess the whole thing is complicated > by the fact that sometimes it's user space stuff, other times it's kernel > space stuff messing with the fb. There are known problems with multiheadness. Unfortunately I can't `see' what's wrong until I get my second video board working. Yes, I'm embarassed by that. Greetings, Geert -- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: matroxfb, anybody? 1998-12-13 10:40 matroxfb, anybody? Michel Lanners 1998-12-15 12:00 ` Owen Waller @ 1998-12-16 4:42 ` Troy Benjegerdes 1 sibling, 0 replies; 12+ messages in thread From: Troy Benjegerdes @ 1998-12-16 4:42 UTC (permalink / raw) To: Michel Lanners; +Cc: linuxppc-dev On Sun, 13 Dec 1998, Michel Lanners wrote: > > Hi there, > > Anybody successfull in running matroxfb with recent vger kernels? > > I've tried using it alongside controlfb as a second framebuffer, but it > doesn't initialize. Compiled-in, it only goes through the very first > debugging message, and then nothing more; while as a module insmod > aborts (slightly older matroxfb.c (1.6c)) or hangs the system (most > recent matroxfb.c (1.8)). > > I've also tried to compile-in matroxfb without controlfb, but that > failed because offb.c wasn't in (undefined ref to console_getmode et > al.). I'm right now trying a recompile with OF support compiled in, but > no framebuffer driver. Let's see.... I'm running matroxfb on a motorola MTX board (PReP machine) which does not have open firmware. As a module, it crashes in ioremap (don't know why). the framebuffer X server works. However VGA text mode doesn't work too well. -------------------------------------------------------------------------- | Troy Benjegerdes | troybenj@iastate.edu | hozer@drgw.net | | Unix is user friendly... You just have to be friendly to it first. | | This message composed with 100% free software. http://www.gnu.org | -------------------------------------------------------------------------- [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]] ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1999-02-06 15:22 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-12-13 10:40 matroxfb, anybody? Michel Lanners 1998-12-15 12:00 ` Owen Waller 1998-12-17 21:46 ` Michel Lanners 1999-01-30 10:00 ` dhiltgen@toocool.calpoly.edu 1999-01-30 12:09 ` Matt McLean 1999-01-30 15:32 ` Owen Waller 1999-01-30 23:34 ` matroxfb, anybody? (More details...) dhiltgen@toocool.calpoly.edu 1999-01-31 9:38 ` Gerd Knorr 1999-01-31 14:24 ` Geert Uytterhoeven 1999-02-06 15:22 ` Gerd Knorr 1999-01-31 14:36 ` Geert Uytterhoeven 1998-12-16 4:42 ` matroxfb, anybody? Troy Benjegerdes
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).