I'm establishing a startup company and decided to use ARM devices as thin clients for my company's VDI solution. I have recently bought an RK3288-based device which uses a MALI-764 GPU. The device has Ubuntu 14.04 installed, but it is missing the 3D Hardware Acceleration functionality due to missing MALI 764 drivers.
However, I found the drivers available on Developer.
My question is: How can I compile these drivers to gain full 3D hardware acceleration on my linux-based device?
Just saw it published! Great! Thanks ARM!
That's right, the new Mali-T76x drivers built for GNU/Linux ARMv7 fbdev only (no windowing system at the moment) are now available as well as several other r5p0 drivers on the public download page.
In order to use this, you will also need to build the kernel-side driver and replace the kernel in your build. This can be achieved by following the Firefly wiki page I mentioned earlier and starting with this Linux repository (master branch):
T-Firefly / Firefly-RK3288-kernel / Commits — Bitbucket
It has an early r4p1 kernel-side Mali GPU driver, which is not compatible with the new r5p0 user-side driver. So you need to upgrade the kernel-side Mali driver with the source code archive from this page.
You'll need to remove the main drivers files under drivers/gpu/arm/, but not drivers/gpu/arm/midgard/platform/rk which contains the RK3288 platform support files, and replace them with the files from the archive. Some relatively small changes may be needed in the RK3288 platform files to make it work with the new r5p0 driver; sorry we haven't got a patch for that at the moment.
Thank YouJasbir already made some impressive progress:
Tiny Devices: RK3288 - Firefly development board
Instanced Tesselation GLES 3.0 demo on Firefly (RK3288) board (Mali fbdev drivers) - YouTube
also other developers make some progress with Mali and the RK3288 SOC in general:
Heiko Stübner - Google+
Unfortunately this is all for 3.14 kernel or mainline kernel.
The Firefly board runs 3.10 Linux kernel.
I tried to compile with the new Mali T76x drivers but getting errors compiling GPU.
Hope someone or Rockchip can create the necessary patches to make it work.
Any update on X11 Mali T76x drivers for Firefly development board?
We've postponed the X11 release as we've been testing our drivers on Firefly with the 3.10 kernel which doesn't support DRM, and this is preventing us from using the "armsoc" X11 back-end for our X11 driver. As the new r5p1 drivers have just been announced, the plan is now to release new r5p1 Mali-T76x GNU/Linux binary drivers for fbdev and X11 if we have a system that supports it. In principle it should be easy to use X11 on the 3.14 Chromium kernel as it is made to run Chrome OS which uses X11. You should expect these drivers to be available online by the end of March.
Thanks for the update.
Have you by change made any other changes to the Firefly 3.10 kernel to compile it successfully with the Mali T764 framebuffer r5p0 drivers?
I deleted the GPU folders and replaced it with the new ones and kept the rockchip folder as mentioned in a previous thread, but keep getting
error compiling mali_kbase.so GPU compile error.
Something like that, can't remember the exact error.
Is it possible to send me the changes or tar'd kernel for Firefly with changes by PM or email?
Maybe I did something wrong, I can load the userspace Mali drivers into my LinuxRFS, it's just the kernel with new GPU drivers I have trouble with.
Compiling the normal Firefly kernel with old Mali drivers, I have no problems with.
I can then compare it to what I did and learn from my mistake.
Would appreciate any help.
busybee have compiled Firefly 3.10 kernel with Mali successfully, and make the patch.
I hope that helps.
The current firmware release for the Ugoos UT3/UT3S/UM3 TV boxes includes your fbdev mali drivers now:
UGOOS UT3/UT3S/UM3 official linux firmwaries (v0.3.0 15.03.2015)
Ugoos UT3/UT3S/UM3 firmware v 0.3 with Linux released!
Best Regards,Peter Bauer
Are the X11 Mali drivers still going to be released soon, end March, April?
RK3288 Popmetal now has 3.14 kernel released.
Firefly board now runs with mainline v4.0 rc1 kernel(still some bugs).
Could you please give us some updated information about the progress of X11 driver release for Mali T-764 ?Best Regards,
I think Rockchip's new processor will be released before we get an X11 driver for RK3288.
It took almost 10 months for the user-space driver to get released.
Intel devices have driver support straight out of the box, don't need to wait a year for something that might happen.
I hope ARM can prove us wrong and manufacturers like Rockchip don't need to spend another 6 months optimizing the X11 driver to get it in a working state.
To help clarify the situation...
ARM design the GPU, and license this intellectual property to SoC designers who then integrate it into their SoC.
In addition to this IP, we also provide a software proprietary driver for the GPU.
This source is then modified and integrated into the SoC's kernel and BSPs by the designers, not ARM. This is because we do not control the other aspects of the SoC nor the BSP.
Comparing the speed in which Intel release drivers, is not a comparison with ARM, but a comparison with RockChip (in this instance). If you truely believe RockChip should have provided driver support sooner than they have done, then you should really contact RockChip, not us. Rockchip have our driver sources, including the components for X11 already, and have done since the very beginning. We cannot force them to release drivers however, as this is completely up to them.
In addition to the above statement, we see that the community want driver availability as soon as possible, and have decided to take it upon ourselves to release generic binary drivers that are compatible with the more popular development platforms out there, to help enable and drive the Mali ecosystem.
Releasing this requires not only engineering effort to make the changes (which is by far the shortest step in this process) but also vigorous testing of the binary to make sure performance is optimal and it is as bug free as possible, with the features required. This can take some time to go through.
During this process, we also have to go through legal approval to distribute the binary, and this can sometimes delay things further.
I sincerely do apologise that you have had a bad experience so far waiting for either Rockchip's official drivers, or our generic drivers to be release.
Due to the size of the team working on this, we cannot commit to a release date, so I can only ask you to be patient a little longer.
We do hope to release this soon, and it is one of the tasks we are actively working on (among many other things)
Thank you for your understanding.
We were hoping to make faster progress with X11 but it turned out to be harder than expected. There is still a lot of work in progress going on in the community to get the kernel, libdrm and armsoc working on Firefly with X11 and there doesn't appear to be any implementation available as a complete stack at the moment. So it's still on our roadmap but it's hard to tell when we'll be able to produce X11 drivers for Mali-T76x as we depend on other software components to support the Rockchip RK3288 SoC.
Thank you for the Info,
While X11 drivers with HW acceleration still need some time, Ubuntu 15.04 dev version already runs fine on RK3288 devices (fbdev driver) with some tweaking.
Bitkistl: Migrating Ubuntu 15.04 from upstart to systemd on the Ugoos UT3(S)
libhybris seems to work for video playback:
hw accelerated video / video processor (VPU) running on linux on RK3288 / fir... - Firefly-RK3288 - Firefly Open Source…