commit d1fbb37658c622431903b9dddfa0a35e0797e936
parent c217cb31f3933ef7d2855afed78855c53984bb4c
Author: Divan Visagie <me@divanv.com>
Date: Sun, 29 Nov 2026 11:08:05 +0100
image: pipewire-alsa, alsa-ucm-conf and alsa-sof-firmware, so ALSA apps (UnAmp, Montage) get sound through PipeWire
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/linux/Containerfile b/linux/Containerfile
@@ -56,11 +56,18 @@ FROM base AS system
# org.mozilla.firefox.desktop, is what the base mimeapps.list gives web links to. Themed to Patina
# by files under system/usr/lib64/firefox (ADR-0018).
#
+# Sound: UnAmp (rodio, so cpal) and Montage talk to ALSA, and pipewire-alsa is what routes ALSA's
+# default device into PipeWire (without it they open the card directly, or find none). alsa-ucm-conf
+# is how ALSA knows a laptop's speakers, headphones and mics, and alsa-sof-firmware is the DSP firmware
+# Intel laptops (nifl's included) need to have a sound card at all; linux-firmware does not carry it.
+# No codecs are needed for UnAmp: it decodes in Rust (symphonia), not with the system's ffmpeg.
+#
# Not here yet: the NVIDIA driver, which comes from RPM Fusion or NVIDIA's own
# repository and is built against the image's kernel at build time.
RUN dnf -y --setopt=install_weak_deps=False install \
plymouth plymouth-plugin-two-step greetd cage accountsservice dconf polkit NetworkManager \
- pipewire pipewire-pulseaudio wireplumber \
+ pipewire pipewire-pulseaudio pipewire-alsa wireplumber \
+ alsa-ucm-conf alsa-sof-firmware \
mesa-dri-drivers mesa-vulkan-drivers mesa-libEGL mesa-libgbm vulkan-loader \
libinput libseat libxkbcommon xkeyboard-config pixman libdrm \
gtk4 webkitgtk6.0 alsa-lib openssl-libs fontconfig sqlite-libs libsoup3 pam mpv-libs \