Problem with ATI Card.

Uhm i ran into a weird problem using my Notebook (running Linux w. ATI 9700 mobility 64MB vRam). While loading our scene I get the following error:

fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

First you need to know some basics of our engine:
The primitves (vertices) are stored within a Shape Object. The shape object is located somewhere in the scenegraph. When we start the engine it first performs a frustum culling renders some lights etc. After that it starts rendering these shapes- if the shape which should be rendered is not yet initialized (never rendered before) it is first initiliazed:
-VBO construction (buffer allocation and so on)
-Textures (the interesting thing I think): shape checks if the texture was loaded anywhere else before and uses the already loaded texture, otherwise loads the texture
-more things…
The rendering is performed the following way:

  • do other things
  • select a texture unit
  • bind texture to the active unit
  • set coordPointer right
  • do this again unless no texture units available or no more textures to bind
  • rendering itself
  • clear all used units
    -…

I have the strong feeling I wont see the bug when using windows- checking right now.
EDIT: As I thought- using Windows it runs smooth… crap ATI Linux drivers.

One more thing: At the moment I allocate VBOs for each shape- wouldnt sharing be better?