On 25 September 2015 at 17:24, Rob Clark <robdcl...@gmail.com> wrote: > On Fri, Sep 25, 2015 at 11:43 AM, Chih-Wei Huang > <cwhu...@android-x86.org> wrote: >> CC to mesa-dev for help. >> >> 2015-09-25 22:12 GMT+08:00 Chih-Wei Huang <cwhu...@android-x86.org>: >>> 2015-09-25 16:21 GMT+08:00 Chih-Wei Huang <cwhu...@android-x86.org>: >>>> Actually I'm testing your mesa 11.0 branch >>>> to see if it is acceptable. >>>> The major issue I found is the >>>> Camera and Youtube crashing in mesa. >>> >>> OK, I can almost confirm this is a known issue >>> I reported to mesa devs before. >>> It is caused by this commit: >>> >>> commit c636284ee8ee95bb3f3ad31aaf26a9512ec5006c >>> Author: Chad Versace <chad.vers...@intel.com> >>> Date: Tue May 5 19:05:32 2015 -0700 >>> >>> i965/sync: Implement DRI2_Fence extension >>> >>> By reverting it the crashing is gone. >>> >>> However, I still hope we can find >>> a correct fix. >> >> After some debugging, it crashed in >> dri2_client_wait_sync() of >> ...src/egl/drivers/dri2/egl_dri2.c >> The ctx returned by _eglGetCurrentContext() >> is NULL. >> >> static EGLint >> dri2_client_wait_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync, >> EGLint flags, EGLTime timeout) >> { >> _EGLContext *ctx = _eglGetCurrentContext(); >> >> ==> ctx is NULL >> >> if (dri2_dpy->fence->client_wait_sync(dri2_ctx->dri_context, <== OOPS! >> dri2_sync->fence, wait_flags, >> timeout)) >> >> >> Why does _eglGetCurrentContext() return NULL? >> Any recommended fix? > > no idea offhand about fix, but I wonder if this is related to why > 'about tablet' screen shows NULL for gl vendor/etc with lollipop? > Imho it sounds like the issue - missing eglMakeCurrent. I've recently made the same mistake in xserver/glamor :'( Tracking down the buggy application/framework might be 'interesting'.
-Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev