Source: mesa
Version: 25.1.0-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: noisyc...@tutanota.com

Dear Maintainer,

mesa 25.1.0 will introduce upstream support for the Apple M1 and M2 GPUs
found on newer Apple hardware, including full OpenGL (4.6), Vulkan (1.4)
and OpenCL (3.0) support. In Debian we've been using the Asahi drivers
for as long as they have been around, and we are maintaining a downstream
fork for early enablement in Bananas Team [1].

Starting from 25.1.0, could you please enable the Asahi drivers in mesa? A
patch to do so is in attachment. Asides from the native arm64 builds, it
also enables the amd64 and i386 builds needed for the gaming stack [2].

Cheers!


[1] https://salsa.debian.org/bananas-team/wip/mesa-asahi
[2] https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/
>From b5242a9ab3ae25b91bb2715759251a8f6fb33178 Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisyc...@tutanota.com>
Date: Thu, 10 Apr 2025 01:28:02 +0200
Subject: [PATCH] rules: enable asahi

---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index d3b86c8d8bb..f276f6247cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -110,6 +110,12 @@ else
        GALLIUM_DRIVERS += d3d12
   endif
 
+  # asahi supports only arm64, amd64 and i386
+  ifneq (,$(filter $(DEB_HOST_ARCH), arm64 amd64 i386))
+       GALLIUM_DRIVERS += asahi
+       VULKAN_DRIVERS += asahi
+  endif
+
   # LLVM is required for building r300g, radeonsi and llvmpipe drivers.
   # It's also required for building OpenCL support.
   ifneq (,$(filter $(DEB_HOST_ARCH), $(LLVM_ARCHS)))
-- 
2.47.2

Reply via email to