Login  Register

Re: jogl crashes video card driver

Posted by gouessej on Dec 31, 2012; 1:06pm
URL: https://forum.jogamp.org/jogl-crashes-video-card-driver-tp4026980p4027664.html

Hi

runiter wrote
However Ardor3D doesn't seem to work with the new jogl library. The canvas does not render anything and Camer.getCurrentCamera() always returns null.
Ardor3D doesn't work only in a particular case with a specific hardware. Please be accurate.

runiter wrote
Perhaps goussej needs to update Ardor3D-Jogl project now?
I will make a pull request in a few days. I plan to call invokeAndWait() to drive the canvas visible if and only if JoglAwtCanvas.init() is not called from the AWT EDT.

Sven Gothel wrote
Yeah, all this is due to calling 'setVisible(true)' on the GLCanvas
_not_ from the AWT-EDT.

So JOGL detects this and skips the realize call in such cases,
since it can freeze the Intel GPU on Windows - and is not proper anyways.
  <http://jogamp.org/git/?p=jogl.git;a=commit;h=d93c5d23e304ea20e868595748f92a5bef4f5703>

@Julien: A similar approach should be done in Ardor3D, IMHO. Please see the commit above.
Would my suggestion fix this bug? Does it concern NewtAWTCanvas too?
Julien Gouesse | Personal blog | Website