Bug#1042713: wireplumber: High cpu usage
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.
Bug#1042713: wireplumber: High cpu usage
One more update... Wireplumber doesn't continuously suck CPU. I have not been able to determine what factors cause the CPU spikes.
Bug#1042713: wireplumber: High cpu usage
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 pn wireplumber-doc -- no debconf information
Bug#1042713: wireplumber: High cpu usage
On Sun, 30 Jul 2023 18:06:06 -0400 Nick wrote: > 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 > pn wireplumber-doc > > -- no debconf information > > 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 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
Bug#1042713: wireplumber: High cpu usage
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 Jul 29 10:45:59 argon systemd[1380]: Stopping Multimedia Service... Jul 29 10:45:59 argon pipewire-media-session[1419]: error id:0 seq:164 res:-32 (Broken pipe): connection error Jul 29 10:45:59 argon systemd[1380]: pipewire.service: Succeeded. Jul 29 10:45:59 argon systemd[1380]: Stopped Multimedia Service. Jul 29 10:45:59 argon systemd[1380]: pipewire.service: Consumed 40.688s CPU time. -- Boot 1fda9ee2cfc54a14bbab068213dac2d7 -- Jul 29 10:46:53 argon systemd[1422]: Started pipewire.service - PipeWire Multimedia Service. Jul 29 10:46:53 argon systemd[1422]: Started wireplumber.service - Multimedia Service Session Manager. Jul 29 10:46:53 argon systemd[1422]: Started pipewire-pulse.service - PipeWire PulseAudio. Jul 29 10:46:53 argon pipewire[1438]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Jul 29 10:46:53 argon pipewire-pulse[1440]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Jul 29 10:46:53 argon pipewire-pulse[1440]: mod.rt: found session bus but no portal Jul 29 10:46:53 argon pipewire[1438]: mod.rt: found session bus but no portal Jul 29 10:46:53 argon wireplumber[1439]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Jul 29 10:46:53 argon wireplumber[1439]: found session bus but no portal Jul 29 10:46:54 argon wireplumber[1439]: Failed to set scheduler settings: Operation not permitted Jul 29 10:46:54 argon wireplumber[1439]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed? Jul 29 10:46:54 argon wireplumber[1439]: PipeWire's libcamera SPA missing or broken. libcamera not supported. Jul 29 10:46:54 argon wireplumber[1439]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed? Jul 29 10:46:54 argon wireplumber[1439]: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported. Jul 29 10:46:54 argon wireplumber[1439]: Object activation aborted: proxy destroyed Jul 29 10:46:54 argon wireplumber[1439]: failed to activate item: Object activation aborted: proxy destroyed Jul 29 10:53:05 argon wireplumber[1439]: stopped by signal: Terminated Jul 29 10:53:05 argon wireplumber[1439]: disconnected from pipewire Jul 29 10:53:05 argon systemd[1422]: wireplumber.service: Consumed 5min 6.906s CPU time.
Bug#1042713: wireplumber: High cpu usage
Le lun. 31 juil. 2023 à 00:21, Nick 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
Bug#1042713: wireplumber: High cpu usage
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 pn wireplumber-doc -- no debconf information