I need some help to fully understand the buffers design
Eleni Maria Stea
elenimaria.stea at canonical.com
Fri Apr 5 23:41:40 UTC 2013
On 04/05/2013 11:35 AM, Christopher James Halse Rogers wrote:
> Hey Eleni!
> I can't off the top of my head think of a reason why gbm wouldn't work
> under X. You *would* need to manually authenticate your drm fd with
> DRI2Authenticate, because nothing is going to do it for you. That's
> probably why you were finding that you couldn't create the gbm device.
I experimented a bit more with the gbm under X11 issue, today and it
turns out that it might be possible after all to use gbm buffers under
X11 given sufficient user privileges... I want to determine which exact
privileges are required (hopefully only device file permissions!:p) and
try again! I will also use the DRI2Authenticate. when I come back (i am
on holidays now). It seems that Kevin's right :)
> As I mentioned on IRC, I think this is the perfect time to divorce
> buffer allocation and display, as they're really separate concerns.
> We'll want to do this anyway to support Mir-on-Mir without having to
> do Android-Mir-on-Android-Mir and GBM-Mir-on-GBM-Mir. Then you
> wouldn't have to handle the buffer allocation/passing stuff, just the
I totally agree with this!
Thank's a lot and have a nice weekend!
More information about the Mir-devel