While not as exciting as if it were Apple M3/M4 device support hitting the upstream mainline Linux kernel, but for those with some older Apple (pre-M1) devices around, support for a number of older SoCs and boards is set to arrive with the upcoming Linux 6.13 kernel.
Apple News Archives
128 Apple open-source and Linux related news articles on Phoronix since 2007.
A patch is pending for enabling support for the USB-C model of Apple's latest Magic Trackpad input device under Linux.
Alyssa Rosenzweig provided an update today at the XDC 2024 conference in Montreal on the open-source "Honeykrisp" Vulkan driver for Apple Silicon M1/M2 SoCs within Mesa and related work as part of the Asahi Linux project to provide for a nice Linux gaming experience atop the ARM-based Apple devices.
Device Tree patches have been posted to the Linux kernel mailing list for review and possible upstreaming to the mainline Linux kernel for booting Apple iPhones, iPads, and iPods that use the A7 to A11 SoCs.
A set of nine patches were posted for review on Tuesday in aiming to get the Apple Touch Bar working well under Linux for the x86 T2-based Macs.
The EFI changes have been merged for the in-development Linux 6.11 kernel. Notable this cycle on the EFI side is removing support for EFI fake memory maps and then a workaround to get dual GPU support working for some of the older x86-based Apple MacBook Pros by pretending that Apple macOS is booting rather than Linux.
For those using an Apple Magic Keyboard with a T2-secured Mac, the upcoming Linux 6.11 kernel will enable working keyboard backlight support.
While the Asahi AGX Gallium3D driver for OpenGL support with Apple Silicon on Linux has been maturing nicely and is quite capable these days, the Vulkan support hasn't been coming together as quick or for as long. But a new Apple Silicon Vulkan driver was recently started by Asahi Linux / Mesa developers and is looking positive for being able to become a compliant Vulkan 1.3 driver for the Apple M1 on Linux.
While rolling out the new iPad Pro tablets today, Apple announced the M4 as their newest in-house silicon design.
The Asahi Linux project working on the AGX Gallium3D driver for Mesa has now managed to achieve OpenGL 4.6 conformance as well as OpenGL ES 3.2. This is a big upgrade for the Linux OpenGL support on the Apple M1 as previously only OpenGL 4.1 was exposed.
Following last month's release of Fedora Asahi Remix 39 for the Asahi Linux project's new flagship distribution for running on Apple Silicon hardware, a lengthy blog post was posted this weekend outlining some of the ongoing development efforts for Apple Silicon on Linux and newly-enabled Fedora Asahi capabilities.
Apple tonight announced the M3, M3 Pro, and M3 Max as what they are promoting as the "most advanced chips" for a personal computer and leverage the TSMC 3nm process.
The AGX Gallium3D driver developed by the Asahi Linux crew for providing reverse-engineered OpenGL / GLES support on Apple Silicon M1/M2 hardware is now formally compliant with OpenGL ES 3.1.
An independent developer has posted an open-source Linux driver for review in order to handle the Apple Studio Display backlight control under Linux. The Apple Studio Display uses a Thunderbolt (DP) interface for display but lacks any hardware controls. Thus a USB interface is used by the monitor for controlling attributes like the display backlight brightness.
Experimental driver code available via the Asahi Linux "edge" packages allow for OpenGL 3.1 and OpenGL ES 3.0 to be exposed for Apple Silicon M1/M2 SoCs under this Arch Linux based OS.
In addition to announcing the Apple Vision Pro AR headset, a 15-inch MacBook Air, and other new hardware, Apple lifted the lid on the M2 Ultra SoC. The Apple M2 Ultra is impressive from the technical specs and hopefully won't be too long before it begins working under Linux.
In addition to Linux 6.4 bringing some early work around the Apple M2 device support that isn't yet ready for end-users but begins laying the foundation for supporting the new MacBook Air, MacBook Pro, and Mac Mini, another set of Apple changes have now been submitted ahead of this next kernel cycle.
Further adding to the excitement of the upcoming Linux 6.4 merge window is the mainline kernel seeing the Device Tree (DT) additions for Apple's current M2 devices including the MacBook Air, MacBook Pro, and Mac Mini systems. The upstream kernel still has more work to go around the M1/M2 support compared to the downstream state with Asahi Linux, but at least now with this DT support will provide some basic level of upstream kernel support for the Apple M2.
A set of patches are expected to be merged for the Linux 6.4 cycle in two months enable support for the MMIO-based GMUX found on dual GPU Apple T2 Macs.
After being in development for several months, Asahi Lina with the Asahi Linux project has posted the initial Rust Direct Rendering Manager (DRM) subsystem abstractions for review as well as a preview of the experimental state of the AGX DRM driver providing the open-source kernel graphics driver support for Apple M1/M2 hardware.
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.
Apple introduced the Touch Bar to their MacBook Pro laptops a half-decade ago as a dynamic touchscreen to replace the function keys on the keyboard. While some MacBook Pro models have already dropped the Touch Bar for not catching on, some community developers in the open-source Linux community continue work on enabling the functionality for the upstream Linux kernel.
For those wanting to run Linux bare metal on modern Apple Silicon M1/M2 systems, the easiest way to do so is by using the Asahi Linux distribution with its downstream kernel carrying the latest Apple driver enablement patches for the ARM hardware, the specialized installer for safely setting up the Linux distribution on the Apple, and modern package base provided by Arch Linux. For fans of Fedora Workstation, the Fedora Asahi remix has been working to provide a great Fedora Workstation experience for modern Macs.
A number of patches were merged this week to Mesa 23.1 around the Asahi "AGX" Gallium3D driver that continues progressing on open-source OpenGL support for Apple Silicon M1/M2 graphics.
Apple today announced their M2 Pro and M2 Max SoCs found in new Apple MacBook Pro devices and they have also updated their Mac Mini computers with the M2 and interestingly even offering a model with the M2 Pro SoC.
The open-source developers working on developing the Rust-written Linux DRM kernel driver for Apple M1/M2 graphics as well as the Mesa AGX Gallium3D driver in user-space have now managed to successfully run a basic OpenGL ES 3.1 compute shader on the hardware with this open-source driver stack.
With the upcoming Linux 6.2 kernel cycle the Apple Silicon CPU frequency scaling driver is set to be mainlined for further improving the Apple M1/M2 SoC support on the mainline kernel.
The Asahi Linux distribution is now shipping an early, alpha quality graphics driver stack for the Apple M1/M2 SoCs. This work-in-progress driver consists of their experimental Rust-written DRM kernel driver and then the AGX Gallium3D code in Mesa that is currently targeting OpenGL 2.1 and OpenGL ES 2.0 support.
The Apple SoC CPUFreq driver worked on by the Asahi Linux crew for CPU frequency scaling with the M1 and M2 chips under Linux looks like it could soon be reaching the mainline kernel.
The Asahi Linux crew has published their November 2022 status report highlighting recent open-source progress on supporting Apple Silicon M1/M2 devices under Linux.
While Asahi Linux has been running on the higher-end Apple M1 SoC variants and those Macs utilizing them, with the mainline Linux 6.2 kernel will finally be the upstreaming of the Apple M1 Pro/Max/Ultra support with the various device trees set to be added.
In addition to Alyssa Rosenzweig leading the work on bringing up OpenGL driver support for Apple M1/M2 SoCs with the Mesa "AGX" Gallium3D driver, developer Ella Stanforth has been working on "AGXV" as a Vulkan driver implementation for the Apple Silicon hardware on Linux. As of yesterday, she hit the milestone of being able to run the VKCube demo.
It was just yesterday that reverse-engineering, open-source driver developer Asahi Lina got the display output working and running Wayland's Weston. After a long day hacking away on this first Rust-written Direct Rendering Manager (DRM) driver, the GNOME desktop is even running off this Apple M1 graphics driver as well as applications like Firefox complete with YouTube.
Last week the Rust-written Apple Direct Rendering manager (DRM) Linux driver for supporting Apple M1/M2 graphics managed to rendered its first cube. Asahi Linux contributor Asahi Lina today is back at it and working on getting more of this experimental kernel driver working for the Linux desktop.
The very early stage Direct Rendering Manager (DRM) driver being written in the Rust programming language to support the Apple M1/M2 graphics processor achieved the milestone of being able to render a cube.
The Device Tree (DT) files needed by the Linux kernel for Apple Macs powered by the M1 Pro, Max, and Ultra SoCs have been submitted on the kernel mailing list for review and working their way towards upstream.
Since Apple introduced the M1 two years ago as their in-house Apple Silicon for laptops and desktops with a powerful AArch64 processor and custom-designed graphics processor, there has been much speculation about whether the Apple M1 (and now M2) graphics are a clean-sheet Apple design or derived from Imagination PowerVR graphics that Apple had been using with earlier SoCs. There has been some similarities brought up before with the Asahi Linux team working on enabling the Apple M1/M2 under Linux while the latest Mesa driver activity points to more common bits between PowerVR graphics hardware and the Apple AGX graphics.
When it comes to the Apple M1 and M2 support on Linux, one of the biggest obstacles to suitable daily use for end-users is the current lack of GPU acceleration. Reverse engineering has been happening for the Apple Silicon graphics processor, early experiments being carried out under macOS and Asahi's m1n1 environment, and the next step will be to start writing a Direct Rendering Manager (DRM) kernel driver. To some surprise, the feasibility of writing this DRM kernel GPU driver in the Rust programming language is being explored.
Sven Peter who has worked a lot on various aspects of Apple Silicon enablement for Linux today posted the patches enabling Apple Bluetooth driver support for Apple Silicon M1/M2 hardware and also for some Apple x86 Macs.
Asahi Linux has issued an update with initial support for the Mac Studio powered by the M1 Ultra SoC as well as having initial (experimental) suppoirt for the new Apple M2 hardware.
While Apple just recently introduced their first M2-powered Apple Silicon devices, thanks to the dedication of Hector Martin with Asahi Linux and not too many breaking changes over the M1, Asahi Linux is looking at "soon" having a Linux release to support the new platform.
Hector Martin who has been leading the Asahi Linux effort for bringing up Linux on Apple Silicon recently received his new 2022 MacBook Pro 13-inch to begin porting Linux to Apple's new M2 SoC. While only started this week, he's already making significant progress. Fortunately, much of the existing M1-written Linux code can work for the M2 but some new drivers will need to be written before the new M2 Macs are fully usable on Linux.
MIT CSAIL today is lifting the embargo on a new hardware vulnerability affecting the Apple M1 SoCs (no word yet on exposure with the recently announced Apple M2) and dubbed the "PACMAN" attack.
In addition to announcing the M2 SoC, Apple used its WWDC keynote to also announce macOS 13 "Ventura". One of the interesting technical changes with macOS 13 is the ability to use Apple's Rosetta software for speedy execution of Linux x86_64 binaries running on ARM Linux VMs from Apple Silicon.
Apple's WWDC keynote this year was used to announce the M2 processor alongside a slew of other announcements.
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.
In addition to Linux 5.19 set to add NVMe support for the Apple M1 systems, the Apple eFuse driver also from the open-source community is geared up for landing in this next version of the Linux kernel.
While the Apple M1 Linux support is off to a great start and using Asahi Linux is offering good CPU performance and most functionality working to at least some degree, the biggest blocker remaining is getting the Apple M1 3D graphics working. The latest progress on that front is the Mesa code working to begin correctly render glmark2, a basic OpenGL / GLES benchmark.
The latest Apple M1 excitement on Linux for the mainline kernel is the NVMe driver is slated for introduction in the upcoming Linux 5.19 merge window.
A new Apple SoC CPUFreq driver has been posted by Asahi Linux's Hector Martin with the CPU frequency scaling driver, of course, being important for achieving optimal performance and power/thermal management.
128 Apple news articles published on Phoronix.