I have Debian 13 with Xfce running on a Dell Latitude 7490 laptop which has
builtin Bluetooth. I paired with a JBL Go 5 speaker and was able to listen
to music.
However at the beginning of each track there was a one second hesitation before
the music started. With the sound of Biff (a dog) barking, the first bark was
distorted. The problem is the aggresive power saving in Pipewire.
There is no mention of this in the WiKi, so I turned to Gemini but Gemini's
suggestion does not work - it invents and uses the wrong directory
(.config/wireplumber/wireplumber.conf.d/) .
Placing Gemini's JSON code in directory
/usr/share/wireplumber/wireplumber.conf.d/ and restarting bluetooth.service
does
seem to fix the problem.
It needs someone else to do an independent test, but I wondered if it would of
any interest to add this to the WiKi, once tested.
Roger
=============== Gemini's suggestion modified ========================
Sound hesitates at start for one second
---------------------------------------
This is due to aggresive power saving in Pipewire. The problem may be fixed by
disabling power suspend on idle in Pipewire and Wireplumber.
1) In directory /usr/share/wireplumber/wireplumber.conf.d/ , create file
51-disable-suspension.conf as follows :
# SPA-JSON file due to Gemini
# Disable power suspend on idle
monitor.alsa.rules = [
{
matches = [
{
# Match all audio sinks
node.name = "~alsa_output.*"
}
]
actions = {
update-props = {
session.suspend-on-idle = false
}
}
}
]
2) Restart bluetooth : systemctl restart bluetooth
--
The lyf so short, the craft so long to lerne.
Chaucer, 14th C. Seen in Emacs mailing list.