Re: Audio playback over bluetooth stutters during scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

On Sun, May 30, 2021 at 4:58 AM Christian Stadelmann <dev@xxxxxxxxxxxxxx> wrote:
>
> Dear bluez developers,
>
> whenever I start bluetooth scanning on my PC, any audio playback over
> bluetooth stutters.
>
> Example #1 with GUI tools:
> https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/409
>
> Example #2 with bluetoothctl:
> 1. Connect a bluetooth speaker or headphone to the PC
> 2. start audio playback (e.g. using totem)
> 3. run `bluetoothctl scan on`
>
> What happens:
> As long as bluetooth scan is runnig, audio playback stutters. Once I
> kill `bluetoothctl scan on` or close gnome's control center, audio
> playback is back to normal.
>
> Would it be possible to modify the scanning behaviour in a way that it
> does not make audio playback stutter?

I'm afraid this may be controller specific, afaik our parameters for
scanning are not that aggressive that would force the controller to
throttle but perhaps some controllers would attempt to prioritize the
inquiry requests over an ACL connection, so we probably need to
investigate if there is some way to get work around this problem even
if that means we discovery will be slower. Btw, are you testing this
in a crowded environment?

>
> Software versions (Fedora 34):
> bluez 5.58 (5.58-2.fc34.x86_64)
> kernel 5.12.7 (5.12.7-300.fc34.x86_64)
>
> PS: I've attached the output of `$ bluetoothctl info` and `$
> bluetoothctl show` but I doubt it is relevant for this issue.
>
> --
> Kind Regards
> Chris
>


-- 
Luiz Augusto von Dentz



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux