Asahi AGX Mesa Driver Prepares For Compute Kernels On Apple Silicon

Written by Michael Larabel in Apple on 6 March 2023 at 06:53 AM EST. Add A Comment
APPLE
The Asahi "AGX" Gallium3D driver providing open-source OpenGL driver support for Apple M1/M2 graphics hardware has seen preliminary work merged into Mesa 23.1 for supporting compute shaders/kernels.

This weekend Alyssa Rosenzweig merged initial support for compute kernels into Mesa Git. This has the user-space Mesa driver side work for handling compute kernels but of course is dependent upon having the necessary support in the DRM kernel driver that has yet to be upstreamed into the Linux kernel. Support for images is also among the features still to be tackled.

Asahi Linux on Apple M2 MacBook Air


In any event it's nice seeing this compute kernel/shader support coming together in Mesa 23.1 and the work happening in tandem both for the Asahi Rust-written DRM kernel driver and within Mesa.

Another important merge request that is pending is the Linux UAPI prep work to prepare for the (currently unstable) explicit sync Linux user-space API. In turn that merge request also drops the early macOS support from this driver that was used primarily during the early prototyping phase.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week