omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Vulkan driver not backfilled: pre-vulkan.sh installs left without Mesa Vulkan ICD

Open ki11e6 opened this issue 5 months ago • 1 comments

System details

Intel UHD 630 (CoffeeLake-H) + NVIDIA GTX 1650 Mobile (Optimus laptop), Omarchy 3.8.2

What's wrong?

Systems installed before install/config/hardware/vulkan.sh was added (commit 694eb8c6, "Install vulkan drivers by default", 2026-02-20) never get the Mesa Vulkan driver for their iGPU, and no migration backfills it. So Intel/AMD machines installed earlier are left with no Mesa Vulkan ICD.

On this Optimus laptop the effect was concrete and user-visible: NVIDIA Vulkan ships via nvidia-utils (installed at setup by nvidia.sh), so the only Vulkan device present was the NVIDIA dGPU. mpv (default vo=gpu-next/Vulkan) therefore rendered every frame on the discrete GPU and cross-presented to the Intel-driven compositor, which stalled — mpv repeatedly hit "Application Not Responding". Installing vulkan-intel made the iGPU a Vulkan device again and resolved it.

Root cause: install/ scripts only run once at initial setup. vulkan.sh was introduced as an install-time step but no corresponding migrations/*.sh was shipped, so it never reaches pre-existing systems.

Verification on this machine:

  • Installed 2026-02-18 (pacman.log first transaction).
  • vulkan.sh added 2026-02-20 — two days after install, so it never ran here.
  • pacman.log shows vulkan-intel was never installed until I did so manually on 2026-06-14.
  • intel-media-driver (from intel/video-acceleration.sh) and nvidia-open-dkms (from nvidia.sh) are present — so the other hardware scripts ran; only the Vulkan driver fell through the gap.
  • grep -rl "vulkan-intel\|vulkan-radeon\|VULKAN_DRIVERS" migrations/ → no matches.

Suggested fix

A one-line migration that re-applies the vulkan.sh detection (it uses omarchy-pkg-add, which is idempotent, so it's a no-op on systems that already have the driver). Happy to open a PR — see below.

ki11e6 avatar Jun 14 '26 05:06 ki11e6

Closing as fixed, resolved, or superseded by the current Quattro implementation based on the open-issue review.

dhh avatar Jul 18 '26 19:07 dhh