Panfrost now offers a fully-conformant OpenGL ES 3.1 implementation for Mali-G57 (Valhall) GPU

Panfrost Mali-G57 OpenGL ES 3.1

The Mali-G57 GPU part of the Valhall family, and found in several Arm processors such as MediaTek MT8192 and MT8195 SoC powering some Chromebooks, is now supported by the Panfrost open-source driver with a fully-conformant OpenGL ES 3.1 implementation. Last year, Collabora updated Panfrost with support for OpenGL ES 3.1 on Midgard (Mali T760 and newer) and Bifrost (Mali G31, G52, G76) GPUs, and also announced having started working on Valhall GPUs. One part of the work was done in the summer of 2021 with some reverse-engineering work on Mali-G78 GPU’s instruction set, and this has culminated with a fully-conformant OpenGL3.1 for Mali-G57 GPU. Interestingly, it’s not been released by Collabora directly, but through an organization called “Software in the Public Intenerest, Inc.” (or SPI for shorts) which happens to be a non-profit organization incorporated on June 16, 1997, and described as: a non-profit corporation registered in the state of […]

Quartz64 Model B SBC with 4GB RAM is now available for $59.99

buy Quartz64 Model B

While it may be hard to buy a Raspberry Pi these days, there are various alternatives with the Raspberry Pi 3/4 form factor, including Pine64’s Quartz64 Model B SBC powered by a Rockchip RK3566 processor that has just launched for $59.99 with 4GB RAM. The Quartz64 Model B is a smaller version of the Quartz64 Model A launched earlier this year, that comes with HDMI 2.0a and MIPI DSI display interfaces, a MIPI CSI camera interface, Gigabit Ethernet, WiFi 5 and Bluetooth 5.0, as well as several USB 2.0/3.0 ports, and of course, a 40-pin Raspberry Pi compatible GPIO header. Quartz64 Model B specifications: SoC – Rockchip RK3566 quad-core Cortex-A55 processor up to 1.8 GHz with Arm Mali-G52 GPU supporting OpenGL ES 1.1/2.0/3.2, OpenCL 2.0, Vulkan 1.1, 0.8 TOPS NPU for AI acceleration System Memory – 4GB LPDDR4 Storage 128 Mbit SPI Flash optional eMMC module from 16GB up to […]

Speeding up open-source GPU driver development with unit tests, drm-shim, and code reuse

Open source GPU driver Linux

Getting an Arm platform that works with mainline Linux may take several years as the work is often done by third parties, and the silicon vendor has its own Linux tree. That means in many cases, the software is ready when the platform is obsolete or soon will be. It would be nice to start software development before the hardware is ready. It may seem like a crazy idea, but that’s what the team at Collabora has done to add support for Arm “Valhall” GPUs (Mali-G57, Mali-G78) to the Panfrost open-source GPU driver. The result is that it only took the team a few days to successfully pass tests using data structures prepared by their Mesa driver and shaders compiled by their Valhall compiler after receiving the actual hardware thanks to the work done in the last six months. So how did they achieve this feat exactly? We have to […]

ODROID-N2+ review with Ubuntu 21.10 using Wayland and Panfrost

ODROID N2+ Ubuntu 21.10 review

ODROID-N2+ was launched in July 2020, but I only got the Amlogic S922X Rev C SBC recently with Hardkernel wanting me to test their latest Ubuntu 21.10 image with the Panfrost open-source GPU driver. ODROID-N2+ Kit Unboxing Let’s start by checking out the kit I received from the Korean SBC manufacturer. The package includes ODROID-N2+ single board computer fitted with a 32GB eMMC flash module, a 12V/2A power supply with an EU plug adapter, an 80mm fan kit, and a USB 3.0 to eMMC reader. ODROID-N2+ is now only available with 4GB RAM, as the old ODROID-N2 with 2GB was deprecated, and we get four USB 3.0 ports, HDMI 2.0 video output,  Gigabit Ethernet networking, and a 40-pin GPIO header with the board cooled by a larger heatsink attached to the bottom of the board. Fan installation, first boot, and system information As we’ll see below the fan is not […]

ODROID-N2+ SBC gets Ubuntu 21.10, Chromium OS with Panfrost open-source GPU driver

ODROID-N2+ running Ubuntu 21.10 with Panfrost

Panfrost open-source driver for Arm Mali Bifrost and Midgard GPUs has come a long way, and Hardkernel’s ODROID-N2+ board now supports Ubuntu 21.10 and Chromium OS with 3D graphics acceleration through the Panfrost driver. As a reminder, ODROID-N2+ is a single board computer powered by an Amlogic S922X Rev.C processor clocked at 2.4GHz with an Arm Mali-G52 GPU, with up to 4GB RAM, and which comes with HDMI 2.0, Gigabit Ethernet, four USB 3.0 ports, plus a GPIO header. ODROID-N2+ with Ubuntu 21.10 + Panfrost Ubuntu 21.10 Impish Indiri is supposed to be released on October 14, 2021 together with Gnome 40, but Hardkernel released a development version as early as August, with Linux 5.14 and Panfrost GPU acceleration as you can see from the screenshot above. The Ubuntu 21.10 image for ODROID-N2+ and the earlier ODROID-N2 SBC cannot be found in the Wiki just yet, but should be there […]

Linux 5.14 Release – Main changes, Arm, MIPS, and RISC-V architectures

Linux 5.14 release

Linus Torvalds has just announced Linux 5.14 release which happens to almost coincide with the anniversary of the initial announcement of the “small” project on August 25, 1991, about 30 years ago. Here’s Linux 5.14’s announcement: So I realize you must all still be busy with all the galas and fancy balls and all the other 30th anniversary events, but at some point you must be getting tired of the constant glitz, the fireworks, and the champagne. That ball gown or tailcoat isn’t the most comfortable thing, either. The celebrations will go on for a few more weeks yet, but you all may just need a breather from them. And when that happens, I have just the thing for you – a new kernel release to test and enjoy. Because 5.14 is out there, just waiting for you to kick the tires and remind yourself what all the festivities are […]

Debian 11 “BullsEye” released with Panfrost & Lima GPU drivers, exFAT support, driverless printing

Debian 11

Debian 11 “BullsEye” has been released with Panfrost & Lima open-source drivers for Arm GPUs, in-kernel exFAT file system, driverless printing, and many more updates, plus a 5-year support window. Debian’s release is significant as the Linux operating system serves as the base for Ubuntu and derivatives, Raspberry Pi OS, and together with Ubuntu, is one of the operating systems supported by Armbian which offers images for a range of Arm-based single board computers. Arm Mali GPU support in Debian 11 I remember a few years ago 3D graphics acceleration on Arm boards was news, as it was quite a challenge to get it working due to binary blobs. But Debian 11 now comes with Mesa 20.3 framework which includes Panfrost and Lima open-source Mali GPU drivers by default, as well as the Vulkan 1.0 conformant V3DV driver for Raspberry Pi 4. As noted in the documentation that means the […]

Mali-G78 GPU’s Valhall instruction set documentation released after reverse-engineering work

Arm Mali Valhall GPU product matrix

Collabora has been working on Panfrost open-source GPU driver for Arm Mali Bifrost and Midgard GPU for several years, and even getting official support from Arm. But apparently, that support does not include documentation for Mali-G78 GPU and other recent Arm Valhall Mali GPUs, as the company recently reverse-engineered Mali-G78 for about a month before releasing the documentation on the Valhall instruction set (PDF). Other results from the reverse-engineering include an XML architecture description that can be parsed by programs,  as well as a Valhall assembler and disassembler that were used as a reverse-engineering aid. Besides Mali-G78 “Borr” GPU, the work will be useful for other Valhall GPUs include Mali-G77 “TryM’, Mali-G57 “Natt-A/B”, Mali-G68 “Ottr”, and Mali-G78AE “Borr-AE” for automotive & industrial applications. Alyssa Rosenzweig explains Collabora’s work that was based on the International edition of the Samsung Galaxy S21 phone powered by Samsung Exynos 2100 system-on-chip with a Mali-G78 […]

NVIDIA Jetson AGX Orin Embedded-Box PC