glDeleteFramebuffers hangs in dispose!

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

glDeleteFramebuffers hangs in dispose!

Triipaxx
Hey guys.
I hope you can help me fixing this issue. I have a programm that uses framebuffer objects, all is working very well, except i'm trying to dispose and clean my programm. the programm termination is blocked by the call to glDeleteFramebuffers and i don't understand why. i tried my own fbo code and the FBObject from the JOGL library. Both ways are producing this hang on dispose "bug". is this a known issue? or does anyone knows which situation causes this problem?

i'm using jogl version "jogl-2.0-b23-20110303" and Nvidia Driver 258.96

i hope you guys can help me
Reply | Threaded
Open this post in threaded view
|

Re: glDeleteFramebuffers hangs in dispose!

Wade Walker
Administrator
Have you upgraded to the latest nvidia drivers for your graphics card? You should probably try that first, before trying to debug the issue. For relatively recent cards, the driver version is 275.33, but you'd have to check for your card to know for sure.
Reply | Threaded
Open this post in threaded view
|

Re: glDeleteFramebuffers hangs in dispose!

Worker
In reply to this post by Triipaxx
Hi

Make a list from that what you have initiallized.

first, release your scene from drawing
e.g. glMyDrawable.removeGLEventListener(MySceneRenderer);
then release your scene resources

e.g lists with : gl.glDeleteLists(glName,0);
e.g. buffers with : gl.glDeleteBuffers(vboIds.length, vboIds, 0);
e.g textures with : gl.glDeleteTextures( myTextures.length, myTextures, 0 );

then in an separate thread if you want,

- stop the animator and
- release all your Listener

If you has worked in fullscreen mode, set back the screen
to the old mode.

That must work

or you driver has a problem:-)