avafinger / bananapi-zero-ubuntu-base-minimal

BananaPi M2 Zero - Ubuntu Focal Base Minimal Image (Experimental) - U-Boot 2017.09 / Kernel 4.18.y / Kernel 4.19.y / Kernel 4.20.y / Kernel 5.3.y / Kernel 5.6.y / Kernel 5.7.y / Kernel 5.11.y
88 stars 17 forks source link

Mali open source driver #40

Open paju1986 opened 4 years ago

paju1986 commented 4 years ago

how do I enable the Mali open source kernel driver for 3d acceleration?

avafinger commented 4 years ago

lima is the mali open source. Choose the kernel with lima enabled and use Wayland Desktop such as gnome.

Start with this Image: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.4

And update the kernel with this: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v3.3

Then install your Gnome (with Wayland), but bear in mind you have 512MB of DRAM, maybe you should adjust CMA=128 (or less) in the boot command. if i remember correctly i had CMA=256 during kernel build. CMA is used by cedrus to do HW decoding.