Bug 495 - FBO produces GL_OUT_OF_MEMORY on some NVidia / Windows machines
Summary: FBO produces GL_OUT_OF_MEMORY on some NVidia / Windows machines
Status: RESOLVED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: pc_all windows
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2011-04-11 04:07 CEST by Sven Gothel
Modified: 2011-11-21 14:24 CET (History)
2 users (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2011-04-11 04:07:02 CEST
It seems on some configurations (Win32 NV Quadro FX 3k 4k / GeForce 8000/9000 ..) 
calling glBindFramebuffer() fails the 1st time with GL_OUT_OF_MEMORY (checked by glGetError()..).

Below I have copied a proposal suggesting to disable the 
NVidia desktop manager software, which is said to 'eat all vram!'.

Another issue could be the infamous 
NVIDIA 'Threaded optimization' issue.
  http://jogamp.org/git/?p=jogl.git;a=commit;h=5166d6a6b617ccb15c40fcb8d4eac2800527aa7b
Please turn 'Threaded optimization' off, since we use multithreading.

Would be helpful if we can verify whether this bug still exists with todays drivers or not.
A workaround might be useful as well ?

+++

Works:
- Windows 7 64-bit Quadro FX 5600
- Vista 64-bit Quadro FX 5600
- XP 32-bit ATI Radeon HD 2600
- Windows 7 64-bit nvidia GE Force GTS 360M.
- Windows XP 32-bit Ge Force 8800 GTS driver 190.62

FAILS:
- Windows XP 32-bit Quadro FX 3000 (cube is black)
- Laptop Windows XP 32-bit Quadro FX Go 1400 (cube is black) 
- Windows XP 32-bit GeForce FX5200. Driver version is 175.19 a.k.a 6.14.11.7519 (5/16/2008)
- Windows XP 32-bit and the Quadro FX 4800 with the latest drivers.
  - latest drivers the demo hangs and only shows a black screen.
  - 190.38 driver the demo runs but the texture read from the FB and mapped onto the cube is corrupt. 
- Windows XP 32-bit, GeForce 8800 GTS latest drivers from NVIDIA.
- Windows XP 32 bit, GeForce 8800 GTS, driver version 109.62 

+++

http://www.java-gaming.org/index.php/topic,22485.msg186124.html#msg186124

i found what the app disturbed.
-the nvidia desktop manager software eats all vram!
(after deaktivating this program all works fine again
(i use 2 screen ,and got no need of any extra screen manager... must be
activated in any way)
+++

+++
http://forum.jogamp.org/GL2-context-for-win-build-216-memory-in-build-209-td1908947.html
http://forum.jogamp.org/glBindFramebuffer-not-working-td2489325.html
Comment 1 Sven Gothel 2011-11-21 14:24:38 CET
Well, since Windows XP ran out of life (EOL) .. and we didn't experience this bug
in an supported environment - closed.