On Wed, Oct 20, 2004 at 11:39:35AM +0200, Tom Schouten wrote: > 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
This is part of the problem. How much memory does your system have? You may be able to increase that amount by loading agpgart earlier in the boot process. The other part is actually the dri driver. The amount of AGP memory seems to be hardcoded to 64M. Change MGA_DEFAULT_AGP_SIZE in Mesa/src/drv/mga/server/mga_dri.h to something more appropriate for your system. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/