Bug 713 - libEGL Warning: Could not open egl_softpipe.so
Summary: libEGL Warning: Could not open egl_softpipe.so
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: pc_all linux
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-04-03 19:01 CEST by schultzjarvis
Modified: 2013-04-05 02:24 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
jogl 5e3563d7dab16384bcc381e24b741fa651f2f3cd
Workaround: ---


Attachments
Error log created when jogl opengles support is enabled. (33.12 KB, text/x-log)
2013-04-03 19:01 CEST, schultzjarvis
Details
Error log created when jogl opengles support is disabled. (183.92 KB, text/plain)
2013-04-03 19:01 CEST, schultzjarvis
Details

Note You need to log in before you can comment on or make changes to this bug.
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.