Public bug reported:

Anytime I either

* make any bell noise in my gnome terminal, or
* mute/unmute/change volume in gnome, or
* start, pause or continue a video on firefox

I get
1) the quiet but audible pop that you hear when audio is unmuted
2) **a ~5 second (!) delay**
3) the sound playing

When stopping the sound, the same happens in reverse order, with a
shorter delay.

I suspect that the audio system (pipewire) is opening and closing an
interface, and has perhaps some driver issues? How can I debug this
annoying delay?

journalctl shows during such an event:
```
Mai 28 21:46:42 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: 
Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
Mai 28 21:46:42 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: 
Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
Mai 28 21:46:42 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: 
Bypassing Firmware.
Mai 28 21:46:42 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: 
Bypassing Firmware.
Mai 28 21:46:56 generic kernel: audit: type=1107 audit(1716925616.179:3178): 
pid=2334 uid=102 auid=4294967295 ses=4294967295 subj=unconfined 
msg='apparmor="DENIED" operation="dbus_signal"  bus="system" 
path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" 
member="PropertiesChanged" name=":1.1" mask="receive" pid=84389 
label="snap.firefox.firefox" peer_pid=2327 peer_label="unconfined"
                                 exe="/usr/bin/dbus-daemon" sauid=102 
hostname=? addr=? terminal=?'
Mai 28 21:46:56 generic kernel: audit: type=1107 audit(1716925616.180:3179): 
pid=2334 uid=102 auid=4294967295 ses=4294967295 subj=unconfined 
msg='apparmor="DENIED" operation="dbus_signal"  bus="system" 
path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" 
member="PropertiesChanged" name=":1.1" mask="receive" pid=84389 
label="snap.firefox.firefox" peer_pid=2327 peer_label="unconfined"
                                 exe="/usr/bin/dbus-daemon" sauid=102 
hostname=? addr=? terminal=?'
Mai 28 21:46:56 generic kernel: audit: type=1400 audit(1716925616.190:3180): 
apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" 
name="/etc/igfx_user_feature_next.txt" pid=84389 comm="FSBroker92957" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mai 28 21:46:56 generic kernel: audit: type=1400 audit(1716925616.191:3181): 
apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" 
name="/etc/igfx_user_feature.txt" pid=84389 comm="FSBroker92957" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mai 28 21:47:08 generic kernel: audit: type=1107 audit(1716925628.659:3182): 
pid=2334 uid=102 auid=4294967295 ses=4294967295 subj=unconfined 
msg='apparmor="DENIED" operation="dbus_signal"  bus="system" 
path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" 
member="PropertiesChanged" name=":1.1" mask="receive" pid=84389 
label="snap.firefox.firefox" peer_pid=2327 peer_label="unconfined"
                                 exe="/usr/bin/dbus-daemon" sauid=102 
hostname=? addr=? terminal=?'
Mai 28 21:47:08 generic kernel: audit: type=1107 audit(1716925628.660:3183): 
pid=2334 uid=102 auid=4294967295 ses=4294967295 subj=unconfined 
msg='apparmor="DENIED" operation="dbus_signal"  bus="system" 
path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" 
member="PropertiesChanged" name=":1.1" mask="receive" pid=84389 
label="snap.firefox.firefox" peer_pid=2327 peer_label="unconfined"
                                 exe="/usr/bin/dbus-daemon" sauid=102 
hostname=? addr=? terminal=?'
Mai 28 21:47:13 generic kernel: audit: type=1400 audit(1716925633.677:3184): 
apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" 
name="/etc/igfx_user_feature.txt" pid=84389 comm="FSBroker92957" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mai 28 21:47:13 generic kernel: audit: type=1400 audit(1716925633.678:3185): 
apparmor="DENIED" operation="open" class="file" profile="snap.firefox.firefox" 
name="/etc/igfx_user_feature_next.txt" pid=84389 comm="FSBroker92957" 
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mai 28 21:47:14 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: 
Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
Mai 28 21:47:14 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: 
Requesting Firmware Load after HDA_GEN_PCM_ACT_CLOSE
Mai 28 21:47:14 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: 
Bypassing Firmware.
Mai 28 21:47:14 generic kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: 
Bypassing Firmware.
```
I see pipewire-pulse running.

This is on a Dell XPS 15, and the problem occurs both with and without
using headphones.

I posted this issue at https://superuser.com/questions/1844051/delayed-
audio-start-stop-after-ubuntu-24-04-upgrade-slow-pipewire?noredirect=1
and 2 other users commented that they also experience this with their
Dell XPS 15 laptop, but not external speakers.

** Affects: pipewire (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067816

Title:
  Delayed audio start/stop after Ubuntu 24.04 upgrade, slow pipewire

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/2067816/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to