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.
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:
1 2 3 |
git clone https://gitlab.collabora.com/rockpi/rockpi4 cd rockpi4 docker run --rm --interactive --tty --device /dev/kvm --workdir /recipes --mount "type=bind,source=$(pwd),destination=/recipes" --security-opt label=disable godebos/debos --scratchsize=8G rockpi4.yml |
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.
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.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
A big, fat thumb up from me.
Give it another decade or so it’ll work as well as generic cheap “gamer” hardware has worked for ages.
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.
>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?
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?
>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.
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.
>The hw already works ‘as well as generic cheap gamer hw has worked for ages
>Can I fire up GooglePlay Store?
ワロタ
Where would we be without your thoughtful contributions, dgp.
Personally all I need is i3/Sway and video decoding which is exactly what Collabora is aiming at.
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?
>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 »
Where can I buy it? Last time I checked there was no way getting it anywhere near the advertised price???
Look here
https://wiki.radxa.com/Buy
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.
The problem is that if you buy in Europe you can VAT and all taxes included. Maybe a better option is to go with AllNetChina in China, where prices are the same as advertised, but depending where you live you may be hit with customs duties and/or VAT.
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 »
Please have a look at geizhals.de, digitalo.de or voelkner.de. Price-span from 50 € (1 GB) to 110 € (4GB, SET).
@Diego
You can check on Seeed Studio:
https://www.seeedstudio.com/ROCK-Pi-4-c-1323.html
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.
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
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…
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.
Some demo for lima(mali 4XX) would be nice too 🙂
Im waiting for jernej’s libre elec for h3/a64 to get lima soon hopefully
The prebuilt image does not boot. https://col.la/rockpi4bimg
Used ddrescue and etcher.
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