← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2111972] Re: Pipewire uses 100% of a CPU core. Can not connect to pulseaudio.

 

The next time you hit this issue, please provide the output of these
commands,

$ journalctl --user -u pipewire -u pipewire-pulse -u wireplumber -b
$ pactl list sinks
$ wpctl status
$ pw-cli list-objects Node
$ pw-dump

Since you said you're trying to restart *pulseaudio*, I'm concerned you
might have conflicting sound servers running (although your package list
suggest not), but to be sure,

$ ps aux | grep -E 'pulseaudio|jackd'

Shouldn't report anything (other than grep).

If that doesn't help provide any further clues, debug logging from
Pipewire and friends will be required. For the pipewire daemon in
particular,

$ export DEBUGINFOD_URLS="https://debuginfod.elfutils.org/ $DEBUGINFOD_URLS"
$ timeout 5 strace -f -tt -T -p `pidof pipewire` > pipewire_strace.out
$ timeout 5 perf record --debuginfod -g -p `pidof pipewire`
$ perf report > pipewire_perf.out

If you have custom configuration configuration of Pipewire share that
too. There are reports against your version of Pipewire of the CPU
getting locked when resuming from suspend,

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3984, and
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4025

You might try seeing if this can consistently reproduce the issue,

PIPEWIRE_LOG_SYSTEMD=false PIPEWIRE_DEBUG=3 pw-cli -m load-module
libpipewire-module-combine-stream




** Bug watch added: gitlab.freedesktop.org/pipewire/pipewire/-/issues #3984
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3984

** Bug watch added: gitlab.freedesktop.org/pipewire/pipewire/-/issues #4025
   https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4025

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to pipewire in Ubuntu.
https://bugs.launchpad.net/bugs/2111972

Title:
  Pipewire uses 100% of a CPU core. Can not connect to pulseaudio.

Status in pipewire package in Ubuntu:
  Incomplete

Bug description:
  pactl commands freeze and don't display anything. pavucontrol tells
  "Establishing connection to PulseAudio. Please wait...". Audio does
  not work in system. This issue is reproduceable sometimes. I don't
  have information on how to give first-aid in this case. I'll just kill
  the process and try to restart pulseaudio.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: pipewire 1.0.5-1ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-60.63-generic 6.8.12
  Uname: Linux 6.8.0-60-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Thu May 29 10:13:03 2025
  InstallationDate: Installed on 2019-12-05 (2002 days ago)
  InstallationMedia: Xubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  SourcePackage: pipewire
  UpgradeStatus: Upgraded to noble on 2025-01-12 (136 days ago)

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



References