From d1056a271bf08397c6766557732be5173a8a3bc2 Mon Sep 17 00:00:00 2001 From: Mikko Nyman Date: Wed, 6 May 2026 10:39:37 -0400 Subject: [PATCH] Install sof-firmware on Intel Panther Lake for DSP audio (#5606) * Install sof-firmware on Intel Panther Lake for DSP audio Co-Authored-By: Claude Opus 4.7 (1M context) * Need to have the sof-firmware package available during original offline install --------- Co-authored-by: Claude Opus 4.7 (1M context) Co-authored-by: David Heinemeier Hansson --- install/config/all.sh | 1 + install/config/hardware/intel/sof-firmware.sh | 8 ++++++++ install/omarchy-other.packages | 1 + migrations/1778026496.sh | 11 +++++++++++ 4 files changed, 21 insertions(+) create mode 100644 install/config/hardware/intel/sof-firmware.sh create mode 100644 migrations/1778026496.sh diff --git a/install/config/all.sh b/install/config/all.sh index bdd3f4ba..1656a2d5 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -47,6 +47,7 @@ run_logged $OMARCHY_INSTALL/config/hardware/intel/ipu7-camera.sh run_logged $OMARCHY_INSTALL/config/hardware/intel/ptl-kernel.sh run_logged $OMARCHY_INSTALL/config/hardware/intel/fred.sh run_logged $OMARCHY_INSTALL/config/hardware/intel/fix-wifi7-eht.sh +run_logged $OMARCHY_INSTALL/config/hardware/intel/sof-firmware.sh run_logged $OMARCHY_INSTALL/config/hardware/dell/fix-xps-haptic-touchpad.sh diff --git a/install/config/hardware/intel/sof-firmware.sh b/install/config/hardware/intel/sof-firmware.sh new file mode 100644 index 00000000..36b0be95 --- /dev/null +++ b/install/config/hardware/intel/sof-firmware.sh @@ -0,0 +1,8 @@ +# Install Sound Open Firmware for the audio DSP on non-XPS Intel Panther +# Lake systems. XPS PTL stays on linux-ptl, which hard-deps sof-firmware. +# Mainline `linux` only optdeps it, so without this the DSP fails to boot +# and only auto_null shows up in PipeWire. + +if omarchy-hw-intel-ptl && ! omarchy-hw-match "XPS"; then + omarchy-pkg-add sof-firmware +fi diff --git a/install/omarchy-other.packages b/install/omarchy-other.packages index a68ecd30..e5f88998 100644 --- a/install/omarchy-other.packages +++ b/install/omarchy-other.packages @@ -41,6 +41,7 @@ pipewire-jack pipewire-pulse qt6-wayland snapper +sof-firmware thermald webp-pixbuf-loader yay-debug diff --git a/migrations/1778026496.sh b/migrations/1778026496.sh new file mode 100644 index 00000000..d9d7b893 --- /dev/null +++ b/migrations/1778026496.sh @@ -0,0 +1,11 @@ +echo "Install sof-firmware on Intel Panther Lake to restore DSP audio" + +# linux-ptl hard-depped sof-firmware, mainline linux only optdeps it, so the +# orphan sweep after migration 1777572869 removed it. Force explicit so a +# subsequent orphan sweep in the same update cycle cannot take it again. + +if omarchy-hw-intel-ptl && ! omarchy-hw-match "XPS"; then + omarchy-pkg-add sof-firmware + sudo pacman -D --asexplicit sof-firmware >/dev/null + omarchy-state set reboot-required +fi