Bug 713

Summary: libEGL Warning: Could not open egl_softpipe.so
Product: [JogAmp] Jogl Reporter: schultzjarvis
Component: openglAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: 2   
Hardware: pc_all   
OS: linux   
Type: --- SCM Refs:
jogl 5e3563d7dab16384bcc381e24b741fa651f2f3cd
Workaround: ---
Attachments: Error log created when jogl opengles support is enabled.
Error log created when jogl opengles support is disabled.

Description schultzjarvis 2013-04-03 19:01:15 CEST
Created attachment 450 [details]
Error log created when jogl opengles support is enabled.

I have an application where I keep getting this error.  According to this forum post: http://forum.jogamp.org/jogl-demos-fail-Failed-to-created-initialize-EGL-display-td4028878.html  This exception should be caught, and the program should continue to execute.  However it does not.

Passing the -Djogl.disable.opengles arg to the jvm fixes the issue.

I created log files with "-Djogl.debug=all -Dnativewindow.debug=all" passed to the jvm with opengles enabled and disabled.
Comment 1 schultzjarvis 2013-04-03 19:01:56 CEST
Created attachment 451 [details]
Error log created when jogl opengles support is disabled.
Comment 2 Sven Gothel 2013-04-05 02:24:26 CEST
    Bug 713: Handle broken EGL setup - Catch all Exception types, not only JogampRuntimeException at *DrawableFactory* instantiation trial
    
    In case EGL is not completly installed, EGLDisplayUtil.eglGetDisplayAndInitialize(..)
    will throw a GLExeception which was not catched in GLDrawableFactory.
    
    The latter only catched JogampRuntimeException caused by ReflectionUtil due to n/a classes,
    but the actual initialization code is capable to throw others.