pipewire stutters under load with bluetooth headphones
- PipeWire version (
pipewire --version
):
pipewire Compiled with libpipewire 0.3.59 Linked with libpipewire 0.3.59
-
Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Gentoo Linux -
Desktop Environment: KDE
-
Kernel version (
uname -r
): 6.0.2 -
BlueZ version (
bluetoothctl --version
): bluetoothctl: 5.65 -
Bluetooth devices:
WH-1000XM5
Description of Problem:
When using bluetooth headphones (sony WH-1000XM5) and the load of the machine has a spike (that could mean a heavy page opened with browser or doing simple operations when compiling stuff) the music that is coming, say, from spotify stutters. This does not happens in the same situation with wire (audio jack) connected headphones. No firmware error or similar messages in logs. Quite often the issue happens at the start of the song, improving after few seconds. It reminds me some buffer underrun, but I could be wildly wrong. The issue happens quite markedly with A2DP, not completely sure with HSP/HFP