Posted by
Xerxes Rånby on
Jan 12, 2016; 11:23am
URL: https://forum.jogamp.org/Got-exception-com-jogamp-opengl-GLException-No-lookup-for-esProfile-GLES2-tp4035936p4035992.html
george2008 wrote
share01.zipjogl_exception.txthi,
share01.zip : a simple sample.
jogl_exception.txt : full log
You can import share01.zip with eclipse,
Run this sample with args: -Djogl.debug=all
Got exception on both windows7 and fedora20.
The exception you see is only visible because you run with the jogl.debug=all args!
For example on the linux system you used to generate the jogl_exception.txt log you can see that jogl have managed to initialize GL2 !
however JOGL have also detected that GLES2 is not supported by your OpenGL driver installation.
... from inside your jogl_exception.txt you can what got detected:
-----------------------------------------------------------------------------------------------------
X11GraphicsDevice[type .x11, connection :10.0]:
Natives
GL4bc false
GL4 false
GLES3 false
GL3bc false
GL3 false
GL2 true [2.1 (Compat profile, arb, compat[ES2], FBO, software)]
GLES2 false
GLES1 false
Count 1 / 8
Common
GL4ES3 false
GL2GL3 true
GL2ES2 true
GL2ES1 true
Mappings
GL2ES1 GLProfile[GL2ES1/GL2.sw]
GL2ES2 GLProfile[GL2ES2/GL2.sw]
GL2 GLProfile[GL2/GL2.sw]
GL2GL3 GLProfile[GL2GL3/GL2.sw]
default GLProfile[GL2/GL2.sw]
Count 4 / 12
Swap Interval -1
GL Profile GLProfile[GL2/GL2.sw]
GL Version 2.1 (Compat profile, arb, compat[ES2], FBO, software) - 2.1 Mesa 10.3.3 [GL 2.1.0, vendor 10.3.3 (Mesa 10.3.3)]
Quirks [NoSetSwapIntervalPostRetarget, NoSurfacelessCtx]
Impl. class jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR VMware, Inc.
GL_RENDERER Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
GL_VERSION 2.1 Mesa 10.3.3
GLSL true, has-compiler-func: true, version: 1.30 / 1.30.0
GL FBO: basic true, full true
GL_EXTENSIONS 187
GLX_EXTENSIONS 29
-----------------------------------------------------------------------------------------------------
GLCaps[glx vid ----, fbc 0x8a: rgba 5/6/5/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono , sw, GLProfile[GL2/GL2.sw], offscr[pbuffer, bitmap]]
...
The log file above looks OK to me!