CPU utilization increases drastically after turning off bluetooth headphone
I noticed after upgrading to 0.3.21 (which did improve a lot the experience) that when I turn off my headphone (without disconnecting), CPU utilization will go up to 100% (on a single core) for the pipewire process.
I'm running arch with pipewire + pipewire-alsa + pipewire-pulse.
I find multiple lines like this on journalctl -u pipewire
(masked device):
Feb 09 23:23:57 tristram pipewire[931]: (bluez_input.xxx.a2dp-sink-59) client too slow! rate:512/48000 pos:191157760 status:triggered
Feb 09 23:23:57 tristram pipewire[931]: (bluez_input.xxx.a2dp-sink-59) client too slow! rate:512/48000 pos:191157760 status:triggere
Feb 09 23:37:10 tristram systemd[921]: pipewire.service: Found left-over process 960 (pipewire-media-) in control group while starting unit. Ignoring.
Feb 09 23:37:10 tristram systemd[921]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nothing useful from pipewire-pulse logs:
Feb 09 20:57:28 tristram pipewire-pulse[930]: pulse-server 0x55b39fd68620: [Firefox] UNDERFLOW channel:2 offset:726296 underrun:3768
Feb 09 22:26:45 tristram pipewire-pulse[930]: pulse-server 0x55b39fd68620: [Firefox] UNDERFLOW channel:2 offset:726296 underrun:3768
Feb 09 23:35:40 tristram systemd[921]: Stopping PipeWire PulseAudio...
Please let me know how/if I can collect more information.