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.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

27
Leave a Reply

avatar
7 Comment threads
20 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
13 Comment authors
geokonFrankoTom CubieDiego Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
blu
Guest
blu

A big, fat thumb up from me.

dgp
Guest
dgp

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

blu
Guest
blu

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
Guest
dgp

>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
Guest
blu

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
Guest
dgp

>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
Guest
blu

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
Guest
dgp

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

ワロタ

blu
Guest
blu

Where would we be without your thoughtful contributions, dgp.

RK
Guest
RK

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

theguyuk
Guest
theguyuk

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
Guest
dgp

>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 they pretend to support.

Diego
Guest
Diego

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

theguyuk
Guest
theguyuk
Diego
Guest
Diego

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.

Rainer Laux
Guest
Rainer Laux

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
Guest
Diego

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
Guest
daftendireckt

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…

Member
Stuart Naylor

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
Guest
m][sko

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

Diego
Guest
Diego

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

Franko
Guest
Franko

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

geokon
Guest

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