java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG
ofZach opened this issue · 3 comments
ofZach commented
I'm seeing this issue / crash on some devices:
java.lang.RuntimeException
in android.opengl.GLSurfaceView$EglHelper.throwEglException
Zenfone2 (Z00A)
ZenFone 5 (ASUS_T00J)
Galaxy S4 (ja3g)
Galaxy Tab2 7.0 (espressorf)
HTC One M9+ (htc_hiau_ml_tuhl)
Galaxy Tab3 10.1 (santos10lte)
Galaxy Note4 (trltechn)
java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1228)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1219)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1069)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1442)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1281)
ofZach commented
screenshot from the play store
potentially relevant:
https://code.google.com/p/webrtc/issues/detail?id=1875
http://stackoverflow.com/questions/26504742/open-gl-bad-config-error-on-samsung-s4
to do:
- try OF 0.9 and test on a device that this happens (a few people have emailed me about crashes and offered to test apks)
- get a device that this crash happens on and look at the gl allocation on 0.8.4
ofZach commented
this is the commit to look at, apparently newer phones don't want this color mode (and just want 8,8,8):
danoli3 commented
Got this down to just Redmi Phones across multiple OS. Not sure why, maybe stencil still debugging