We're hiring!
*

PanVk: An Open Source Vulkan driver for Arm Mali Midgard and Bifrost GPUs

Boris Brezillon avatar

Boris Brezillon
March 25, 2021

Share this post:

Reading time:

The Panfrost project started as a reverse engineering effort to understand Arm Mali Midgard and Bifrost GPU internals. It quickly evolved to focus on the development of a Gallium driver based on this reverse engineering effort, which was progressively extended to support new GLES and GL features (we recently reached a point where we are almost GLES 3.0 comformant, and GLES 3.1 is in the pipe). Last year, a new compiler backend was added to support Mali Bifrost GPUs.

With the Panfrost driver getting more and more mature, the natural next step was to work on an Open Source Vulkan driver for those GPUs.


So here is a preview of this driver with enough functions implemented to have vkcube running. Before you get too excited, it is important to clarify a few things. It really is the early stage of the development, which means:

  1. the driver lacks almost all core features that would make it usable for real world applications
  2. optimizations are left on the side for now
  3. the code base is likely to evolve quickly as features/optimizations are added

As a side effect, we don't intend to merge the driver in mesa master branch until we have reached a point where enough features are supported and the code base is clean enough.

If you are interested in helping us, please don't hesitate to reach out on IRC (#panfrost channel hosted on freenode.irc.net). There are plenty of functionalities that are left unimplemented, waiting for someone to pick them up.

I would like to thank Alyssa Rosenzweig for patiently going through various aspects of Mali GPUs during the last 2 years. I would also like to thank Erik Faye-Lund and Faith Ekstrand for taking time explaining some details about the Vulkan API.

 

Comments (1)

  1. porkspice:
    Feb 11, 2022 at 12:04 AM

    When things have progressed far enough, this might be a good 'real world' vulkan application to test with! (builds fine on my aarch64 mali g52 box). OpenGothic (gothic 1 and 2).

    https://github.com/Try/OpenGothic

    Reply to this comment

    Reply to this comment


Add a Comment






Allowed tags: <b><i><br>Add a new comment:


 

Search the newsroom

Latest News & Events

Upstream support for Rockchip's RK3588: Progress and future plans

20/12/2024

The Rockchip RK3588 upstream support has progressed a lot over the last few years. As 2024 comes to a close, it is a great time to have…

Academically inclining at NeurIPS 2024

09/12/2024

Collabora will be at NeurIPs this week to dive into the latest academic findings in machine learning and research advancements that are…

Apertis v2024: the new Bookworm-based release for industrial embedded devices

05/12/2024

Now based on Debian Bookworm, Apertis is a collaborative OS platform that includes an operating system, but also tools and cloud services…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2024. All rights reserved. Privacy Notice. Sitemap.