Never ending process after calling GLProfile.initSingleton()

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

Never ending process after calling GLProfile.initSingleton()

bardackx
I'm using 2.0-rc10, in the main method I make a call to GLProfile.initSingleton(), it is the only instruction in the method, and the application never stops, I have to use the task manager to close it, I've tried to call GLProfile.shutdown(), and I got the same results.

I'm using a 32-bit Java in a 64-bit machine, and the next jars:
gluegen-rt.jar
jogl-all.jar
gluegen-rt-natives-windows-i586.jar
jogl-all-natives-windows-i586.jar

Any ideas?
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

gouessej
Administrator
Hi

Rather use the latest aggregated build or build JOGL by yourself. Calling GLProfile.initSingleton() is no more necessary in the very latest version.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

bardackx
I got the same result if I simply call GLProfile.get(), the program never ends
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

gouessej
Administrator
I see what you mean, there were still some cases of deadlocks in previous builds. Please switch to the latest one, you won't have to call GLProfile.initSingleton() and your application won't be frozen anymore.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

gouessej
Administrator
In reply to this post by bardackx
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

bardackx
Similar result, the video card is AMD, does that matter?
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

Sven Gothel
Administrator
On 10/04/2012 03:33 AM, bardackx [via jogamp] wrote:
> Similar result, the video card is AMD, does that matter?

Well, the driver matters, proprietary vs open-source.

Are you using the old Mesa 8.0.4 Gallium 0.4,
as shipped w/ .. Ubuntu 12.04.1 LTS ?
I had similar experience here sometimes,
then I upgraded driver to (backports apt) 8.0.4!

Other than that, I start a test run now, and you may test w/
latest builds when done, since it contains one more XInitThreads() fix.

Will reply here when avail.

~Sven



signature.asc (907 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

gouessej
Administrator
He seems to be under Windows 32 bits.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

bardackx
I am woking on Windows 64 bits.
When debugging (with the latest builds) the debugger stops at the end, but the application doesnt
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

bardackx
In reply to this post by bardackx
Today I realized that this computer was using beta drivers, I installed the regular drivers and everything works as expected, I hope this helps in case someone face a similar problem
Reply | Threaded
Open this post in threaded view
|

Re: Never ending process after calling GLProfile.initSingleton()

gouessej
Administrator
Thanks for your feedback. Calling initSingleton() isn't necessary any more.
Julien Gouesse | Personal blog | Website