How to debug "Unable to create ES OpenGL context" error?
Posted by gohai on Jun 14, 2015; 6:24pm
URL: https://forum.jogamp.org/How-to-debug-Unable-to-create-ES-OpenGL-context-error-tp4034696.html
Hello all,
Any ideas how to proceed from here? Is the problems the capabilities not matching? (requested: dp/st/ms 24/8/2, sample-ext default; chosen: dp/st/ms 0/0/0) Or an error with the underlying driver? Curious: error 0x3000 is EGL_SUCCESS?
java.lang.RuntimeException: com.jogamp.opengl.GLException: main-Display-jogamp.newt.driver.x11_:0.0-1-EDT-1: Unable to create ES OpenGL context on eglDevice EGLGraphicsDevice[type .egl, v1.4.0, connection :0.0, unitID 0, handle 0x3bf1ac8, owner true, ResourceToolkitLock[obj 0xbc3f3a, isOwner true, <ba2d15, 47119>[count 1, qsz 0, owner ]]], eglConfig <EGLGraphicsConfiguration[DefaultGraphicsScreen[EGLGraphicsDevice[type .egl, v1.4.0, connection :0.0, unitID 0, handle 0x3bf1ac8, owner true, ResourceToolkitLock[obj 0xbc3f3a, isOwner true, <ba2d15, 47119>[count 1, qsz 0, owner ]]], idx 0],
eglConfigHandle 0x3bbe880, eglConfigID 0x2,
requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/2, sample-ext default, dbl, mono , hw, GLProfile[GLES2/GLES2.hw], on-scr[.]],
chosen GLCaps[egl cfg 0x2, vid 0x21: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, dbl, mono , hw, GLProfile[GLES2/GLES2.hw], on-scr[.], [0xd: GL, GLES1, GLES2, VG]]], GLProfile[GLES2/GLES2.hw], shareWith 0x0, error 0x3000
(I am testing with the various .debug properties set to "all" next. Will update thread tomorrow.)
Thanks,
Gottfried