FATAL ERROR in native method: initializeImpl() not called

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

FATAL ERROR in native method: initializeImpl() not called

Peter
I get the following error when trying to create a 3d chart using Jzy3d.  I get the error on ubuntu 14.04
 I have downloaded jogamp-all-platforms.7z and extracted the files from there.

The code that causes the error is:
        Chart chart = new Chart("swing");


FATAL ERROR in native method: initializeImpl() not called
        at jogamp.opengl.x11.glx.GLX.dispatch_glXChooseFBConfig(Native Method)
        at jogamp.opengl.x11.glx.GLX.glXChooseFBConfig(GLX.java:1099)
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationFBConfig(X11GLXGraphicsConfigurationFactory.java:302)
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationStatic(X11GLXGraphicsConfigurationFactory.java:233)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createMutableSurfaceImpl(X11GLXDrawableFactory.java:511)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createDummySurfaceImpl(X11GLXDrawableFactory.java:522)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:276)
        at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
        - locked <0x00000007d8e10068> (a jogamp.opengl.SharedResourceRunner)
        at java.lang.Thread.run(Thread.java:745)
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

jmaasing
Do you get the same error when running the executable demos?

http://jzy3d.org/download-0.9.php
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

Peter
I should have mentioned that in the first post,
I can fire up the demo, but clicking on any of the individual demos results in a blank white screen, but no error output.

I have two similar machines both running ubuntu, both the demos and the code snippit run fine on one, but not on the other.  As I keep both of them up to date, the only difference I can find is the one that works runs nvidia graphics and the one that doesn't has intel onboard graphics.

I know that's not much to go on.

Peter
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

gouessej
Administrator
Please run our JOGL tests in order to help us to determine whether the problem comes from JOGL or from Jzy3D:
http://jogamp.org/deployment/jogamp-current/jogl-test-applets.html
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

jmaasing
Also:  intel onboard graphics are notoriously bad at OpenGL (frankly they are a disaster). If possible try to run glxgears or any other GL-program to see if that works at all.
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

gouessej
Administrator
jmaasing, good idea, maybe it is a problem with OpenGL.

Intel drivers aren't good under Windows but they are less unsatisfying under GNU Linux even though the word "disaster" is still deserved to designate them.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

Peter
In reply to this post by gouessej
Running any of the jws / jnlp samples produces:

FatalError: initializeImpl() not called
FATAL ERROR in native method: initializeImpl() not called
        at jogamp.opengl.x11.glx.GLX.dispatch_glXChooseFBConfig(Native Method)
        at jogamp.opengl.x11.glx.GLX.glXChooseFBConfig(GLX.java:1099)
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationFBConfig(X11GLXGraphicsConfigurationFactory.java:302)
        at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationStatic(X11GLXGraphicsConfigurationFactory.java:233)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createMutableSurfaceImpl(X11GLXDrawableFactory.java:511)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createDummySurfaceImpl(X11GLXDrawableFactory.java:522)
        at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:276)
        at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
        - locked <0x00000007d73c8860> (a jogamp.opengl.SharedResourceRunner)
        at java.lang.Thread.run(Thread.java:745)

I am not currently able to run any of the applets (java in browser security issues)

Peter
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

Sven Gothel
Administrator
On 10/23/2014 06:24 PM, Peter [via jogamp] wrote:

> Running any of the jws / jnlp samples produces:
>
> FatalError: initializeImpl() not called
> FATAL ERROR in native method: initializeImpl() not called
>         at jogamp.opengl.x11.glx.GLX.dispatch_glXChooseFBConfig(Native Method)
>         at jogamp.opengl.x11.glx.GLX.glXChooseFBConfig(GLX.java:1099)
>         at
> jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationFBConfig(X11GLXGraphicsConfigurationFactory.java:302)
>
>         at
> jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationStatic(X11GLXGraphicsConfigurationFactory.java:233)
>
>         at
> jogamp.opengl.x11.glx.X11GLXDrawableFactory.createMutableSurfaceImpl(X11GLXDrawableFactory.java:511)
>
>         at
> jogamp.opengl.x11.glx.X11GLXDrawableFactory.createDummySurfaceImpl(X11GLXDrawableFactory.java:522)
>
>         at
> jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:276)
>
>         at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
>         - locked <0x00000007d73c8860> (a jogamp.opengl.SharedResourceRunner)
>         at java.lang.Thread.run(Thread.java:745)
>
> I am not currently able to run any of the applets (java in browser security
> issues)
To be able to help, I would need you to follow
our Wiki FAQ entry about bug reporting.

I.e. setting certain debug properties and sending us the log files.

However, since you have tested our test-applets,
and you mention 'security issues' - maybe the applet console does show you
some not accepted signature or the like?

~Sven



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

Re: FATAL ERROR in native method: initializeImpl() not called

gouessej
Administrator
In reply to this post by Peter
I still think that running glxgears would allow to check whether there is a pure OpenGL (non JOGL related) problem.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

Peter
In reply to this post by Sven Gothel
It took a crazy amount of time, but it appears I had a version mismatch.  I finally got the demos to run, so I will continue to test using my current config.  If it fails again, I will report back.
Reply | Threaded
Open this post in threaded view
|

Re: FATAL ERROR in native method: initializeImpl() not called

gouessej
Administrator
Thank you for the feedback, it reassures me.
Julien Gouesse | Personal blog | Website