Re: Multiple GLCanvas/FPSAnimator Hang
Posted by sfriend on Nov 20, 2013; 9:29pm
URL: https://forum.jogamp.org/Multiple-GLCanvas-FPSAnimator-Hang-tp4030581p4030671.html
The problem usually happens with 2 or 3 windows. JFrames/JSplitpane/Jpanel/GLCanvas and an FPSAnimator for each. I have looked at heap and things appear to be operating as expected. I also monitored video memory usage and its well under the 512 mb my card has.
I have also tried another Graphics Card, with a AMD Radeon E6760 chipset and 1 GB of ram. Same driver supports both cards.
At this stage I'm going to try to build JOGL and get the extended error information for wglCreateContextAttribsARB when it fails. I may try dumping the stack for my threads also to try to figure out what could be causing it.
This is a strange problem and sometimes it takes an hour of testing to get it to happen , so its not a quick process. It always happens the first time the context is created for a newly opened window (once the animator is started). Once it happens I can no longer open any new windows they all fail with the same error as shown above in the log. Any existing windows/glcanvas's I have open , the Animator continues to run and all graphics are fine.
Thanks for the suggestions. If you think of anything else, please let me know.