Allwinner H6 Mali T720 driver
Edited by orange3.14 at 2018-4-17 11:03Is there a way to get Mali T720 working in Linux?
My goal is to use OpenCL and ARM Compute Library.I don't think Mali 450 hardware can support OpenCL even with its better driver support.
current setup
Orange Pi Lite2
Allwinner H6 Mali T720 driver
Ubuntu + Xfce (Orange Pi version)
aivaras replied at 2019-4-5 00:54
i havent seen working gpu aceleration in linux(could be that i wasnt searching to much), only andr ...
same here, the opi3 is a very good android mediaplayer you are getting the same specs of a ziddo h6 pro , i even stole their firmware to fix google play , but under linux is only good if you plan to make it a server unless the Panfrost effort makes a working driver , i doubt it but who knows i would be very happy to be wrong
Mali-400 and 450 do not support OpenCL. And the driver is not installed in the Ubuntu images provided by OrangePi. If we want to install drivers we must do it by ourself. Mali-T720 of the H6 cpu supports OpenCL instead. But, and here is my problem, if you do not install the kernel drivers extensions you will not play OpenCL. At this moment I am searching the way to install them, because the kernel must be recompiled, it is hard to find the right way. The company should provide the kernel with these drivers!!!! There are some scripts provided to create a cross compiling environment for the kernel: https://github.com/orangepi-xunlong/OrangePi_Build i've tried to compile the kernel, but there are many bugs in the script, no sucess :( I have a guide to install the BSP kernel but its version 3.10.65. Mali t720 is selected in graphics driver options but I do not think it does anything.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=3619&extra= I found the Mali drivers from Arm at https://developer.arm.com/products/software/mali-drivers/midgard-kernel I downloaded the latest linux kernel driver but cannot work out how to install it for the BSP kernel, if it is even possible. add some hot to this topic. Looking forward to play 0AD on orange pi 3 (if possible) rollmeister replied at 2018-10-19 23:11
I found the Mali drivers from Arm at https://developer.arm.com/products/software/mali-drivers/midgar ...
I haven't tried this yet. But it may work to copy this right over the kernel tree in OrangePiH6_Linux4_9/Linux4_9.
Then reconfigure the kernel and rebuild the kernel and the release image.
The tar ball has some directories to strip off like this:
TX011-SW-99002-r28p0-01rel0/driver/product/kernel
So recursive copy everything below that directory into your kernel tree.
Looked at the tar ball and I was wrong in my previous post.It looks like you build the kernel driver out-of-tree and it uses Scons as the build tool. I have not tried to build it yet but may spend a few minutes on it and see where it gets me. Seems that the driver from ARM requires the DDK to build (I think???).But the DDK requires a commercial license (I think???).
But forget all that, we need to support this effort:
https://linux-sunxi.org/Mali#Midgard_.28Mali_T6xx.2C_T7xx.2C_T8xx.29_and_Bifrost_.28G7x.29