Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1042713: wireplumber: High cpu usage

234 views
Skip to first unread message

Nick

unread,
Jul 30, 2023, 6:30:04 PM7/30/23
to
Package: wireplumber
Version: 0.4.13-1
Severity: important

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.

-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii init-system-helpers 1.65.2
ii libc6 2.36-9+deb12u1
ii libglib2.0-0 2.74.6-2
ii libpipewire-0.3-0 0.3.65-3
ii libwireplumber-0.4-0 0.4.13-1
ii pipewire 0.3.65-3

Versions of packages wireplumber recommends:
ii pipewire-pulse 0.3.65-3

Versions of packages wireplumber suggests:
pn libspa-0.2-bluetooth <none>
pn wireplumber-doc <none>

-- no debconf information

Nick

unread,
Jul 31, 2023, 12:10:05 PM7/31/23
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.
--
Nick <http://acrasis.net>
Asunción 11:55 PYT ► 29.7°C ◆ cielo claro ◆ 9Km/h N ◆ 48% HR

Dylan Aïssi

unread,
Aug 1, 2023, 11:30:05 AM8/1/23
to
Le lun. 31 juil. 2023 à 00:21, Nick <debi...@acrasis.net> a écrit :
>
> 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).

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

Nick

unread,
Aug 1, 2023, 12:20:06 PM8/1/23
to
El 2023-08-01 11:22 PYT, Dylan Aïssi escribió:
> Do you have pipewire-libcamera installed? If yes, can you remove it?

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

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

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.

> Best regards,
> Dylan

Thanks for replying, I'll try to supply more if needed.
--
Nick
Asunción 12:03 PYT ► 30.7°C ◆ cielo claro ◆ 22Km/h NNE ◆ 40% HR
log1.txt

Jonathan Kamens

unread,
Sep 5, 2023, 2:20:05 PM9/5/23
to
Package: wireplumber
Version: 0.4.14-4
Followup-For: Bug #1042713

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.

-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii dbus-user-session [default-dbus-session-bus] 1.14.8-2
ii dbus-x11 [dbus-session-bus] 1.14.8-2
ii init-system-helpers 1.65.2
ii libc6 2.37-7
ii libglib2.0-0 2.77.2-1
ii libpipewire-0.3-0 0.3.79-1
ii libwireplumber-0.4-0 0.4.14-4
ii pipewire 0.3.79-1

Versions of packages wireplumber recommends:
ii pipewire-pulse 0.3.79-1

Versions of packages wireplumber suggests:
ii libspa-0.2-bluetooth 0.3.79-1
pn libspa-0.2-libcamera <none>

Jonathan Kamens

unread,
Sep 5, 2023, 4:00:06 PM9/5/23
to

One more update... Wireplumber doesn't continuously suck CPU. I have not been able to determine what factors cause the CPU spikes.

Jonathan Kamens

unread,
Sep 6, 2023, 4:00:05 PM9/6/23
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.


0 new messages