Linux 3D GPU Acceleration Demo on Rockchip RK3288 based Firefly Board

Several devices and development boards based on Rockchip RK3288 processor already support Linux, usually with images based on Ubuntu, including Ugoos UM3 / UT3, Open Hour Chameleon, and Firefly-RK3288 among others. What these images lack however, is support for 2D and 3D graphics acceleration with the GPU, and hardware video decoding/encoding with the VPU. But Jas-hacks has made some progress with 3D graphics support.

Rockchip_RK3288_3D_GPU_AccelerationHe has managed to add GPU acceleration via EGL/OpenGL ES bringing 3D acceleration to the platform, but 2D support is not there yet, meaning X11 still heavily relies on software rendering. But the implementation is still good enough to run the usual es2gears and glmark2-es2 benchmarks. as well as some WebGL demos in Chromium. Performance is currently underwhelming, with 50 points in glmark-es2, even a bit lower than the score (54 points) I got with ODROID-X board powered by Exynos 4412 SoC with a Mali-400MP4 GPU, and running Unity desktop in Ubuntu Linaro 12.11. The desktop environment used also appears to greatly affect glmark-es2 performance, with Unity being much slower than LXDE for example. But let’s get to the demo.

Since the image used for the demo is a minimal image for testing, it has not been released, and you can’t try by yourself just yet. But I’m sure GPU acceleration will eventually make it to Ubuntu for Firefly-RK3288, and possibly other RK3288 hardware platforms where the manufacturer or/and the community are involved with Linux development.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

17 Replies to “Linux 3D GPU Acceleration Demo on Rockchip RK3288 based Firefly Board”

  1. Blobs from ChromeOS is very good , this could lead the way into Accelerated browser support, making Videos playable in fullscreen or CSS3 acceleration – which is a basic but hasent come to rk3288.

  2. OMG. This is good you think that it will beat mali GPU ? I mean is this gpu release x2 performance us ?
    (sorry my bad englısh)

  3. @neonero
    It’s about 5 times faster than Mali 400 in RK3188 and 3 times faster than Mali 450 in AMLogic S802/5 in Android. The Linux/ChromeOS driver is in early stages and there are lots of room for even better performance.

    Maybe the xf86-video-fb driver that already supports Mali 400 can integrate Mali T764 support, then 2D graphics will work great and 3D will also get a boost.

  4. From ARM


    Just to keep you updated.
    We plan to release binary userspace drivers for the Firefly board within the next month for both fbdev and X11. These will appear on our malideveloper website in the same location as the current Exynos based drivers live.

    Regarding the response from RockChip about not being able to release binaries… this is incorrect and we have contacted RockChip to clarify the terms of contract. They are fully aware and apologise for the miscommunication earlier.
    In fact, RockChip plan to release their own drivers for the public for Linux within the next few months, however it will be targeting the TopMetal platform rather than Firefly.
    I imagine it wont be too much effort for the community to make those drivers work for Firefly however.

    I hope this helps regarding public driver support. If anyone has any further queries, please don’t hesitate to contact us.

    Kind Regards,

    Michael McGeagh”

  5. From ARM

    Would this also include VPU support for video encoding/decoding via gstreamer ?
    You would have to contact Rockchip regarding this, as the VPU in the RK3288 is not ARM’s IP, so we have no drivers to release for this.
    Note that the driver we are releasing is just the Mali GPU driver, not an entire BSP.

    Do you plan to offer a beta or pre-release of your driver blob for interested developers ?
    No, the majority of time spent to release these drivers is not in the engineering work, but in the testing and legal. These will still hold true for beta/pre-release candidates so you wouldnt get them much quicker.
    To help with your scheduling, the fbdev version should be out this week, with the X11 version to quickly follow.

    I hope that helps.

    Kind Regards,

    Michael McGeagh

  6. @jas-hacks

    Please tell me what you modified for Firefly Mali fb kernel drivers to compile successfully.
    Getting compile errors related to GPU.
    Would really like to test it out myself.
    Can reply in the Firefly forums.

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC