Hello Pablo,

On 11/09/2010 12:20 PM, Pablo Carneiro Elias wrote:
> actually, we've used OpenSG statistics and GDebugger... When objects
> leave frustum the texture memory used decreases, and then it increases
> again when it return. When the total memory used changes (e.g from 20MB
> to 200MB) as the result of frustum culling,

I'm afraid that statistic is not the texture memory allocated 
on/uploaded to the card, but simply a sum of the sizes of all textures 
used during rendering, so it is expected to change based on frustum culling.
However, if an OpenGL debugger reports a drop in texture memory used by 
the driver/card that is something else.

> we experience the framerate
> fall... Actually, I'm not totally sure that the resources are really
> deleted from Graphics card, but based on the lag and the memory usage
> increase I deduced that the problem is related to data transfer to the
> graphics card. After some tests we're starting to believe that it is
> likely to be some driver problem under win 64 because OpenSG does not
> delete any object when they are deactivated, it simple disable them
> (TexObjs, etc)...

right, they are simply not used for the current frame. I don't 
understand why a driver would ever want to evict a texture from the 
card's memory unless it needs the space for something else? But you said 
in the previous space you don't have memory pressure on the card ... 
very strange.

> so, its probably not caused by OpenSG.... But the
> problem is still a mistery, so... any help is welcome! ;)

I'm also not convinced this is caused by OpenSG, especially since you 
are not seeing it under linux on the same hardware. There is nothing 
platform specific about the the frustum culling and GL resource handling 
is done.
Unfortunately I don't really have an explanation for this. Have you 
tried different driver versions?

        Cheers,
                Carsten

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to