[pulseaudio-tickets] [Bug 95411] New: Bluetooth 2 latency gets ridiculously high after few hours
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun May 15 18:31:14 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95411
Bug ID: 95411
Summary: Bluetooth 2 latency gets ridiculously high after few
hours
Product: PulseAudio
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: core
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: bugs.freedesktop at mailinator.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Hello,
i have issue with bluetooth speaker. it creates loud pop when it's
(un)suspended by module-suspend-on-idle. so i proceeded to disable
suspend-on-idle, but when i leave it on for few hours, the latency gets huge.
Like 2 seconds or more. I suppose it has something to do with DAC clock (or
samplerate) in bluetooth speakers being little bit slower than nominal. And the
error adds up over time resulting in growing latency.
When i manualy reconnect to speaker it gets fixed.
Do you have any idea how to fix this? I think it needs something that will
reset the stream when no audio is played, pretty much like suspend-on-idle
does, but without powering the bt device off (which causes pop). it's really
annoying. sometimes it scares the crap out of me, when speakers are on full
volume and it pops when i eg. receive IM mesage. also it's probably not
healthy for the speakers (i use conventional speakers with amp and bt
receiver).
I know the popping is mostly HW error. But it can be worked around by disabling
suspend-on-idle, which then causes latency problems (also somehow HW related).
And i think the latency problem can be somehow fixed in SW by restarting the
stream or cleaning some buffer that causes the latency...
BTW 2 seconds of latency are quite a lot... Is there even chance, that cheap BT
device has 2 second buffer? Maybe it's pulse audio that has 2 second latency.
And it would be easily fixed by not buffering silence. Or by deleting this
buffer when idle.
UPDATE: when i physically disconnect the bluetooth it stops playing
imediatelly, so latency probably originates on laptop side. not in
speaker/receiver. so probably PA's fault.
Any ideas?
See also: [pulseaudio-discuss] bluetooth latency gets gradually worse over time
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160515/b1c62e57/attachment.html>
More information about the pulseaudio-bugs
mailing list