Jump to content

  • Log In with Google      Sign In   
  • Create Account


madgallagher

Member Since 28 Mar 2013
Offline Last Active Mar 28 2013 10:55 AM
-----

Topics I've Started

Strange Video Memory Increase

28 March 2013 - 06:37 AM

Hi Guys

 

I have a weird issue on opengl. I am rendering a lot of tris (millions) using vertex arrays.

Here is the issue.

 

If I load up the tris and display as shaded with a constant color, the video memory is showing around 600MB.

 

If I then change the color array values to be varied at different vertex, the memory usage increases to around 1GB.

If I then spin the model around, the memory usage slowly decreases to around 600MB (after a couple of minutes).

 

But, if I load up the model straight away with varied shading, the memory is only 600MB.

 

This is on linux, so is it a driver issue ? Or is there something more obvious I am neglecting.

 

I am using nvidia-smi to check the graphics memory usage.

 

Cheers in advance for any help !


PARTNERS