[Mesa-dev] Pending issues of lollipop-x86
Chad Versace
chad.versace at intel.com
Mon Sep 28 13:19:22 PDT 2015
On Fri 25 Sep 2015, Chih-Wei Huang wrote:
> CC to mesa-dev for help.
>
> 2015-09-25 22:12 GMT+08:00 Chih-Wei Huang <cwhuang at android-x86.org>:
> > 2015-09-25 16:21 GMT+08:00 Chih-Wei Huang <cwhuang at 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.versace at 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?
I don't know. Can provide a crashing test case for non-Android Linux? If
so, then I'll look into debugging it.
More information about the mesa-dev
mailing list