Closed KonstaT closed 3 years ago
I'll look into it tomorrow.
Yes, I can keep up. It's at f3cb18c so it's there.
Thanks for all your help so far. Made some real progress today. :)
I just recalled that rpis codecs has special tiling modifiers. So I'm not sure it can produce linear buffers.
Ok, is that something that can be sorted or only linear buffers will work?
BTW, just tested this with 5.4 kernel and it doesn't work so it's 5.10 only.
Ok, is that something that can be sorted or only linear buffers will work?
I'll look into it after I finish with the camera.
BTW, I've got picture today using CSI camera + ISP using libcamera. It still has artifacts and stream starts not every time.
Thanks, this is certainly an area where we need your expertise on.
Great progress with libcamera as well. :)
@rsglobal Hi Roman. Great job on the GloDroid v0.7.0 release!
I wanted to report a regression on Mesa related to switching to the Meson build system. Not sure if you want this here or Mesa issue tracker.
I can reproduce this on GloDroid v0.7.0 and my LineageOS builds as well. Launching any(?) system/hardware information application will shortly crash with following log:
This can be reproduced with AIDA64 (https://www.apkmirror.com/apk/finalwire-ltd/aida64/) and Droid Hardware Info (https://www.apkmirror.com/apk/inkwired/droid-hardware-info/) at least.
I've found that this is clearly something related to the Mesa Meson build. This issue is not present on Mesa 21.1 that still uses Android.mk to build. I've ported the Meson build patches to Mesa 21.1 and I can reproduce this with Mesa 21.1 as well after building it with Meson. Also happens with both gbm and minigbm grallocs. Any idea what could be the problem?
And another somewhat related question. Have you looked into building the Broadcom Vulkan Mesa driver? Would it be only a matter of building it as Android HAL as on other platforms (e.g. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/amd/vulkan/radv_android.c, https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/freedreno/vulkan/tu_android.c) or would this require something on gralloc/hwcomposer as well? All the Vulkan test apps I've found also crash this same way. android-rpi has Vulkan implemented and it's just a wrapper that opens the Mesa Vulkan lib as Android HAL (https://github.com/android-rpi/hardware_arpi/tree/arpi-12/graphics/vulkan).