While there has been progress with the Mesa code targeting Apple M1 to run basic tests like glmark2, that has traditionally been an effort running und

Asahi Linux Celebrates First Triangle On The Apple M1 With Fully Open-Source Driver

submited by
Style Pass
2022-07-06 18:30:15

While there has been progress with the Mesa code targeting Apple M1 to run basic tests like glmark2, that has traditionally been an effort running under macOS with its kernel driver. This week the Asahi Linux crew celebrated their first rendered triangle running with a fully open-source driver stack.

Since last year there has been early Apple M1 code in Mesa from the Asahi Linux developers with Alyssa Rosenzweig leading that graphics reverse engineering effort. Much of that early OpenGL driver work has been carried out under macOS due to the reverse-engineering work happening there with Apple not publishing any specifications or drivers from other platforms. Plus for the Gallium3D/Mesa work like getting the shader compiler working and comparing results to the macOS driver stack is useful while being able to leverage the macOS kernel driver until getting a DRM/KMS Linux driver is certainly useful.

For those using Asahi Linux today, there is just a basic frame-buffer driver and the OpenGL acceleration is just leveraging LLVMpipe. But this week with the latest experimental Linux kernel and Mesa code being worked on by Asahi developers, they have now managed to successfully render their first triangle with that fully open-source driver stack. †Update: It turns out this first triangle appears to be from their m1n1 based environment and not a proper Linux driver stack quite yet.)

Leave a Comment