Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

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

Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

I'm facing the problem, that my Java3D application crashes sometimes (50% of the runs) during opening the application or better to say the JCanves3D. I don't know, if this is a bug or is it me who's doing something wrong. To me it seems to be a jogl problem, but I don't know.

The error log says:

Stack: [0x00007f52333d4000,0x00007f52334d5000],  sp=0x00007f52334d30b0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libGL.so.1+0x1d480]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jogamp.opengl.x11.glx.GLXExtImpl.dispatch_glXCreateContextAttribsARB0(JJJZLjava/lang/Object;IJ)J+0
j  jogamp.opengl.x11.glx.GLXExtImpl.glXCreateContextAttribsARB(JJJZLjava/nio/IntBuffer;)J+75
j  jogamp.opengl.x11.glx.X11GLXContext.createContextARBImpl(JZIII)J+369
j  jogamp.opengl.GLContextImpl.createContextARB(JZ)J+333
j  jogamp.opengl.x11.glx.X11GLXContext.createImpl(J)Z+611
j  jogamp.opengl.GLContextImpl.makeCurrentWithinLock(I)I+224
j  jogamp.opengl.GLContextImpl.makeCurrent(Z)I+488
j  jogamp.opengl.GLContextImpl.makeCurrent()I+2
j  javax.media.j3d.JoglPipeline.createNewContext(Ljavax/media/j3d/Canvas3D;Ljavax/media/j3d/Drawable;Ljavax/media/j3d/Context;ZZ)Ljavax/media/j3d/Context;+167
j  javax.media.j3d.Canvas3D.createNewContext(Ljavax/media/j3d/Drawable;Ljavax/media/j3d/Context;ZZ)Ljavax/media/j3d/Context;+9
j  javax.media.j3d.Canvas3D.createNewContext(Ljavax/media/j3d/Context;Z)Ljavax/media/j3d/Context;+11
J 5008 C2 javax.media.j3d.Renderer.doWork(J)V (6213 bytes) @ 0x00007f52b9c90b2c [0x00007f52b9c8cfa0+0x3b8c]
j  javax.media.j3d.J3dThread.run()V+19
v  ~StubRoutines::call_stub

The test.log:

/mnt/appl/x86_64/java/jdk1.8.0_51/bin/java
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
LIBXCB_ALLOW_SLOPPY_LOCK:
LIBGL_DRIVERS_PATH:
LIBGL_DEBUG:
java
forceES2    false
forceES3    false
forceGL3    false
forceGL4ES3 false
-----------------------------------------------------------------------------------------------------
Platform: LINUX / Linux 3.16.7-24-desktop (3.16.7), amd64 (X86_64, GENERIC_ABI), 4 cores, littleEndian true
MachineDataInfo: runtimeValidated true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    8 / 8
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 1.8.0_51 (1.8.0u51), VM: Java HotSpot(TM) 64-Bit Server VM, Runtime: Java(TM) SE Runtime Environment
Platform: Java Vendor: Oracle Corporation, http://java.oracle.com/, JavaSE: true, Java6: true, AWT enabled: true
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp.common
Extension Name: com.jogamp.common
Specification Title: GlueGen Java Bindings Generator
Specification Vendor: JogAmp Community
Specification Version: 2.3
Implementation Title: GlueGen Run-Time
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.3.1
Implementation Build: 2.3-b857-20150327
Implementation Branch: origin/master
Implementation Commit: f1eba171ddd887a2daa3dfa2ac90ac864c5b22d4
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp.opengl
Extension Name: com.jogamp.opengl
Specification Title: Java Bindings for OpenGL API Specification
Specification Vendor: JogAmp Community
Specification Version: 2.3
Implementation Title: Java Bindings for OpenGL Runtime Environment
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.3.1
Implementation Build: 2.3-b1391-20150327
Implementation Branch: origin/master
Implementation Commit: b142c7130c05c9c0ae97841b4ff626f528c45438
-----------------------------------------------------------------------------------------------------
GLProfiles on device X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x1324409e, isOwner false, <2c6a3f77, 246ae04d>[count 0, qsz 0, owner <NULL>]]]
        Natives
                GL4bc false
                GL4 false
                GLES3 false
                GL3bc false
                GL3 true [3.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL2 true [3.0 (Compat profile, arb, compat[ES2], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 2 / 8
        Common
                GL4ES3 false
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL2ES1 GLProfile[GL2ES1/GL2.hw]
                GL2ES2 GLProfile[GL2ES2/GL3.hw]
                GL2 GLProfile[GL2/GL2.hw]
                GL3 GLProfile[GL3/GL3.hw]
                GL2GL3 GLProfile[GL2GL3/GL3.hw]
                default GLProfile[GL2/GL2.hw]
                Count 5 / 12


Desktop Capabilities:
        GLCaps[glx vid ----, fbc 0x60: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x61: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x62: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x63: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x64: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x65: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x6a: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x6b: rgba 5/6/5/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/0/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x6e: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x6f: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x70: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x71: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x76: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x77: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x78: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x79: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x7a: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x7b: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x80: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x81: rgba 5/6/5/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/0/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x84: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x85: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x86: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid ----, fbc 0x87: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer, bitmap]]
        GLCaps[glx vid 0x20, fbc 0x68: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x21, fbc 0x7e: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x5f, fbc 0x6c: rgba 8/8/8/8, trans-rgba 0xff/ff/ff/ff, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x8c, fbc 0x66: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x8d, fbc 0x67: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x8e, fbc 0x69: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x8f, fbc 0x6d: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x90, fbc 0x72: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x91, fbc 0x73: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x92, fbc 0x74: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x93, fbc 0x75: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x94, fbc 0x7c: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x95, fbc 0x7d: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x96, fbc 0x7f: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x97, fbc 0x82: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x98, fbc 0x83: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x99, fbc 0x88: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x9a, fbc 0x89: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x9b, fbc 0x8a: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]
        GLCaps[glx vid 0x9c, fbc 0x8b: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap]]

EGL Capabilities:
        GLCaps[egl cfg 0xe, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x12, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x1c, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x26, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x28, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x2a, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x2c, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x3a, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x3e, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer, bitmap], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x48, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , sw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x52, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x54, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x56, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]
        GLCaps[egl cfg 0x58, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[fbo, pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]


Requesting: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]
Main Monitor: Monitor[Id 0x3f [primary], 518 x 324 mm, pixelScale [1.0, 1.0], viewport [ 0 / 0  1920 x 1200 ] [pixels], [ 0 / 0  1920 x 1200 ] [window], orig [Id 0x4a, [ 1920 x 1200 pixels x 32 bpp ] @ 59.95 Hz, flags [], 0 degr], curr [Id 0x4a, [ 1920 x 1200 pixels x 32 bpp ] @ 59.95 Hz, flags [], 0 degr], modeChanged false, modeCount 84]
    pixel/mm [3.7065637, 3.7037036]
    pixel/in [94.14671, 94.07407]
-----------------------------------------------------------------------------------------------------
X11GraphicsDevice[type .x11, connection :0]:
        Natives
                GL4bc false
                GL4 false
                GLES3 false
                GL3bc false
                GL3 true [3.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL2 true [3.0 (Compat profile, arb, compat[ES2], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 2 / 8
        Common
                GL4ES3 false
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL2ES1 GLProfile[GL2ES1/GL2.hw]
                GL2ES2 GLProfile[GL2ES2/GL3.hw]
                GL2 GLProfile[GL2/GL2.hw]
                GL3 GLProfile[GL3/GL3.hw]
                GL2GL3 GLProfile[GL2GL3/GL3.hw]
                default GLProfile[GL2/GL2.hw]
                Count 5 / 12

Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     3.0 (Compat profile, arb, compat[ES2], FBO, hardware) - 3.0 Mesa 10.3.7 [GL 3.0.0, vendor 10.3.7 (Mesa 10.3.7)]
Quirks         [NoDoubleBufferedPBuffer, NoSetSwapIntervalPostRetarget, GLSharedContextBuggy]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel Open Source Technology Center
GL_RENDERER    Mesa DRI Intel(R) Haswell Desktop
GL_VERSION     3.0 Mesa 10.3.7
GLSL           true, has-compiler-func: true, version: 1.30 / 1.30.0
GL FBO: basic true, full true
GL_EXTENSIONS  197
GLX_EXTENSIONS 29
-----------------------------------------------------------------------------------------------------
Requested: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]
Chosen   : GLCaps[glx vid 0x20, fbc 0x68: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], on-scr[.]]
GL impl. class jogamp.opengl.gl4.GL4bcImpl

The test_dbg.log:

http://update.elamx.de/test_dbg.log

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

gouessej
Administrator
Hi

This seems to be the problem:
com.jogamp.opengl.GLException: main-SharedResourceRunner: Unable to create desktop OpenGL context(ARB n/a) on eglDevice EGLGraphicsDevice[type .egl, v1.4.0, connection decon, unitID 0, handle 0x7fede0394d80, owner true, ResourceToolkitLock[obj 0x60addb54, isOwner true, <3f2a3a5, 4cb2c100>[count 1, qsz 0, owner <main-SharedResourceRunner>]]], eglConfig EGLGraphicsConfiguration[DefaultGraphicsScreen[EGLGraphicsDevice[type .egl, v1.4.0, connection decon, unitID 0, handle 0x7fede0394d80, owner true, ResourceToolkitLock[obj 0x60addb54, isOwner true, <3f2a3a5, 4cb2c100>[count 1, qsz 0, owner <main-SharedResourceRunner>]]], idx 0],
        eglConfigHandle 0x7fed6820e1d0, eglConfigID 0x12,
        requested GLCaps[rgba 5/5/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL3/GL3.hw], offscr[pbuffer]],
        chosen    GLCaps[egl cfg 0x12, vid 0x20: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL3/GL3.hw], offscr[pbuffer], [0x4d: GL, GLES1, GLES2, GLES3, VG]]], GLProfile[GL3/GL3.hw], shareWith 0x0, error 0x3000
        at jogamp.opengl.egl.EGLContext.createImpl(EGLContext.java:337)
        at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
        at jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.mapAvailableEGLESConfig(EGLDrawableFactory.java:732)
        at jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:542)
        at jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:513)
        at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
        at java.lang.Thread.run(Thread.java:745)


Please use the very latest build (JOGL 2.3.2-rc-20150927).
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
The message is gone but it still crashes.

The new test_dbg.log
http://update.elamx.de/test_dbg_build_20150927.log

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

gouessej
Administrator
This post was updated on .
What have you done with the JARs?

java.io.FileNotFoundException: Could not look-up: com/jogamp/newt/newt/data/jogamp-16x16.png as URL, w/ ClassLoader or as File
        at com.jogamp.common.net.AssetURLContext.resolve(AssetURLContext.java:199)
        at com.jogamp.common.util.IOUtil.getResource(IOUtil.java:552)
        at com.jogamp.common.util.IOUtil.getResource(IOUtil.java:505)
        at com.jogamp.common.util.IOUtil$ClassResources.resolve(IOUtil.java:472)
        at jogamp.newt.driver.opengl.JoglUtilPNGIcon.arrayToX11BGRAImages(JoglUtilPNGIcon.java:48)
        at jogamp.newt.driver.PNGIcon.arrayToX11BGRAImages(PNGIcon.java:76)
        at jogamp.newt.driver.x11.WindowDriver.<clinit>(WindowDriver.java:80)
        at jogamp.newt.driver.x11.DisplayDriver.initIDs0(Native Method)
        at jogamp.newt.driver.x11.DisplayDriver.<clinit>(DisplayDriver.java:55)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.jogamp.newt.NewtFactory.getCustomClass(NewtFactory.java:111)
        at jogamp.newt.DisplayImpl.getDisplayClass(DisplayImpl.java:275)
        at jogamp.newt.DisplayImpl.create(DisplayImpl.java:285)
        at com.jogamp.newt.NewtFactory.createDisplay(NewtFactory.java:203)
        at com.jogamp.newt.NewtFactory.createWindowImpl(NewtFactory.java:309)
        at com.jogamp.newt.NewtFactory.createWindow(NewtFactory.java:234)
        at com.jogamp.newt.opengl.GLWindow.create(GLWindow.java:168)
        at com.jogamp.newt.opengl.GLWindow.main(GLWindow.java:1080)

Edit.: newt/data/jogamp-16x16.png is in jogamp-fat.jar and in jogl-all.jar. You broke something on your side.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

thanks for your help. But I don't know, what I did wrong. Everything I did was downloading
http://jogamp.org/deployment/autobuilds/master/gluegen-b896-896/gluegen-2.3-b896-20150925-linux-amd64.7z
and
http://jogamp.org/deployment/autobuilds/master/jogl-b1451-1451/jogl-2.3-b1451-20150927-linux-amd64.7z
These should be the latest builds.

I extracted both and copied the gluegen jars into the jar folder of jogl. After that I ran test_dbg.sh. Nothing more.

I do not understand why he is looking for com/jogamp/newt/newt/data/jogamp-16x16.png. The png can be found in the jar under newt/data/jogamp-16x16.png without the com/jogamp/newt/.

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Xerxes Rånby
Hi Andreas
you are using our buildbot autobuilds,
that is you have downloaded the separate parts used to produce our release candidate.

You can download the latest jogamp release candidate from this location

example how to test the release candidate using linux:

7z x jogamp-all-platforms.7z
cd jogamp-all-platforms
sh etc/test_dbg.sh

Thank you for testing, we need to know if you can reproduce the missing png loader  exception using the latest release candidate.

Cheers
Xerxes

2015-09-29 9:25 GMT+02:00 Andreas [via jogamp] <[hidden email]>:
Hi,

thanks for your help. But I don't know, what I did wrong. Everything I did was downloading
http://jogamp.org/deployment/autobuilds/master/gluegen-b896-896/gluegen-2.3-b896-20150925-linux-amd64.7z
and
http://jogamp.org/deployment/autobuilds/master/jogl-b1451-1451/jogl-2.3-b1451-20150927-linux-amd64.7z
This should be the latest builds.

I extracted both and copied the gluegen jars into the jar folder of jogl. After that I ran test_dbg.sh. Nothing more.

I do not understand why he is looking for com/jogamp/newt/newt/data/jogamp-16x16.png. The png can be found in the jar under newt/data/jogamp-16x16.png without the com/jogamp/newt/.

Andreas


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Java-1-6-0-pre12-with-JOGL-2-3-1-crashes-under-OpenSUSE-13-2-with-Mesa-tp4035401p4035407.html
To start a new topic under java3d, email [hidden email]
To unsubscribe from jogamp, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

I run the test_dbg.sh again (with the correct build ;-)

Here is the logfile:
http://update.elamx.de/test_dbg_gluegen_896-joal_622-jogl_1451-jocl_1094-signed.log

If I'm correct there is still the png error.

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Xerxes Rånby
This post was updated on .
i have filed a bugreport for the issue, i can reproduce the exception seen
on my side as well, however it does find the png at the second attempt to
resolve the png file on both my and your machine
https://jogamp.org/bugzilla/show_bug.cgi?id=1237

it could have found the png quicker at the first try instead of having to
try the second way to resolve it.

apart from this minor issue, according to your log jogl looks to be working
fine on your machine

2015-09-29 9:59 GMT+02:00 Andreas [via jogamp] <
ml-node+s762907n4035409h42@n3.nabble.com>:

> Hi,
>
> I run the test_dbg.sh again (with the correct build ;-)
>
> Here is the logfile:
>
> http://update.elamx.de/test_dbg_gluegen_896-joal_622-jogl_1451-jocl_1094-signed.log
>
> If I'm correct there is still the png error.
>
> Andreas
>
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Xerxes Rånby
In reply to this post by Andreas
Andreas wrote
I'm facing the problem, that my Java3D application crashes sometimes (50% of the runs) during opening the application or better to say the JCanves3D. I don't know, if this is a bug or is it me who's doing something wrong. To me it seems to be a jogl problem, but I don't know.

The error log says:

Stack: [0x00007f52333d4000,0x00007f52334d5000],  sp=0x00007f52334d30b0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libGL.so.1+0x1d480]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jogamp.opengl.x11.glx.GLXExtImpl.dispatch_glXCreateContextAttribsARB0(JJJZLjava/lang/Object;IJ)J+0
j  jogamp.opengl.x11.glx.GLXExtImpl.glXCreateContextAttribsARB(JJJZLjava/nio/IntBuffer;)J+75
j  jogamp.opengl.x11.glx.X11GLXContext.createContextARBImpl(JZIII)J+369
Please try use java3d in combination with the latest jogamp jogl release candidate
http://jogamp.org/deployment/archive/master/gluegen_896-joal_622-jogl_1451-jocl_1094-signed/archive/jogamp-all-platforms.7z
and check if you still can reproduce this issue. Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Yes, it seems it not a JOGL problem.

I have to use the JCanvas inside a TopComponent in a Netbeans RPC (tabbedPane). If I'm opening a second Tab/TopComponent with a JCanvas the application crashes with the given error.

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Xerxes Rånby
Andreas wrote
Yes, it seems it not a JOGL problem.

I have to use the JCanvas inside a TopComponent in a Netbeans RPC (tabbedPane). If I'm opening a second Tab/TopComponent with a JCanvas the application crashes with the given error.

Andreas
We are interested in this usecase that cause the crash. Having a workaround is nice however it is better to understand why it crashed in the first place.
It would be nice if you could update one of the jogamp jogl JCanvas junit tests to demonstrate the crash.
By doing so we can make sure that it get fixed for good.

Publishing a Short, Self Contained, Correct (Compilable), Example that  produce an crash in combination with Java3D also help.
http://sscce.org/

Cheers
Xerxes
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

the simplest Netbeans Platform Example, I was able to produce, can be found here:
http://update.elamx.de/Java3DTest.zip

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

here is a Swing JTabbedPane example. When switching between the Tabs it crashes.

Andreas

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package java3dapplication;

import com.sun.j3d.exp.swing.JCanvas3D;
import com.sun.j3d.utils.geometry.ColorCube;
import com.sun.j3d.utils.universe.SimpleUniverse;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import javax.media.j3d.BranchGroup;
import javax.media.j3d.TransformGroup;
import javax.media.j3d.View;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;

/**
 *
 * @author hauffe
 */
public class Java3DApplication extends JPanel {

    public Java3DApplication() {
        super(new GridLayout(1, 1));

        JTabbedPane tabbedPane = new JTabbedPane();

        tabbedPane.addTab("Tab 1", null, new View3D(1), "Does nothing");
        tabbedPane.addTab("Tab 2", null, new View3D(2), "Does nothing");
        tabbedPane.addTab("Tab 3", null, new View3D(3), "Does nothing");
        tabbedPane.addTab("Tab 4", null, new View3D(4), "Does nothing");

        //Add the tabbed pane to this panel.
        add(tabbedPane);

        //The following line enables to use scrolling tabs.
        tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
    }

    /**
     * Create the GUI and show it. For thread safety, this method should be
     * invoked from the event dispatch thread.
     */
    private static void createAndShowGUI() {
        //Create and set up the window.
        JFrame frame = new JFrame("Java3DApplication");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        //Add content to the window.
        frame.add(new Java3DApplication(), BorderLayout.CENTER);

        //Display the window.
        frame.setSize(640,480);
        frame.setVisible(true);
    }

    public static void main(String[] args) {
        //Schedule a job for the event dispatch thread:
        //creating and showing this application's GUI.
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                //Turn off metal's use of bold fonts
                UIManager.put("swing.boldMetal", Boolean.FALSE);
                createAndShowGUI();
            }
        });
    }

    private class View3D extends JPanel {

        private final JCanvas3D jCanvas;
        private final int num;

        public View3D(int num) {
            this.num = num;
            this.setLayout(new BorderLayout());
            jCanvas = new JCanvas3D();
            jCanvas.setResizeMode(JCanvas3D.RESIZE_IMMEDIATELY);
            jCanvas.setSize(new Dimension(100, 100));
            jCanvas.setMinimumSize(new Dimension(100, 100));
            add(jCanvas, BorderLayout.CENTER);
            createCanvas();
            add(jCanvas, BorderLayout.CENTER);

        }

        private void createCanvas() {
            SimpleUniverse simpleUniverse = new SimpleUniverse(jCanvas.getOffscreenCanvas3D());
            simpleUniverse.getViewingPlatform().setNominalViewingTransform();
            simpleUniverse.getViewer().getView().setSceneAntialiasingEnable(true);
            simpleUniverse.getViewer().getView().setFrontClipPolicy(View.VIRTUAL_EYE);
            simpleUniverse.getViewer().getView().setFrontClipDistance(-100.0);
            simpleUniverse.getViewer().getView().setProjectionPolicy(View.PARALLEL_PROJECTION);
            simpleUniverse.getViewer().getView().setDepthBufferFreezeTransparent(false);

            BranchGroup rootBranchGroup = new BranchGroup();
            TransformGroup rootTransformGroup = new TransformGroup();
            rootBranchGroup.addChild(rootTransformGroup);
            rootTransformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            ColorCube colorCube = new ColorCube();
            rootTransformGroup.addChild(colorCube);

            rootBranchGroup.compile();

            simpleUniverse.addBranchGraph(rootBranchGroup);
        }
    }
}
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Sven Gothel
Administrator
On 09/30/2015 02:36 PM, Andreas [via jogamp] wrote:
> Hi,
>
> here is a Swing JTabbedPane example. When switching between the Tabs it crashes.

Are you willing to make it a unit test(*),
incl. a git patch or pull request
and a bug report?

It would help saving my time a lot.

Thank you.

~Sven

(*) just find one of our Test*AWT unit tests,
copy and make it fit your needs.

The following unit tests may be suitable to check,
since they are working

- TestSharedContextWithJTabbedPaneAWT
- TestBug816JTabbedPanelVisibilityB849B878AWT

>
> Andreas
>


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

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
Hi,

I can try to. Am I right, that I have to follow these instructions?
https://jogamp.org/wiki/index.php/Contributing_a_new_feature_or_fix

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Sven Gothel
Administrator
In reply to this post by Andreas
On 09/30/2015 03:08 PM, Sven Gothel wrote:

> On 09/30/2015 02:36 PM, Andreas [via jogamp] wrote:
>> Hi,
>>
>> here is a Swing JTabbedPane example. When switching between the Tabs it crashes.
>
> Are you willing to make it a unit test(*),
> incl. a git patch or pull request
> and a bug report?
>
> It would help saving my time a lot.
>
> Thank you.
>
> ~Sven
>
> (*) just find one of our Test*AWT unit tests,
> copy and make it fit your needs.
>
> The following unit tests may be suitable to check,
> since they are working
>
> - TestSharedContextWithJTabbedPaneAWT
> - TestBug816JTabbedPanelVisibilityB849B878AWT
>
New: Bug 1245 <https://jogamp.org/bugzilla/show_bug.cgi?id=1245>

Am I right that the Java3D's Canvas3D is similar to our AWT GLCanvas?
I will attempt to put your simple test case into on of ours,
i.e. modified TestBug816JTabbedPanelVisibilityB849B878AWT,
and see whether a crash could be reproduced.

However, we don't have exact same machines setup here.

Debian 8, Mesa 10.3.2
Some Intel, dunno Haswell though ..

Question: Crash can only be reproduced on mentioned
platform, or others as well?
Please make this statement in bug report,
as well as continue this discussion there ..

Thank you!

~Sven


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

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Andreas
I want to ask for an advice. Due to this bug an other shortcomings Julien is pointing to in this forum, I'm thinking about switching from Java3D to another library like JogAmp's Ardor3D Continuation or pure jogl. What I want to do is just visualising and viewing 3D shapes and rotate them with the mouse (for Java3D these are QuadArrays and TriangleArrays with automatic calculated normals or manually calculated normals). This has to work in a multitab/multicomponent environment. You can find examples screen shots at http://www.elamx.de .
Why I was using Java3D up to now? It was quite simple with tons of tutorials and example code. I just had to add the JCanvas3D to my application, put some Shapes3D into a Branchgroup with a Transform for rotation, put everything together and I was done. So I'm really just a user and not able to help with resolving bugs and stuff like that.
I thought the easiest way is switching to jReality. But there seems to be no further development. The actual stable still works and only works with jogl 2.0.0 or something.

What would you do?

Andreas
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Sven Gothel
Administrator
On 10/13/2015 08:30 AM, Andreas [via jogamp] wrote:

> I want to ask for an advice. Due to this bug an other shortcomings Julien is
> pointing to in this forum, I'm thinking about switching from Java3D to another
> library like JogAmp's Ardor3D Continuation or pure jogl. What I want to do is
> just visualising and viewing 3D shapes and rotate them with the mouse (for
> Java3D these are QuadArrays and TriangleArrays with automatic calculated
> normals or manually calculated normals). This has to work in a
> multitab/multicomponent environment. You can find examples screen shots at
> http://www.elamx.de .
> Why I was using Java3D up to now? It was quite simple with tons of tutorials
> and example code. I just had to add the JCanvas3D to my application, put some
> Shapes3D into a Branchgroup with a Transform for rotation, put everything
> together and I was done. So I'm really just a user and not able to help with
> resolving bugs and stuff like that.
> I thought the easiest way is switching to jReality. But there seems to be no
> further development. The actual stable still works and only works with jogl
> 2.0.0 or something.
>
> What would you do?
This is a hard question!

It depends .. of course.
Probably the main criteria is whether your work
shall survive for a few more years, hence you need
your tools to be maintained.
In this case, contact the vendor/maintainer and ask them
about future development / maintenance.
Here, it surely is essential that you don't pick an EOL component,
especially if it is a complex one.

Otherwise you simply can use any tool, ship it and forget it,
i.e. for just a demo covering a scientific paper :)

For a real product, well, it has often been realized
that starting w/ a tool is a good idea.
Later, usually development moved to a custom scenegraph solution
matching requirements and hence sweetens performance.

Yes, tools are always a hard choice!

~Sven

>
> Andreas
>


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

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Xerxes Rånby

On 10/13/2015 08:30 AM, Andreas [via jogamp] wrote:
...
> I thought the easiest way is switching to jReality. But there seems to be no
> further development.
...
>
> What would you do?

the latest development branch of jReality is now hosted at gitlab
This jreality branch currenty use JogAmp JOGL 2.1.2
Making jreality work with JogAmp 2.3.2 is quite easy, all you have to do is to drop in the latest jogamp release into the jreality/lib/jogamp folder and then replace use of javax.media.opengl with com.jogamp.opengl
I can do this port and offer it to the jreality community.

I would check out the source code and try compile it using ant.
If there is some part of the jrelity sourcecode that refuse to compile then I would get in contact with the jreality developers in order to solve it.

Cheers
Xerxes
Reply | Threaded
Open this post in threaded view
|

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

gouessej
Administrator
In reply to this post by Andreas
Hi

runiter has some experience with both Java3D and JogAmp's Ardor3D Continuation, he can probably confirm that the latter is more reliable. JogAmp's Ardor3D Continuation is actively developed and maintained, jReality is fine for scientific visualization but you'll have to ask their maintainers to make a small effort to use a more recent version of JOGL.

I have a lot of experience with GUI toolkits, especially Swing and SWT. I used Eclipse RCP and Netbeans Platform for years too. JogAmp's Ardor3D Continuation supports them all. You can use FlexDock and Swing with JogAmp's Ardor3D Continuation if you need a lightweight docking framework. Jzy3D is worth a look too for 2D and 3D plotting with JOGL.

If you want to build better platform dependent installers, you can use PackR or JNDT.

There is a manipulator helpful to rotate and move some stuff in ardor3d-extras. Lots of efforts are done to support more and more 3D formats in JogAmp's Ardor3D Continuation but it's up to you to decide whether to create your own scenegraph. In my humble opinion, it's a tedious process, it's the thing to do if you really know what you're doing and if you don't have extremely high expectations but you end up by quickly reinventing the wheel.

Moreover, I'd like to ask Renanse to give the legacy Ardor3D IRC channel to JogAmp's Ardor3D Continuation, I'd like to improve the communication so that the developers can quickly solve their problems. Sometimes, somebody asks me a question and it avoids her/him to spend hours in finding a solution.

If I were you, I would make a small footprint by using a small example of JogAmp's Ardor3D Continuation in order to determine whether it fits into your needs. I can tell you which examples you should use as a starting point if you want. You can have a look at the source code of Energy3D too :)

Edit.: Xerxes, I can do this port too. It depends on the original poster's need.
Julien Gouesse | Personal blog | Website
12