Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Sound randomly stops (Pipewire) (Read 631 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Sound randomly stops (Pipewire)

After update sound sometimes stop working , to fix it need to reboot

Code: [Select]
[2022-12-13T00:50:02+0500] [ALPM] upgraded qt5-base (5.15.7+kde+r176-1 -> 5.15.7+kde+r177-1)
[2022-12-13T00:50:02+0500] [ALPM] upgraded solid (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:02+0500] [ALPM] upgraded kcoreaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:02+0500] [ALPM] upgraded kwidgetsaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:02+0500] [ALPM] upgraded kjobwidgets (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kdbusaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kconfig (5.100.1-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kwindowsystem (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kcrash (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kglobalaccel (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kauth (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kcodecs (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded qt5-wayland (5.15.7+kde+r55-1 -> 5.15.7+kde+r56-1)
[2022-12-13T00:50:03+0500] [ALPM] upgraded kguiaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded ki18n (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kconfigwidgets (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded karchive (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kiconthemes (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kitemviews (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kxmlgui (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kbookmarks (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded knotifications (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kservice (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kwallet (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kcompletion (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded sonnet (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded ktextwidgets (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:04+0500] [ALPM] upgraded kded (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kio (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded knotifyconfig (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kparts (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded syntax-highlighting (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kitemmodels (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kpackage (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kdeclarative (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded kcmutils (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:05+0500] [ALPM] upgraded re2 (1:20221201-1 -> 1:20221201-2)
[2022-12-13T00:50:06+0500] [ALPM] upgraded kcalendarcore (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded kcontacts (1:5.100.0-1 -> 1:5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded kirigami2 (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded purpose (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded prison (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded attica (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded syndication (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded knewstuff (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded threadweaver (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded kactivities (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:06+0500] [ALPM] upgraded kwayland (5.100.0-1 -> 5.101.0-1.2)
[2022-12-13T00:50:06+0500] [ALPM] upgraded plasma-framework (5.100.1-1 -> 5.101.0-1)
[2022-12-13T00:50:07+0500] [ALPM] upgraded krunner (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:07+0500] [ALPM] upgraded akregator (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:07+0500] [ALPM] upgraded analitza (22.08.3-1.2 -> 22.12.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded archlinux-appstream-data (20221014-1 -> 20221210-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded kpty (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded ark (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded kfilemetadata (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded kidletime (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded baloo (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded baloo-widgets (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:08+0500] [ALPM] upgraded bluez-qt (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:12+0500] [ALPM] upgraded breeze-icons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:12+0500] [ALPM] upgraded ktexteditor (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:12+0500] [ALPM] upgraded cantor (22.08.3-1.2 -> 22.12.0-1)
[2022-12-13T00:50:12+0500] [ALPM] upgraded ksanecore (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:12+0500] [ALPM] upgraded libksane (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:13+0500] [ALPM] upgraded marble-common (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:13+0500] [ALPM] upgraded imagemagick (7.1.0.53-1 -> 7.1.0.54-1)
[2022-12-13T00:50:13+0500] [ALPM] upgraded jasper (3.0.6-1 -> 4.0.0-1)
[2022-12-13T00:50:14+0500] [ALPM] upgraded digikam (7.9.0-1 -> 7.9.0-2)
[2022-12-13T00:50:14+0500] [ALPM] upgraded dkms (3.0.8-1 -> 3.0.9-1)
[2022-12-13T00:50:14+0500] [ALPM] upgraded kdnssd (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:14+0500] [ALPM] upgraded libkexiv2 (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded kio-extras (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded dolphin (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded qqc2-desktop-style (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded kquickcharts (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded filelight (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded frameworkintegration (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:15+0500] [ALPM] upgraded libraw (0.20.2-2 -> 0.20.2-3)
[2022-12-13T00:50:16+0500] [ALPM] upgraded suitesparse (6.0.1-1 -> 6.0.2-1)
[2022-12-13T00:50:16+0500] [ALPM] upgraded gegl (0.4.40-1 -> 0.4.40-2)
[2022-12-13T00:50:16+0500] [ALPM] upgraded graphicsmagick (1.3.38-5 -> 1.3.38-6)
[2022-12-13T00:50:16+0500] [ALPM] upgraded libkdcraw (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded gwenview (22.08.3-2 -> 22.12.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded kactivities-stats (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:17+0500] [ALPM] installed mailimporter (22.12.0-1)
[2022-12-13T00:50:17+0500] [ALPM] installed mailcommon (22.12.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded kholidays (1:5.100.0-1 -> 1:5.101.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded kdav (1:5.100.0-1 -> 1:5.101.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded kalendar (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:17+0500] [ALPM] upgraded kalgebra (22.08.3-1.2 -> 22.12.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kate (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kcalc (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kpeople (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kdeconnect (22.08.3-1.2 -> 22.12.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kunitconversion (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:18+0500] [ALPM] upgraded kemoticons (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:19+0500] [ALPM] upgraded kdelibs4support (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kdenlive (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kdesdk-thumbnailers (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kdesu (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kdoctools (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kfind (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kjs (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded khtml (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:20+0500] [ALPM] upgraded kinit (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded kmplot (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded libkomparediff2 (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded kompare (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded konsole (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded kqtquickcharts (22.08.3-1.1 -> 22.12.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded kross (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:21+0500] [ALPM] upgraded kwalletmanager (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:22+0500] [ALPM] upgraded lib32-nvidia-utils (520.56.06-1 -> 525.60.11-1)
[2022-12-13T00:50:28+0500] [ALPM] upgraded libreoffice-fresh (7.4.3-2 -> 7.4.3-3)
[2022-12-13T00:50:28+0500] [ALPM] upgraded mkinitcpio (33-1 -> 34-2)
[2022-12-13T00:50:31+0500] [ALPM] upgraded linux-lts (5.15.77-1 -> 5.15.82-1)
[2022-12-13T00:50:36+0500] [ALPM] upgraded linux-lts-headers (5.15.77-1 -> 5.15.82-1)
[2022-12-13T00:50:37+0500] [ALPM] upgraded modemmanager-qt (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:37+0500] [ALPM] upgraded networkmanager-qt (5.100.0-1 -> 5.101.0-1)
[2022-12-13T00:50:37+0500] [ALPM] upgraded nvidia-dkms (520.56.06-2 -> 525.60.11-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded okular (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded openimageio (2.4.6.0-1 -> 2.4.6.1-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded openscenegraph (3.6.5-15 -> 3.6.5-16)
[2022-12-13T00:50:38+0500] [ALPM] upgraded python-cbor2 (5.4.5-1 -> 5.4.6-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded python-watchdog (2.1.9-1 -> 2.2.0-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded qt5-imageformats (5.15.7+kde+r6-1 -> 5.15.7+kde+r6-2)
[2022-12-13T00:50:38+0500] [ALPM] upgraded sof-firmware (2.2.2-1 -> 2.2.3-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded spectacle (22.08.3-1 -> 22.12.0-1)
[2022-12-13T00:50:38+0500] [ALPM] upgraded virglrenderer (0.9.1-1 -> 0.10.3-1)

sound.sh is started by kde plasma
Code: [Select]
#!/bin/sh
/usr/bin/pipewire &
/usr/bin/pipewire-pulse &
/usr/bin/wireplumber &
# /usr/bin/pipewire-media-session &
 

dmesg logs (sudo dmesg | grep sof)
Code: [Select]
 
    0.429756] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.429756] software IO TLB: mapped [mem 0x00000000580e4000-0x000000005c0e4000] (64MB)
[    0.485590] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.485600] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[   18.458318] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   18.458335] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   18.458350] sof-audio-pci-intel-cnl 0000:00:1f.3: enabling device (0000 -> 0002)
[   18.458515] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   19.580828] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   20.358963] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[   20.774022] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[   20.774024] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   20.774028] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   20.777549] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   20.777551] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:18:0
[   20.777552] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   20.777555] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[   20.907276] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   20.907279] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:18:0
[   20.907280] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[   20.939999] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:18:0
[   20.940002] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[   20.960861] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[   21.783597] input: sof-hda-dsp Headphone Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
[   21.783638] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
[   21.783676] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
[   21.783710] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33


My observation: Sometime killing pipewire and running sound.sh starts sound but then again pausing sound again stop sound, and only noise I can hear
Create problems which don't have solution

Re: Sound randomly stops (Pipewire)

Reply #1
downgrading kernel  is temporary workaround (linux-lts  5.15.77-1)

EDIT: 5.15.82 lts kernel breaking sound
Create problems which don't have solution

Re: Sound randomly stops (Pipewire)

Reply #2
EDIT: 5.15.82 lts kernel breaking sound
Yep that seems to happen fairly frequently, as in a kernel update causing problem with pipewire. But because it depends which kernel audio module is affected we don't all get it at the same time. I'd expect it less on an LTS release though.


Re: Sound randomly stops (Pipewire)

Reply #4
FWIW - I use ALSA without any third party intermediate.

 

Re: Sound randomly stops (Pipewire)

Reply #5
Fixed Upstream
Create problems which don't have solution