GPU memory consumption, back buffer, Quadro
The use of glScissor when drawing into the back buffer causes the GPU memory requirement to continually increase.
Please see the attached simple OpenGL program glxtest.c. It is run using
./glxtest.exe (ibufse) (iscissor)
ibufse=1: draw to front buffer
ibufse=2: draw to back buffer
iscissor=0: do not scissor when clearing
iscissor=1: scissor when clearing
./glxtest.exe 2 1
draws to the back buffer repeately, scissoring when clearing the screen.
continually decreases. The memory of the process reported by 'top'
also continually increases.
If I don't scissor
./glxtest.exe 2 0
or if I scissor into the front buffer
./glxtest.exe 1 1
then the memory doesn't increase.
I am running Red Hat Enterprise Linux 5 (kernel 2.6.18-8.e15) on an x86_64 platform.
Driver: NVIDIA 295.53, as downloaded from the NVIDIA website.
Graphics card: QUADRO FX 570, 256 MB memory.
I have attached nvidia-bug-report.log.gz.
Is this memory increase a bug in the NVIDIA drivers for Linux? If so, should I report the
bug directly to NVIDIA?
Last edited by tdsussman; 06-08-12 at 05:12 PM.
Reason: more information