Posted by
Sven Gothel on
Feb 06, 2014; 11:02am
URL: https://forum.jogamp.org/Cannot-initialize-JOGL-on-Mesa-swrast-after-upgrade-tp4031458p4031472.html
On 02/06/2014 11:28 AM, Dolda2000 [via jogamp] wrote:
>> Pls produce test_dbg.log as described on our wiki/jogl/faq/bugreport.
>
> Sure thing. It's available here:
> <
http://www.dolda2000.com/~fredrik/tmp/test_dbg> <
http://www.dolda2000.com/%7Efredrik/tmp/test_dbg>>
>
Thank you, now we have all debug information.
Below shows that you have access to your DISPLAY :6
+++
X11Util.initSingleton(): OK true],
X11 Display(NULL) <:6>,
XSynchronize Enabled: false,
X11_EXTENSION_ATIFGLRXDRI false,
X11_EXTENSION_ATIFGLEXTENSION false,
requiresToolkitLock true,
hasThreadingIssues false,
markAllDisplaysUnclosable false
+++
Below shows that 'libGL.so.1' has been loaded,
is it the system wide one, or is it a private copy of some build ?
+++
NativeLibrary.open(global true): Trying to load libGL.so.1
DynamicLinkerImpl.incrLibRefCount 0x1f305a0 -> LibRef[libGL.so.1, refCount 1], libs loaded 1
NativeLibrary.open(): Successfully loaded: NativeLibrary[libGL.so.1, 0x1f305a0, global true]
Loaded Tool library: NativeLibrary[libGL.so.1, 0x1f305a0, global true]
NativeLibrary.findLibrary(<jogl_desktop>) (TempJarCache): /tmp/jogamp_0001/file_cache/jln4840746670761498962/jln3547628473897872386/libjogl_desktop.so
JNILibLoaderBase: loadLibraryInternal(jogl_desktop), TempJarCache: /tmp/jogamp_0001/file_cache/jln4840746670761498962/jln3547628473897872386/libjogl_desktop.so
JNILibLoaderBase: System.load(/tmp/jogamp_0001/file_cache/jln4840746670761498962/jln3547628473897872386/libjogl_desktop.so) - mode 2
JNILibLoaderBase: loadLibraryInternal(jogl_desktop): OK - mode 2
JNILibLoaderBase: Loaded Native Library: jogl_desktop
JNILibLoaderBase: loaded jogl_desktop
+++
If libGL.so.1 is the system wide Mesa lib,
I don't know why it fails with JOGL.
A 'private copy' surely could cause some troubles.
Please specify how you launch the test:
- Your default is Mesa software renderer ?
- ???
You launched an AMD64 OpenJDK process ..
Please specify the exact Debian version you are using:
- cat /etc/debian_version
- 'dpkg -l | grep mesa'
- On your DISPLAY :6 run 'glxgears -info >& glxgears-info.log'
Thank you!
~Sven
+++
#define GLX_DRAWABLE_TYPE 0x8010
+++
SharedResourceRunner.run(): create Shared for: :6 - main-SharedResourceRunner
X11Util.Display: openDisplay [reuse false] NamedX11Display[:6, 0x201b1e0, refCount 1, unCloseable false]. Thread main-SharedResourceRunner
main-SharedResourceRunner - X11GraphicsDevice.getDefaultDisplay() of X11GraphicsDevice[type .x11, connection :6, unitID 0, handle 0x201b1e0, owner true, ResourceToolkitLock[obj 0x254e8cee, isOwner true, <4cb9e45a, 403ef810>[count 1, qsz 0, owner <main-SharedResourceRunner>]]]: 0, count 1
main-SharedResourceRunner - X11GraphicsDevice.getDefaultDisplay() of X11GraphicsDevice[type .x11, connection :6, unitID 0, handle 0x201b1e0, owner true, ResourceToolkitLock[obj 0x254e8cee, isOwner true, <4cb9e45a, 403ef810>[count 1, qsz 0, owner <main-SharedResourceRunner>]]]: 0, count 1
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :6
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:679)
Caused by: javax.media.opengl.GLException: glXGetFBConfig(0x8010) failed: error code Unknown error code -1
at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.glXGetFBConfig(X11GLXGraphicsConfiguration.java:424)
at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.FBCfgDrawableTypeBits(X11GLXGraphicsConfiguration.java:257)
at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.GLXFBConfig2GLCapabilities(X11GLXGraphicsConfiguration.java:315)
at jogamp.opengl.x11.glx.X11GLXGraphicsConfiguration.GLXFBConfig2GLCapabilities(X11GLXGraphicsConfiguration.java:301)
at jogamp.opengl.x11.glx.X11GLXGraphicsConfigurationFactory.chooseGraphicsConfigurationFBConfig(X11GLXGraphicsConfigurationFactory.java:334)
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
+++
--
health & wealth
mailto:
[hidden email] ;
http://jausoft.comland : +49 (471) 4707742 ; fax : +49 (471) 4707741
Timezone CET: PST+9, EST+6, UTC+1