#1042713 wireplumber: High cpu usage

Package:
wireplumber
Source:
wireplumber
Description:
modular session / policy manager for PipeWire
Submitter:
Nick
Date:
2025-07-08 12:39:02 UTC
Severity:
normal
#1042713#5
Date:
2023-07-30 22:06:06 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

Upgrading to debian 12.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Followed the instructions in the release notes.

   * What was the outcome of this action?

On rebooting, a process called wireplumber consumes most of the cpu.
Sound does work.  If I kill the process, cpu usage falls, my fan stops
spinning and I no longer have sound.  I have to kill wireplumber on
each reboot (or let it try to fry my cpu).

Please let me know if I can provide more information.

#1042713#10
Date:
2023-07-31 15:58:50 UTC
From:
To:
In case it helps anyone else, this has so far fixed the problem
introduced by wireplumber:

# apt-get purge wireplumber
# apt-get autoremove --purge

Then I killed and restarted pulseaudio.

#1042713#15
Date:
2023-08-01 15:21:22 UTC
From:
To:
Le lun. 31 juil. 2023 à 00:21, Nick <debianbug@acrasis.net> a écrit :

Do you have pipewire-libcamera installed? If yes, can you remove it?

Can you provide log from pipewire and wireplumber as explained here [1]?

Best regards,
Dylan

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting#general

#1042713#20
Date:
2023-08-01 16:14:42 UTC
From:
To:
El 2023-08-01 11:22 PYT, Dylan Aïssi escribió:

"pipewire-libcamera" doesn't appear anywhere under /var/log/apt so I
think it's never been installed.

I'm attaching the result of

   $ journalctl --user-unit=pipewire --user-unit=wireplumber \
   --user-unit=pipewire-pulse  --since="2023-07-29" \
   --until="2023-07-30" > log1.txt

which I think includes the result of my first boot into debian 12, soon
followed by my killing wireplumber.  Hope that helps.

Thanks for replying, I'll try to supply more if needed.

#1042713#25
Date:
2023-09-03 19:06:46 UTC
From:
To:
stops
(500, 'stable')
LANGUAGE=en_GB:en
I'm running the version 0.4.14-4 and the issue remains on my side. I
can send you more information if needed.

$ dpkg -s wireplumber
Package: wireplumber
Status: install ok installed
Priority: optional
Section: video
Installed-Size: 514
Maintainer: Utopia Maintenance Team
<pkg-utopia-maintainers@alioth-lists.debian.net>
Architecture: amd64
Version: 0.4.14-4
Replaces: pipewire-media-session
Depends: libc6 (>= 2.34), libglib2.0-0 (>= 2.62), libpipewire-0.3-0 (>=
0.3.52), libwireplumber-0.4-0 (= 0.4.14-4), init-system-helpers (>=
1.52), default-dbus-session-bus | dbus-session-bus, pipewire (>=
0.3.52)
Recommends: pipewire-pulse
Suggests: libspa-0.2-bluetooth, libspa-0.2-libcamera, wireplumber-doc
Conflicts: pipewire-media-session

#1042713#30
Date:
2023-09-05 17:42:36 UTC
From:
To:
Dear Maintainer,

I don't think I was seeing this issue in Bookworm, though I could be
mistaken about that. I am definitely seeing it in Trixie. My laptop is
incredibly hot and like the original reporter of this bug I have to
choose between killing wireplumber and not having any sound vs.
leaving it running and my laptop burning my lap, literally.

#1042713#35
Date:
2023-09-05 19:51:20 UTC
From:
To:
One more update... Wireplumber doesn't continuously suck CPU. I have not
been able to determine what factors cause the CPU spikes.

#1042713#40
Date:
2023-09-06 19:56:36 UTC
From:
To:
I just encountered this again, and sound (both input and output) weren't
working while it was going on. I did `systemctl --user restart pipewire
pipewire-pulse` and wireplumber stopped spinning and sound started
working again. Just posting this update in case somebody else stumbles
across this bug report and is looking for a workaround.

#1042713#45
Date:
2025-06-14 14:59:43 UTC
From:
To:
Dear Maintainer,



I have a machine running Trixie where a wireplumber process owned by Debian-gdm
is started that uses 100% cpu of one core. While the process is running I get a
series of messages in my log saying

'INFO: task daemon-init:1972 blocked for more than 966 seconds.
[ 1088.843557]       Not tainted 6.12.30-amd64 #1 Debian 6.12.30-1
[ 1088.843559] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 1088.843561] task:daemon-init     state:D stack:0     pid:1972  tgid:1948
ppid:1      flags:0x00004002'

followed by a Call Trace. My virtual machines do not start while the process is
running and I cannot login over gnome-remote-desktop (system level).

GDM is running on the physical machine and if I log in there and start gnome
the process disappears and everything afterward behaves as expected, including
gnome-remote-desktop. If I simply kill the process from a terminal I am *not*
able to log in over gnome-remote-desktop.

I did a complete reinstall of Trixie after the problem first appeared. All
behaved well for the first few days after that but then it re-appeared this
morning on a fresh boot (and multiple reboots).

#1042713#50
Date:
2025-07-05 15:28:59 UTC
From:
To:
I'm able to avoid the problem by delaying the start of a Windows 11 qemu
guest. I pass-through a PCIe USB-expansion card to the windows guest
that has a sound card plugged into it. Maybe GDM and libvirt are
fighting for control.

#1042713#55
Date:
2025-07-08 12:36:26 UTC
From:
To:
I have the same issue. Sometimes Firefox seems to hang and I notice wireplumber
eating 100% CPU on one core. Restarting wireplumber fixes the issue and
unfreezes Firefox as well.

I don't have pipewire-libcamera installed. Here are some logs, I restarted wireplumber 14:29:

$ sudo journalctl -xe | grep pipewire
Jul 08 14:29:59 flix wireplumber[2532]: wireplumber: disconnected from pipewire

$ sudo journalctl -xe | grep wireplumber
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: ALSA close failed: No such device
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: error pcm info: No such device
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: error iterating devices: No such device
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: Failed to read jack detection from 'Headphone Jack'
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: Failed to read jack detection from 'Line Out Jack'
Jul 08 14:02:32 flix wireplumber[2532]: spa.alsa: Failed to read jack detection from 'Headset Mic Jack'
Jul 08 14:29:59 flix wireplumber[2532]: wireplumber: stopped by signal: Terminated
Jul 08 14:29:59 flix systemd[2506]: Stopping wireplumber.service - Multimedia Service Session Manager...
Jul 08 14:29:59 flix wireplumber[2532]: wireplumber: disconnected from pipewire
Jul 08 14:29:59 flix systemd[2506]: Stopped wireplumber.service - Multimedia Service Session Manager.
Jul 08 14:29:59 flix systemd[2506]: wireplumber.service: Consumed 28min 15.565s CPU time, 13.2M memory peak.
Jul 08 14:29:59 flix systemd[2506]: Started wireplumber.service - Multimedia Service Session Manager.
Jul 08 14:29:59 flix wireplumber[66993]: wp-internal-comp-loader: Loading profile 'main'
Jul 08 14:29:59 flix wireplumber[66993]: wp-device: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
Jul 08 14:29:59 flix wireplumber[66993]: s-monitors: Failed to create 'api.alsa.acp.device' device
Jul 08 14:30:01 flix wireplumber[66993]: wp-event-dispatcher: <WpAsyncEventHook:0x55a9ad8adbc0> failed: <WpSiStandardLink:0x55a9ad9aae20> link failed: 2 of 2 PipeWire links failed to activate
Jul 08 14:30:01 flix wireplumber[66993]: [5:38:59.776287101] [66993]  INFO Camera camera_manager.cpp:327 libcamera v0.4.0
Jul 08 14:30:02 flix wireplumber[66993]: s-monitors-utils: skipping device libcamera:\_SB_.PCI0.GPPA.XHC1.RHUB.PRT1-1:1.0-174f:11af
Jul 08 14:30:02 flix wireplumber[66993]: s-monitors-utils: skipping device libcamera:\_SB_.PCI0.GPPA.XHC1.RHUB.PRT1-1:1.2-174f:11af