<div dir="ltr">Hi Stefan,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 25 June 2018 at 18:09, Stefan Schake <span dir="ltr"><<a href="mailto:stschake@gmail.com" target="_blank">stschake@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Chris,<br>
<div><div class="h5"><br>
On Fri, Jun 22, 2018 at 12:09 PM, chris simmonds <<a href="mailto:smoog11@googlemail.com">smoog11@googlemail.com</a>> wrote:<br>
> Hi.<br>
><br>
> I would like to try out drm_hwcomposer on a RPi 3. Can anyone point me to a<br>
> howto or something that tells me how?<br>
><br>
> FYI, this is part of a side project to port drm_hwcomposer to BeagleBones<br>
> and other things based on TI SoCs<br>
><br>
> Thanks,<br>
> Chris Simmonds<br>
<br>
</div></div>So Mesa is really only transitively related to drm_hwc, in that you need<br>
a graphics driver with Android native fence support. For Mesa and the VC4<br>
GPU on the RPi specifically, that's supported in a very recent Mesa version<br>
in combination with a very recent kernel that has the VC4 syncobj support.<br>
The earliest kernel version that has this is 4.18-rc1, but it can be<br>
backported relatively painlessly to 4.14, which is what the android-kernel<br>
tree uses and works on Oreo upwards. No released Mesa version has the<br>
support yet, but master can be made to work with AOSP.<br>
<br>
As you can tell, there is no howto or anything - this is all pretty<br>
bleeding edge and you'll need to do some indepth sleuthing to get it<br>
to work. If you hit any specific problems, the best point to get help<br>
is the drm-hwcomposer project on the freedesktop gitlab:<br>
<br>
<a href="https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer" rel="noreferrer" target="_blank">https://gitlab.freedesktop.<wbr>org/drm-hwcomposer/drm-<wbr>hwcomposer</a><br>
<br>
Thanks,<br>
Stefan<br></blockquote><div><br></div><div>Thank you for clarifying things. It looks like there is a bit of work to do here, but there's the whole summer ahead.</div><div><br></div><div>Cheers,</div><div>Chris<br></div></div><br></div></div></div>