Public bug reported:
When trying to run SongRec 0.6.5 (https://snapcraft.io/songrec, a Snap
which was granted the `audio-record` auto-connect permission +
https://flathub.org/fr/apps/re.fossplant.songrec), an application with
uses the CPAL rust crate for recording audio (uses libasound as a
backend) and the pulsectl-rs rust crate for controlling the input of the
recording input (uses libpulse as a backend) over Ubuntu 26.04 dev
branch, I can get audio working in the following setups:
- Ubuntu 26.04 + Snap + Linux kernel 6.14: OK
- Ubuntu 26.04 + Flatpak + Linux kernel 6.14: OK
- Ubuntu 26.04 + Flatpak + Linux kernel 6.17: OK
- Ubuntu 26.04 + Flatpak + Linux kernel 6.19: OK
I can't get audio working in the following setups:
- Ubuntu 26.04 + Snap + Linux kernel 6.17: NOK
- Ubuntu 26.04 + Snap + Linux kernel 6.19: NOK
When the audio fails in SongRec, both the CPAL/libasound/ALSA and the
pulsectl-rs/libpulse/PulseAudio backends fail to initialize.
Here is a log of the failure with kernel 6.19:
```
07:17:27:marin:~$ songrec
[2026-03-08T06:17:30Z INFO songrec src/main.rs:321] Translations folder found
at: /snap/songrec/69/bin/translations/locale
context state failed/terminated, quitting...
[2026-03-08T06:17:32Z ERROR songrec::audio_controllers::pulseaudio
src/audio_controllers/pulseaudio.rs:28] Could not initialize PulseAudio
backend: PulseCtl("ConnectError: Context state failed/terminated without an
error")
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM sysdefault
[2026-03-08T06:17:34Z ERROR songrec::gui::main_window
src/gui/main_window.rs:794] Displaying error: Erreur audio : The requested
device is no longer available. For example, it has been unplugged.
07:17:43:marin:~$ flatpak run re.fossplant.songrec
# Flatpak works OK
07:18:18:marin:~$ uname -a
Linux zenbook-15 6.19.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 5
14:49:21 UTC 2026 x86_64 GNU/Linux
```
Here is a log of the failure with kernel 6.17:
```
07:20:35:marin:~$ songrec
[2026-03-08T06:20:39Z INFO songrec src/main.rs:321] Translations folder found
at: /snap/songrec/69/bin/translations/locale
context state failed/terminated, quitting...
[2026-03-08T06:20:41Z ERROR songrec::audio_controllers::pulseaudio
src/audio_controllers/pulseaudio.rs:28] Could not initialize PulseAudio
backend: PulseCtl("ConnectError: Context state failed/terminated without an
error")
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM sysdefault
[2026-03-08T06:20:42Z ERROR songrec::gui::main_window
src/gui/main_window.rs:794] Displaying error: Erreur audio : The requested
device is no longer available. For example, it has been unplugged.
07:17:43:marin:~$ flatpak run re.fossplant.songrec
# Flatpak works OK
07:20:48:marin:~$ uname -a
Linux zenbook-15 6.17.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 9
17:01:16 UTC 2026 x86_64 GNU/Linux
```
Here is information about my audio hardware (gathered on kernel 6.14):
```
07:38:44:marin:~$ sudo lspci -v | grep -i hda
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not
permitted
73:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Radeon High
Definition Audio Controller (prog-if 00 [HDA compatible])
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
73:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio
Controller (prog-if 00 [HDA compatible])
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
07:38:28:marin:~$ sudo lspci -v | grep -i snd
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not
permitted
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Kernel driver in use: snd_pci_acp6x
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63, snd_sof_amd_acp70
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
```
Here is the software stack related to the bug:
```
07:39:42:marin:~$ lsb_release -rd
Description: Ubuntu Resolute Raccoon (development branch)
Release: 26.04
07:39:43:marin:~$ apt-cache policy snapd
snapd:
Installé : 2.74.1+ubuntu26.04
Candidat : 2.74.1+ubuntu26.04
Table de version :
*** 2.74.1+ubuntu26.04 500
500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
100 /var/lib/dpkg/status
07:39:52:marin:~$ apt-cache policy pipewire
pipewire:
Installé : 1.5.84-1ubuntu2
Candidat : 1.5.84-1ubuntu2
Table de version :
*** 1.5.84-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
100 /var/lib/dpkg/status
07:40:04:marin:~$ apt-cache policy pipewire-pulse
pipewire-pulse:
Installé : 1.5.84-1ubuntu2
Candidat : 1.5.84-1ubuntu2
Table de version :
*** 1.5.84-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
100 /var/lib/dpkg/status
07:40:14:marin:~$ apt-cache policy pipewire-alsa
pipewire-alsa:
Installé : 1.5.84-1ubuntu2
Candidat : 1.5.84-1ubuntu2
Table de version :
*** 1.5.84-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
100 /var/lib/dpkg/status
07:40:19:marin:~$ songrec -V
songrec 0.6.5
```
On defective kernels, outside of Snap I can also see PipeWire crashing
often.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: alsa-base 1.0.25+dfsg-0ubuntu9
Uname: Linux 6.14.11-061411-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: marin 6685 F.... wireplumber
/dev/snd/controlC0: marin 6685 F.... wireplumber
/dev/snd/seq: marin 6665 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Mar 8 07:28:43 2026
InstallationDate: Installed on 2025-04-14 (328 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
MachineType: ASUSTeK COMPUTER INC. Zenbook 15 UM3504DA_UM3504DA
PackageArchitecture: all
ProcEnviron:
LANG=fr_FR.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
SourcePackage: alsa-driver
Symptom: audio
UpgradeStatus: Upgraded to resolute on 2026-03-07 (1 days ago)
dmi.bios.date: 05/13/2024
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: UM3504DA.312
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UM3504DA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias:
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrUM3504DA.312:bd05/13/2024:br5.24:svnASUSTeKCOMPUTERINC.:pnZenbook15UM3504DA_UM3504DA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUM3504DA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: Zenbook
dmi.product.name: Zenbook 15 UM3504DA_UM3504DA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
** Affects: alsa-driver (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute third-party-packages wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143654
Title:
Audio broken in Snap+Linux kernels 6.17 and 6.19 with Asus Zenbook 15,
works with Flatpak, works with Snap+Linux kernel 6.14
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2143654/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs