Repository navigation
Restore Vulkan on Macs that lost it in the Mesa 26.2 split - #617
Closed
oliverlukschander wants to merge 1 commit into
Closed
oliverlukschander wants to merge 1 commit into
oliverlukschander wants to merge 1 commit into
Conversation
Mesa 26.2 moved the Asahi Vulkan ICD out of mesa into vulkan-asahi. Macs that relied on the old provide either abort the update (anything depending on vulkan-driver) or lose Vulkan silently (omacom#470). Since 562a1f4 the add-on names vulkan-asahi as a runtime dependency, so Macs get it with omarchy-mac once its recipe carries it. This covers the rest: - A detector-gated migration restores vulkan-asahi on Macs that already lost it. While an older mesa still provides it, nothing happens. - The upgrade script's Apple Vulkan check reads the device tree; the Apple GPU is a platform device and lspci never lists it. migrations/1784401744.sh keeps its lspci gate: it is an older upstream migration, already stamped, and naming the detector there would break the ordering lint in apple-pacman-repo-test.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oliverlukschander
force-pushed
the
fix/vulkan-asahi-mesa-split
branch
from
September 28, 2026 11:03
22d30da to
308a7f9
Compare
Member
|
Thanks for this, Oliver, and for tracking the Mesa split down so carefully. Since #658, |
Author
|
Thanks, happy it was useful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mesa 26.2 moved the Asahi Vulkan ICD out of
mesainto the split packagevulkan-asahi. #470 reports two outcomes on Macs that relied on the old provide: the update aborts when something depends onvulkan-driver, or it succeeds and Vulkan is gone.What
quattro-upstreamalready covers: since 562a1f4,packages/omarchy-mac/README.mdnamesvulkan-asahias a runtime dependency of the add-on, and the Apple package list leaves it to that dependency. Theomarchy-macrecipe in omacom/omarchy-pkgs doesn't declare it yet.This PR covers the rest, following the rework described for #489 in
docs/apple-silicon-quattro-pr-triage.md:migrations/1790490111.sh: detector-gated backfill for Macs that already lost Vulkan. It does nothing off Apple Silicon, when no repository has the package, or whilevulkan-asahiis installed or still provided by an oldermesa.bin/omarchy-upgrade-to-quattro: the Apple Vulkan check readlspci … Apple, which never lists the Apple GPU (it's a platform device). It now reads the device tree, because this script runs before the detector is installed.Not in this PR: the recipe dependency itself. The
omarchy-macrecipe lives in omacom/omarchy-pkgs, and per the triage doc only a real dependency resolves inside the update's own-Syu, since migrations run after it. Until the recipe declares it, and on Macs that already lost Vulkan, the migration is what bringsvulkan-asahiback.Rebased onto
quattro-upstream351c9fb (2026-09-28). The README sentence this PR added is dropped: 562a1f4 documents the dependency upstream.Left alone on purpose:
migrations/1784401744.shkeeps itslspcigate. Naming the detector there makestest/shell.d/apple-pacman-repo-test.shfail ("the repository migration sorts before every Apple Silicon migration"), and the new migration covers the backfill.Refs #470, #489
Testing
test/shell.d/vulkan-asahi-migration-test.sh(4 cases: off Apple Silicon, package unavailable, already installed or provided, installs when missing). Passes.quattro-upstream351c9fb: the fulltest/all,packages/omarchy-mac/test/alland the boot package suite, sandboxed on Arch Linux ARM with omarchy-pkgs and omarchy-iso checkouts.packages/omarchy-mac/test/allpasses. Fivetest/shell.dfiles and one boot package check fail, identically on an unmodified 351c9fb in the same sandbox; nothing new fails.mesa 1:26.2.3-1andvulkan-asahi 1:26.2.3-1as separate packages.Investigated and fixed with Claude Code; I can walk through any of it in review.
🤖 Generated with Claude Code