[Mesa-dev] Pending issues of lollipop-x86

Marek Olšák maraeo at gmail.com
Fri Sep 25 14:03:56 PDT 2015


Guys, can you please try these patches? They should fix it for gallium
drivers (not i965).

Marek

On Fri, Sep 25, 2015 at 10:35 PM, Marek Olšák <maraeo at gmail.com> wrote:
> On Fri, Sep 25, 2015 at 5:43 PM, Chih-Wei Huang <cwhuang at android-x86.org> 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?
>
> Yes, we should fix this. A context isn't required here.
>
> Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-st-dri-don-t-use-_ctx-in-client_wait_sync.patch
Type: text/x-patch
Size: 1545 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150925/ac6d2ff4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-egl-dri2-don-t-require-a-context-for-ClientWaitSync.patch
Type: text/x-patch
Size: 1107 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150925/ac6d2ff4/attachment-0003.bin>


More information about the mesa-dev mailing list