Bug 939

Summary: 2.1.3 Problem on Linux
Product: [JogAmp] Jogl Reporter: Marco Möller <marcomoeller>
Component: awtAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: ---    
Version: 2   
Hardware: pc_x86_64   
OS: linux   
Type: --- SCM Refs:
Workaround: ---

Description Marco Möller 2014-01-10 14:18:09 CET
Hi,

I just tried to update my WorldWind based application onto jogl 2.1.3 (2.1.2 is running perfect!):

After startup I got this stacktrace:

Any ideas what could be wrong?

I am using openSuse 13.1

THX

-Marco


libEGL warning: DRI2: failed to authenticate
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0
	at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:316)
	at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.UnsatisfiedLinkError: jogamp.nativewindow.x11.X11Lib.XRenderFindVisualFormat1(JJLjava/nio/ByteBuffer;)Z
	at jogamp.nativewindow.x11.X11Lib.XRenderFindVisualFormat1(Native Method)
	at jogamp.nativewindow.x11.X11Lib.XRenderFindVisualFormat(X11Lib.java:188)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.XVisual2XRenderMask(X11GLXGraphicsConfiguration.java:280)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.GLXFBConfig2GLCapabilities(X11GLXGraphicsConfiguration.java:350)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.GLXFBConfig2GLCapabilities(X11GLXGraphicsConfiguration.java:301)
	at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationFBConfig(X11GLXGraphicsConfigurationFactory.java:304)
	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)
	... 2 more
Comment 1 Sven Gothel 2014-01-12 04:27:03 CET
This is quite an odd situation, 
since all releases and RCs are successfully tested - especially regarding
the simple startup case.

Here the native library as provided in the 'natives jar' file somewhat does not 
match the 'java jar' file class (i.e. the java native method is not contained in 
the native library).

Almost looks like you are using not the very same versions of all jogamp files,
i.e. missed to _also_ replace the native jar files (or native libraries itself).

?
Comment 2 Marco Möller 2014-01-13 10:54:32 CET
Hi,

thx for the hint. I forgot to update one folder with binaries ;-(

Sorry for bothering you!

BR
-Marco