To obtain the hardware acceleration OpenGLES fbdev on the S912 platform, do the following:
- Download the firmware of Armbian 5.44 Ubuntu Mate with the kernel 3.14, created by balbes150.
- Burn the loaded image on the SD-card and and run Ubuntu Mate from the SD card.
- Download the archive with the kernel 3.14 packages with the Mali driver and the archive with Mali samples and libhybris package. Install all deb packages with the 3.14 kernel from the archive. To do this, go to the unzipped folder aml-s9xx-kernel-3.14.29-with-mali-r16p0-debs, run the command: sudo dpkg -i *.deb.
- Unzip the mali-hybris-s912-packages.tgz. Copy the folder etc to the root of ROOTFS partition to set permissions for the mali and ion devices, and also for configuring ld for libhybris.
- Unzip the system.tgz and copy the contents to the root of ROOTFS partition (sudo tar xzvf system.tgz -C / )
- Unzip Mali-OpenGL-ES-Samples-Linux-Arm-Bin.tgz in the home directory.
- Reboot system.
- After reboot the system, add the armhf architecture for the system:
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libc6:armhf libstdc++6:armhf
- Install libhybris-arm_0.1-1-opt_arm64.deb package and configure ld: sudo ldconfig.
- Everything is ready for the test, run: /opt/libhybris/bin/test_glesv2. A picture should appear, as shown in the first screenshot.
- To run Mali OpenGLES Samples, go to the Mali-OpenGL-ES-Samples-Linux-Arm-Bin folder and start the executable files.
- Freeze the kernel update with the armbian-config.