Add ump, mali modules to use the mali blob and its acceleration in opengles

Started by fhersete, April 18, 2022, 09:00:32 PM

Previous topic - Next topic

fhersete

In the latest images of ubuntu focal or debian with kernel 5.10.105 they have support that is very good, but I have observed that the distribution does not have opengles acceleration, it comes with lima drivers and you cannot use opengles acceleration in sdl or various programs.

On selfbg's github, it says that you can build mali modules and integrate them into the kernel, but of course, in the last image I've seen that after doing a modprobe and listing the modules with lsmod, they aren't included.

In the github is the r9p0, which is the most recent, and the device trees of the latest kernel are available here:

https://github.com/selfbg/sunxi-mali

https://linux-sunxi.org/Mali_binary_driver

https://elixir.bootlin.com/linux/v5.10.105/source/arch/arm/boot/dts/sun4i-a10.dtsi

I have tried to compile the modules, but it has been impossible for me, something was missing to configure.

Would it be possible to include the mali blob and have a distribution that works correctly in opengles?

Thanks.

LubOlimex

QuoteWould it be possible to include the mali blob and have a distribution that works correctly in opengles?

As far as I know from the Linux developers - no. Hence, why I've written on a lot of places in the Olimage guide that Olimage images come without hardware video acceleration:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

But if you manage to do it I will make sure they look at your work.
Technical support and documentation manager at Olimex

fhersete

I'm going to work on it, it has to work, yes or yes.

If I succeed, I'll post it on the forum.

LubOlimex

This would be really great if you can manage to pull it off. Looking forward! Still if you wonder how we build the images look at the end of the Olimage user guide document, and check our GitHub!
Technical support and documentation manager at Olimex