Public bug reported: When opening a snap, sounds being played may start skipping or freezing and volume changes start failing, it can last from a few milliseconds to multiple seconds, depending on the program being opened and how the program playing the sound behaves.
This was observed with Firefox, Chromium, Teams, Retroarch and Thunderbird snaps, at least. When opening them, it's possible to see at least 50% iowait on top, htop shows D for some processes, even pipewire, pipewire-pulse and wireplumber may iowait. A way to recreate this is to have some other program playing audio, as celluloid, and then open a snap or many of them at once for the first time. This computer has a 5400 RPM HDD, which surely is part of the problem, but still, sound freezes when opening the default web browser cause a very negative experience. I can't reproduce this opening a program installed as a deb, such as Stellarium, Google Chrome, SuperTuxKart or even Steam. I don't remember pulseaudio being so sensitive to iowait. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: pipewire 0.3.48-1ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Fri May 13 22:08:16 2022 InstallationDate: Installed on 2017-06-13 (1795 days ago) InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) SourcePackage: pipewire UpgradeStatus: Upgraded to jammy on 2019-12-22 (873 days ago) modified.conffile..etc.cron.daily.apport: [deleted] ** Affects: pipewire (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy third-party-packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1973389 Title: Audio freezes, skips and failure to change volume when opening snap To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/1973389/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs