Bill Currie wrote:
>
> On Mon, Apr 16, 2001 at 11:50:13PM -0600, Bill Currie wrote:
> > I am attempting to trunk cvs dri with my g200 but I'm running into a problem
> > with all gl apps that use textures (the demos that don't use textures (afaict)
> > work just fine). It seems that the texture heap is not being initialized and I
> > haven't been able to figure out why yet. I am assuming I've done something
> > wrong.
>
> I've managed to determine that the mga_dri.so module is getting 0 for
> textureSize and agpTextureSize, and thus I am getting no texture memory. What
> things should I look for as to why this is happening?
>
> TIA
> Bill
> --
> Leave others their otherness. -- Aratak
>
> _______________________________________________
> Dri-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dri-devel
you are running out of video memory.
the mga driver needs frontbuffer, backbuffer, depthbuffer (16bit) and
reserves one screen for XAA.
thus you end up with ~400kb of texture memory which isnt enough ..
either reduce your resolution ( naa.. :> ) or take a look at
xc/programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c:837 (?)
and change (pMga->FbMapSize - 4 * bufferSize) to something like
(pMga->FbMapSize - 3 * bufferSize) - bufferSize/2
ie half a screenbuffer for XAA.
but with 1.5mb texmem qf wont run nicely either :7
--
ralf willenbacher ([EMAIL PROTECTED])
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel