Linux for Apple Silicon adds first conformant M1 GPU driver

Posted:
in Current Mac Hardware

The ongoing Asahi project to bring Linux to Apple Silicon has reached a milestone, adding the first conformant GPU driver for the family of chips.

Linux logo on a MacBook Pro
Linux logo on a MacBook Pro



The Asahi Linux project for Mac first teased plans to launch a dedicated GPU driver for Apple Silicon running Linux back in 2022. At the time, they had already reverse-engineered a prototype that was "good enough to run real graphics applications and benchmarks."

Now, in 2023, the first and only conformant OpenGL ES 3.1 GPU driver is available for Apple Silicon-based Macs.

To reach this goal, it took thousands of tests to make sure that the driver is stable and won't produce issues. There is a test suite that is tasked with testing every feature within the implementation.

Once that test period is over, there is a 30-day review period overseen by the standards body, Khronos. In the case for the first conformant OpenGL ES 3.1 GPU for Apple Silicon, there were no issues found.

Now the drivers are available for the M1, M1 Pro, M1 Max, M1 Ultra processors, as well as the M2, the M2 Pro, M2 Max, and M2 Ultra chips. With this particular milestone met, the Asahi Linux project for Mac can say they are the first conformant implementation for any graphics standard on Apple Silicon.

OpenGL ES 3.1 makes it possible for applications to write to a specific image displayed on the screen, which enables algorithms to run flexible image processing. The Asahi Project offers a detailed rundown of how the new feature works.

Asahi Linux logo
Asahi Linux logo



Interestingly, the project points out that Apple's own drivers for Apple Silicon are not conformant for any standard graphics API. This being the case, it means there is no guarantee that any application using the available standards like OpenGL ES, OpenGL, or Vulkan, will work on a computer with an M1 or M2 processor.

There's a real-world scenario for this, too, according to the report:

"The third-party MoltenVK layers a subset of Vulkan on top of the proprietary drivers. However, those drivers lack key functionality, breaking valid Vulkan applications," the post adds. "That hinders developers and users alike, if they haven't yet switched their M1/M2 computers to Linux."

Linux 5.19 was released in August 2022, notable for the fact it was done on an M2-equipped MacBook Air.

Read on AppleInsider

Comments

  • Reply 1 of 6
    eriamjheriamjh Posts: 1,647member
    The word of the day is conformant.
    watto_cobratenthousandthingsFileMakerFeller
  • Reply 2 of 6
    samrodsamrod Posts: 60unconfirmed, member
    Interestingly, the project points out that Apple's own drivers for Apple Silicon are not conformant for any standard graphics API

    As expected given that Apple GPU drivers only support its own Metal API. 
    watto_cobraAlex1NFileMakerFeller
  • Reply 3 of 6
    samrod said:
    Interestingly, the project points out that Apple's own drivers for Apple Silicon are not conformant for any standard graphics API

    As expected given that Apple GPU drivers only support its own Metal API. 
    And as Metal API is the standard on Apple Silicon Macs and iOS, I'd say Apple's drivers are conformant to Metal API.
    9secondkox2watto_cobradanoxwilliamlondonFileMakerFeller
  • Reply 4 of 6
    9secondkox29secondkox2 Posts: 2,727member
    samrod said:
    Interestingly, the project points out that Apple's own drivers for Apple Silicon are not conformant for any standard graphics API

    As expected given that Apple GPU drivers only support its own Metal API. 
    And as Metal API is the standard on Apple Silicon Macs and iOS, I'd say Apple's drivers are conformant to Metal API.
    Prett much. Apple’ Metal is not only a legiit APU powering the worlds best and most popular smartphones and tablets, but is the Mac standard as well. 

    Apple doesn’t make GPUs to be used with the also-rans’ toolsets. 

    So actually, Linux’ little driver is nonconforming. 
    watto_cobradanox
  • Reply 5 of 6
    macxpressmacxpress Posts: 5,813member
    And .00001% give 2 shits about Linux....
    watto_cobradanoxwilliamlondon
  • Reply 6 of 6
    If Apple laptops could run the whole KDE/Plasma desktop environment with all the accelerations, that would be awesome IMHO
    michelb76freeassociate2tenthousandthings
Sign In or Register to comment.