On Tue, Oct 19, 2004 at 11:45:46PM +0300, Ville Syrjälä wrote: > On Tue, Oct 19, 2004 at 10:33:40PM +0200, Tom Schouten wrote: > > > > after i got it to compile this is what i get when i run df_gears: > > > <snip> > > [agp] Out of memory (-12) > > (!) DirectFB/DRI: __driInitFBDev() failed! > > (#) DirectFBError [DirectFBGL: dfb_dri_create() failed]: General failure! > > df_gears.c <344>: > > (#) DirectFBError [primary->GetGL( primary, &primary_gl )]: General > > failure! > > (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** > > [core.c:638 in dfb_core_deinit_check()] > > > > > > the other examples give the same results. out of memory seems strange to me. > > all is compiled with gcc-3.4, and the kernel module with gcc-2.95 > > Is your AGP aperture too small? IIRC mga wants 1MB + 128*64kB = 9MB for > DMA buffers. So 16MB is probably the minimum. I have mine at 64MB. The > extra space is used to store textures. >
i think it is something else. from dmesg: matroxfb: Matrox G450 detected matroxfb: MTRR's turned on matroxfb: 640x480x8bpp (virtual: 640x26208) matroxfb: framebuffer at 0xE8000000, mapped to 0xc48f3000, size 16777216 Console: switching to colour frame buffer device 80x30 fb0: MATROX VGA frame buffer device Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 27M agpgart: Detected Intel 440BX chipset agpgart: AGP aperture is 64M @ 0xe0000000 [drm] Initialized mga 3.2.0 20040715 on minor 1: Matrox G400/G450 (AGP) strange hmm?