Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Jul 03, 2014; 10:25pm.
You are correct, when I run the HogApp, its javaw.exe will terminate but eclipse will show that the notepad handle is still open.
However, when I run the JOGL (code below), that is not the case. The second javaw.exe will not terminate. Also I cannot see any other new process, apart from javaw.exe, in the task manager. import javax.media.opengl.GLProfile; public class HogApp2 { public static void main(String[] args) { GLProfile glpMinimal = GLProfile.get(GLProfile.GL2); try {Thread.sleep(5000);System.out.println("exit");} catch (Exception e) {} } } Although this may not be a problem for some people during development,it can be an issue if we deploy our Apps to other people’s computers, as the environments vary. ------------- gouessej: FYI: I raised this issue in bugzilla
___
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have the same issue in my environment - It is really annoying.
Does anybody know what the problem is?
___
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
It looks like raptor entered the bug at https://jogamp.org/bugzilla/show_bug.cgi?id=1028. Are you using ATI drivers also? This might help narrow it down a bit. Perhaps you could enter your system specs (OS version, Java version, driver version, etc.) on the bug page to give us more data.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Video card: catalist 14.6 / Java 7 / OS Win7 64bit.
I will try this on my NVIDIA laptopo later, also WIn7 64bit
___
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
catalist 14.6 isn't the name of your graphics card, it's the name of the ATI driver under Windows, it's useful but please indicate exactly which graphics card you use. The same driver may behave differently with different hardware.
Julien Gouesse | Personal blog | Website
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ahh - my paste did not work
![]() I tried running eclipse in Java 7 & 8 - same issue. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Wade Walker
I am having the same problem when running my application throght the command "java -jar test.jar" in my brother's computer, I havent tested it in eclipse, the specs are
the graphic card is, AMD Radeon HD 6450 the catalyst version is 14.4 the OS is Windows 7 x64 the JRE is 1.7 edit: just downloaded the agregated build from the bug page (http://jogamp.org/deployment/archive/master/gluegen_813-joal_557-jogl_1325-jocl_996) the problem was solved (and now the application ends faster in my own enviroment, wich is similar to my brothers but with a newer AMD graphics card) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Thank you very much for the feedback, it's very useful for people who could have the same problem.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by bardackx
On 08/08/2014 03:12 PM, bardackx [via jogamp] wrote:
> I am having the same problem when running my application throght the command > "java -jar test.jar" in my brother's computer, I havent tested it in eclipse, > the specs are > > the graphic card is, AMD Radeon HD 6450 > the catalyst version is 14.4 > the OS is Windows 7 x64 > the JRE is 1.7 Should be solved w/ release 2.2.0, see Bug 1028 - https://jogamp.org/bugzilla/show_bug.cgi?id=1028 Assuming it is the same cause .. ~Sven |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Great, great thanks for the fix! I will test this as soon as I am back from my hols ( 3 days)
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Sven Gothel
I have tested this now and I can confirm it works as expected for me on NVIDIA and ATI cards - the thread terminates properly.
Thank you for the fix! ![]() BTW - do you remember what the bug you mentioned below was: On Windows/WGL we only destroy the shared drawable, knowing that destroying the shared context caused a driver bug in the past.
___
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by The.Scotsman
Hi
Something it take a bit time with big datas. I had never problems with that in jogl. Perhaps this code can help a bit: /* This stop() method is for a clean shutdown * for the display.Gives back Listener and * stops a running Animator * see @ com.jogamp.opengl.util.Animator */ public void stop( final String error, final Animator anim ) { // Run this on another thread than the AWT event queue to // make sure the call to Animator.stop() completes before exiting new Thread( new Runnable() { public void run() { if ( anim!=null ) anim.stop(); /* win is created with final com.jogamp.newt.Screen scrn = NewtFactory.createScreen(display, 0); scrn.addReference(); win = GLWindow.create(scrn, glCaps); */ if ( win!=null ) { //remove the listener removeKeyListener(); removeMouseListener(); } win.getScreen().removeReference(); System.exit(0); if ( error!=null && error.length()>0 ) Log.getLogger().log(Level.SEVERE , error ); } }).start(); } |
Free forum by Nabble | Edit this page |