[Mesa-dev] egl/android: fence_fd being forced to -1

Marathe, Yogesh yogesh.marathe at intel.com
Thu Jun 15 14:07:54 UTC 2017


> -----Original Message-----
> From: Emil Velikov [mailto:emil.l.velikov at gmail.com]
> Sent: Thursday, June 15, 2017 7:24 PM
> To: Marathe, Yogesh <yogesh.marathe at intel.com>
> Cc: mesa-dev at lists.freedesktop.org
> Subject: Re: [Mesa-dev] egl/android: fence_fd being forced to -1
> 
> On 15 June 2017 at 14:27, Marathe, Yogesh <yogesh.marathe at intel.com>
> wrote:
> > Hello,
> >
> > I'm tyring to run flatland native app on android. It apparantly fails because of a
> fence issue.
> > while debuging further it is observed that
> > droid_window_enqueue_buffer() is forcing fence_fd =-1. Whats the
> expectation here if app wants to use fence sync?
> >
> > If we want to have this native app working with the lib where exactly
> > fence should be created / populated, it should be with buffer producer, right?
> >
> > BTW, We can't/ don't want to change the flatland app!
> >
> If the app is doing something illegal, I doubt people will be extra happy in
> pushing workarounds in Mesa.
> 
> But above all - please check that your Mesa version has commit
> 6f21b5601cc1260eac53f65c8941b3aa66d0f5e9.

Yes I do have this patch already.

> Additionally you may want to try this extra patch [1] although I'm not 100% sure
> how much these will help.
> 
> IIRC we had a handful of other Android patches you might also want to
> skim/test [2]

Thanks for these pointers Emil, I will look at these patches.

> 
> -Emil
> 
> [1] https://patchwork.freedesktop.org/patch/154705/
> [2]
> https://patchwork.freedesktop.org/project/mesa/patches/?submitter=&state=
> &q=android&archive=&delegate=
> It's kind of a long list, but I'll cleanup most of them shortly.


More information about the mesa-dev mailing list