Wireplumber maxing out CPU

Hi, does anyone else have this weird issue where wireplumber maxes out a CPU after connecting a bluetooth device? It happens whenever I connect my headset; soon after I hear the laptop’s fan going, check htop, and I find one CPU running close to 100%, spending its time on a wireplumber process. I then restart the wireplumber service with systemctl --user restart wireplumber, the bluetooth connection gets restarted, and the CPU goes back to normal. Sometimes I’ll forget to restart wireplumber, watch a movie, and when I’m done wireplumber is still maxing out the CPU (uselessly, it appears).

Here’s my system’s information as outputted by inxi:

  Kernel: 5.18.15-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36 Desktop: GNOME v: 42.3.1
    Distro: Fedora release 36 (Thirty Six)
  Type: Laptop System: Acer product: Aspire A515-52 v: V1.12
    serial: <superuser required>
  Mobo: WL model: Raticate_WL v: V1.12 serial: <superuser required>
    UEFI: Insyde v: 1.12 date: 04/26/2019
  ID-1: BAT1 charge: 15.3 Wh (49.7%) condition: 30.8/48.9 Wh (62.9%)
    volts: 14.9 min: 15.2 model: LG PABAS0241231 status: discharging
  Info: quad core model: Intel Core i5-8265U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check rev: C cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 764 high: 800 min/max: 400/3900 cores: 1: 700 2: 700
    3: 718 4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620]
    vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen9.5
    bus-ID: 00:02.0
  Device-2: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 1-7:4
  Display: wayland server: X.Org v: with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2)
    v: 4.6 Mesa 22.1.4 direct render: Yes
  Device-1: Intel Cannon Point-LP High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.18.15-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 4000
    bus-ID: 01:00.1
  IF: enp1s0f1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Lite-On driver: ath10k_pci v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth type: USB
    driver: btusb v: 0.8 bus-ID: 1-10:5
  Report: rfkill ID: hci0 rfk-id: 6 state: up address: see --recommends
  Local Storage: total: 238.47 GiB used: 61.78 GiB (25.9%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: RBUSNS8154P3256GJ1
    size: 238.47 GiB temp: 27.9 C
  ID-1: / size: 236.87 GiB used: 61.52 GiB (26.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-da335ae1-78ce-4993-ab52-fd23ec26d296
  ID-2: /boot size: 973.4 MiB used: 257.9 MiB (26.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 14 MiB (2.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 236.87 GiB used: 61.52 GiB (26.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-da335ae1-78ce-4993-ab52-fd23ec26d296
  ID-1: swap-1 type: zram size: 7.61 GiB used: 134.1 MiB (1.7%)
    dev: /dev/zram0
  System Temperatures: cpu: 50.0 C pch: 44.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 575 Uptime: 11h 49m Memory: 7.61 GiB used: 4.8 GiB (63.1%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 Packages: N/A
  note: see --pkg Shell: fish v: 3.5.0 inxi: 3.3.19

It seems to be this problem, which apparently has a to-be-merge solution in this merge request. I hope it gets merged and into fedora as soon as possible :slight_smile:


This is the current workaround: systemctl restart wireplumber --user