From 04fc3ba095af52607f45371738f1e646149ccd93 Mon Sep 17 00:00:00 2001 From: "Sharath.S" Date: Sun, 14 Jun 2026 11:18:37 +0530 Subject: [PATCH 1/2] Add migration to backfill Mesa Vulkan driver for existing installs --- migrations/1780929365.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 migrations/1780929365.sh diff --git a/migrations/1780929365.sh b/migrations/1780929365.sh new file mode 100644 index 0000000000..f1c006e653 --- /dev/null +++ b/migrations/1780929365.sh @@ -0,0 +1,25 @@ +echo "Install missing Mesa Vulkan driver for Intel/AMD/Apple GPUs" + +# Backfill for systems installed before install/config/hardware/vulkan.sh existed. +# install/ scripts only run at initial setup, so machines set up earlier never +# received a Mesa Vulkan ICD for their iGPU (leaving e.g. NVIDIA as the only Vulkan +# device on hybrid laptops). omarchy-pkg-add is idempotent, so this is a no-op when +# the driver is already present. + +declare -A VULKAN_DRIVERS=( + [Intel]=vulkan-intel + [AMD]=vulkan-radeon + [Apple]=vulkan-asahi +) + +PACKAGES=() + +for vendor in "${!VULKAN_DRIVERS[@]}"; do + if lspci | grep -iE "(VGA|Display).*$vendor" >/dev/null; then + PACKAGES+=("${VULKAN_DRIVERS[$vendor]}") + fi +done + +if (( ${#PACKAGES[@]} > 0 )); then + omarchy-pkg-add "${PACKAGES[@]}" +fi From f727c09a54d3ce743e039b10ec73ae4fa2865d9f Mon Sep 17 00:00:00 2001 From: "Sharath.S" Date: Sun, 14 Jun 2026 11:22:48 +0530 Subject: [PATCH 2/2] Scope migration to Intel/AMD (drop non-detectable Apple/Asahi via lspci) --- migrations/1780929365.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/migrations/1780929365.sh b/migrations/1780929365.sh index f1c006e653..ca4b314555 100644 --- a/migrations/1780929365.sh +++ b/migrations/1780929365.sh @@ -1,4 +1,4 @@ -echo "Install missing Mesa Vulkan driver for Intel/AMD/Apple GPUs" +echo "Install missing Mesa Vulkan driver for Intel/AMD GPUs" # Backfill for systems installed before install/config/hardware/vulkan.sh existed. # install/ scripts only run at initial setup, so machines set up earlier never @@ -9,7 +9,6 @@ echo "Install missing Mesa Vulkan driver for Intel/AMD/Apple GPUs" declare -A VULKAN_DRIVERS=( [Intel]=vulkan-intel [AMD]=vulkan-radeon - [Apple]=vulkan-asahi ) PACKAGES=()