Rock Pi 4 SBC Runs GNOME & KDE Plasma using Panfrost Open Source GPU Driver & Wayland

One of the highlights of Linux 5.2 release was support for two new Arm Mali GPU open-source drivers, namely Lima for Mali-4xx GPU, and Panfrost for the Midgard Mali-T6xx/7xx/8xx series, and the more recent Bifrost Mali-Gxx GPUs.

Collabora worked on the release and was donated a few Rock Pi 4 boards from Radxa directly to work on the project. For those who are not familiar, Rock Pi 4 board is powered by a Rockchip RK3399 processor with a Mali-T860MP4 GPU that is supported by Panfrost open source GPU driver.

Rock Pi 4 KDE Plasma Panfrost
KDE Plasma on Rock Pi 4 – Click to Enlarge

The company managed to have Debian 10 Buster running on Rock Pi 4 using 3D graphics acceleration thanks to Panfrost drivers on both GNOME and KDE Plasma desktop environment, as well as Weston Wayland compositer.

The good news is that you can build Rock Pi 4 images by yourself using Debos with the following commands:


Alternatively, you could directly download pre-built images directly with Weston and Panfrost. You can login with Debian as username and password to a Weston session from which you should install KDE Plasma 5 or GNOME depending on your preference.

RK3399 Panfrost GNOME
GNOME with Panfrost on RK3399 SBC – Click to Enlarge

The good news does not stop here, as Collabora also worked a V4L2 driver for the Hantro G1 video codec used in RK3288 and RK3399 SoC’s, which will also hardware-accelerated video playback in mainline Linux. More details about the V4L2 drivers will be shared in a future post on Collabora.

Share this:

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

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
27 Comments
oldest
newest
blu
blu
4 years ago

A big, fat thumb up from me.

dgp
dgp
4 years ago

Give it another decade or so it’ll work as well as generic cheap “gamer” hardware has worked for ages.

blu
blu
4 years ago

Not sure I follow. We’re discussing this new GLES stack here. The hw already works ‘as well as generic cheap gamer hw has worked for ages’ via vendor blobs.

dgp
dgp
4 years ago

>We’re discussing this new GLES stack here.

Yes exactly. If you’re lucky in a decade or so this stuff will work well enough outside of Android for it not to crash when you decide to draw a line at an angle in some CAD package. Just in time for Linux on the desktop to happen.

>via vendor blobs.

Does that come with a kernel that’s been dropped from LTS for free too?

blu
blu
4 years ago

It depends: out of my 5 chromebooks & SBCs doing GPU via vendor blobs, one chromebook has dropped LTS support. I paid $200 for it 2 years ago, but google will update it for 3 more years, which is great, as it’s still my daily ride, doing absolutely everything I throw at it. Does that meet your criteria?

dgp
dgp
4 years ago

>Does that meet your criteria?

Dunno mate. Fire up steam and run a few native games or some proton supported ones and tell me how well that goes.

blu
blu
4 years ago

But do I need to fire up steam, mate? Can I fire up GooglePlay Store? Since you know, last game I spent a year worth of play time is on GPS, and not on steam.

dgp
dgp
4 years ago

>The hw already works ‘as well as generic cheap gamer hw has worked for ages
>Can I fire up GooglePlay Store?

ワロタ

blu
blu
4 years ago

Where would we be without your thoughtful contributions, dgp.

RK
RK
4 years ago

Personally all I need is i3/Sway and video decoding which is exactly what Collabora is aiming at.

theguyuk
theguyuk
4 years ago

Question, just how much per GPU royalty or licence would arm have to add to just release generic drives. Just like Nvidia and AMD do for their GPU?

dgp
dgp
4 years ago

>Question, just how much per GPU royalty or licence would arm have to add to just release generic drives. I can’t find the page anymore but ARM said they don’t/didn’t do opensource drivers because there isn’t market demand for it. Google should have enforced open drivers around Android 4 or 5 to bait ARM into releasing drivers and chip vendors into not randomly changing stuff/breaking random stuff. But they didn’t so now alongside maintaining old shit kernel’s they have to maintain qualcomms awful wifi driver and hope they can continue to get GPU drivers for all of the old junk… Read more »

Diego
Diego
4 years ago

Where can I buy it? Last time I checked there was no way getting it anywhere near the advertised price???

theguyuk
theguyuk
4 years ago
Diego
Diego
4 years ago

Yepp 97€ where the quoted price was 75$ https://www.cnx-software.com/2018/11/08/rock-pi-4-raspberry-pi-rk3399-board/
No info about shipping costs to countries besides de n at. and on top vat and postal handling fees for import…

No more interesting for me, sorry.

Diego
Diego
4 years ago

Hi Jean-Luc Unfortunately allnet china doesn’t seem to deliver to europe unless this changed recently. Tax is not my primary concern, as thats less than 10%, postal fees for customs clearing are near about another 20$, but that’s ok, also shipping costs. That you all face from aliexpress as well as from any german reseller. But if theres a markup already of around 35 $ before import or an artificial limitation on shipping countries then I feel radxa doesn’t want to sell truely worldwide, and I have to let my money with other suppliers. Even though I doubt it will… Read more »

rwlx
rwlx
4 years ago

Please have a look at geizhals.de, digitalo.de or voelkner.de. Price-span from 50 € (1 GB) to 110 € (4GB, SET).

Tom Cubie
4 years ago

@Diego

You can check on Seeed Studio:

https://www.seeedstudio.com/ROCK-Pi-4-c-1323.html

Rainer Laux
Rainer Laux
4 years ago

If you have a look at geizhals.de, then you will find RockPI 4’s from about 50 € (1 GB) to nearly 110 € (4 GB, Set), distributed by voelkner.de or digitalo.de as the cheapest.

Diego
Diego
4 years ago

Voelkner is €103.50 for a unit advertised as $75
I liked this statement: Wir liefern ausschließlich nach Deutschland – so no use for me

daftendireckt
daftendireckt
4 years ago

Has anyone been able to run the pre-built image? I’ve copied the img.xz file on a SD card with Etcher but it doesn’t boot…

Stuart Naylor
4 years ago

Doesn’t boot mate going to try a compile now on ubuntu as was more interested in the V4L2 they have done as can get the rockpi4 running via a mainline install.

m][sko
4 years ago

Some demo for lima(mali 4XX) would be nice too 🙂

Diego
Diego
4 years ago

Im waiting for jernej’s libre elec for h3/a64 to get lima soon hopefully

Franko
Franko
4 years ago

The prebuilt image does not boot. https://col.la/rockpi4bimg
Used ddrescue and etcher.

geokon
4 years ago

I noticed preliminary support was just added in PrawnOS for the Asus C201 (Haven’t tested it yet)

https://github.com/SolidHal/PrawnOS/releases/tag/v0.14-alpha

It’s all coming together at a nice time with PinebookPros being delivered soon. I noticed OpenCL is on their roadmap. I assume that’s just for Panfrost and not Lima

Khadas VIM4 SBC