Login  Register

Re: JOGL Crash on Windows 7 with Nvidia

Posted by Pixelapp on Sep 05, 2012; 10:00pm
URL: https://forum.jogamp.org/JOGL-Crash-on-Windows-7-with-Nvidia-tp4025859p4026027.html

As I said before and is well documented on forum.jogamp.org (under the threads I created): Texture.destroy() and Texture.updateImage() cause a crash.

Moreover, the reason I created this thread "Re: JOGL Crash on Windows 7 with Nvidia" was telling that I get a crash (even when I don't use Texture.destroy() or Texture.updateImage()) on:

    Windows 7

    GeForce 8400 GS and GeForce 9200 (the latter is an Integrated graphics card). Also I tried the graphics card configuration    in every possible way. For example, I tried running my program with only GeForce 8400 GS enabled, or with only GeForce 9200 enabled or with both GeForce 9200 and GeForce 8400 GS working under SLI

    Driver: 8.17.13.142

Additionally, since I'm not using Texture.destroy() and Texture.updateImage() to prevent it form crashing. My program under JOGL (not Android) is only able to work with the texture that it was initialized with. Which is obvious. Also it is something I need to eliminate immediately.

"1) Texture.destroy() only calls glDeleteTextures as you can see here:
https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/util/texture/Texture.java

2) Please can you copy your test case into a proper bug report? I'm very busy but I will try to reproduce it at home. I assume you reproduced it on several machines. Be very accurate on the description of their hardware, the graphics cards, the version numbers of the drivers, etc...

Lots of drivers use deferring and I really think it is a bad idea to expect from the driver to immediately destroy a texture during the display, especially under Windows. "

1) I use glDeleteTextures a lot under android and I don't get any crash.

2) Also, yes I'm working on putting together a test case. I'll have it up as soon as I'm done with my school work and I rest. :)

The crash only happens under the aforementioned configuration. I also successfully tested the aforementioned configuration (same computer) under Ubuntu with no crash.

If you have any other questions Julien, let me know.

Ka Pow. I'm out......................................