Login  Register

Re: Java 3D crash or flickering

Posted by imagejan on Jun 03, 2016; 10:37am
URL: https://forum.jogamp.org/Java-3D-crash-or-flickering-tp4035074p4036786.html

philjord wrote
You'll find a test.bat file in the folder jogamp-all-platforms/etc

Please move this file up one to the root folder (jogamp-all-platforms)  
Then double click on it
It will produce a file called test.log next to itself, please reply and attach that file.
I followed your instructions and run said test.bat file both on a system affected by https://github.com/fiji/3D_Viewer/issues/17 and on an unaffected system.

The relevant sections at the end of both files are pasted below.

philjord wrote
If Jogl actually sets Chosen to GL4bc (like in my example) then the issue is slightly different from what I am picturing.
This appears to be the case.
Hope this helps to identify the bug.

Best,
Jan


************************
Affected system:
************************

-----------------------------------------------------------------------------------------------------
WindowsGraphicsDevice[type .windows, connection decon]:
        Natives
                GL4bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL4 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GLES3 false
                GL3bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL3 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL2 true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 5 / 8
        Common
                GL4ES3 true
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL3bc GLProfile[GL3bc/GL4bc.hw]
                GL2ES1 GLProfile[GL2ES1/GL4bc.hw]
                GL4ES3 GLProfile[GL4ES3/GL4.hw]
                GL2ES2 GLProfile[GL2ES2/GL4.hw]
                GL4bc GLProfile[GL4bc/GL4bc.hw]
                GL2 GLProfile[GL2/GL4bc.hw]
                GL4 GLProfile[GL4/GL4.hw]
                GL3 GLProfile[GL3/GL4.hw]
                GL2GL3 GLProfile[GL2GL3/GL4bc.hw]
                default GLProfile[GL4bc/GL4bc.hw]
                Count 9 / 12

Swap Interval  1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware) - 4.5.13417 Compatibility Profile Context 15.301.1201.0 [GL 4.5.0, vendor 15.301.1201 (Compatibility Profile Context 15.301.1201.0)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      ATI Technologies Inc.
GL_RENDERER    AMD Radeon R9 200 / HD 7900 Series
GL_VERSION     4.5.13417 Compatibility Profile Context 15.301.1201.0
GLSL           true, has-compiler-func: true, version: 4.40 / 4.40.0
GL FBO: basic true, full true
GL_EXTENSIONS  283
GLX_EXTENSIONS 24
-----------------------------------------------------------------------------------------------------
Requested: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
Chosen   : GLCaps[wgl vid 8 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
GL impl. class jogamp.opengl.gl4.GL4bcImpl
GL4ES3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl
GL3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl



************************
Unaffected system:
************************

-----------------------------------------------------------------------------------------------------
WindowsGraphicsDevice[type .windows, connection decon]:
        Natives
                GL4bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL4 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GLES3 false
                GL3bc true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL3 true [4.5 (Core profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GL2 true [4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 5 / 8
        Common
                GL4ES3 true
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL3bc GLProfile[GL3bc/GL4bc.hw]
                GL2ES1 GLProfile[GL2ES1/GL4bc.hw]
                GL4ES3 GLProfile[GL4ES3/GL4.hw]
                GL2ES2 GLProfile[GL2ES2/GL4.hw]
                GL4bc GLProfile[GL4bc/GL4bc.hw]
                GL2 GLProfile[GL2/GL4bc.hw]
                GL4 GLProfile[GL4/GL4.hw]
                GL3 GLProfile[GL3/GL4.hw]
                GL2GL3 GLProfile[GL2GL3/GL4bc.hw]
                default GLProfile[GL4bc/GL4bc.hw]
                Count 9 / 12

Swap Interval  1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.5 (Compat profile, arb, compat[ES2, ES3, ES31], FBO, hardware) - 4.5.0 NVIDIA 347.62 [GL 4.5.0, vendor 347.62.0 (NVIDIA 347.62)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      NVIDIA Corporation
GL_RENDERER    Quadro 4000/PCIe/SSE2
GL_VERSION     4.5.0 NVIDIA 347.62
GLSL           true, has-compiler-func: true, version: 4.50 NVIDIA / 4.50.0
GL FBO: basic true, full true
GL_EXTENSIONS  313
GLX_EXTENSIONS 31
-----------------------------------------------------------------------------------------------------
Requested: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
Chosen   : GLCaps[wgl vid 7 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
GL impl. class jogamp.opengl.gl4.GL4bcImpl
GL4ES3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl
GL3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl