Bluetooth audio stutters in audio playback when opening Bluetooth settings in system tray or in web-ui |
||||||||
Issue descriptionChrome Version: 58.0.3029. OS: Chrome OS - 9334.2.0 Firmware: Google_Samus.6300.174.0 What steps will reproduce the problem? (1) Play video (internal corp Google drive). (2) Use Bluetooth audio (headphones). Playback is fine. (3) Open system tray and navigate to Bluetooth page. What is the expected result? Video and audio playback unaffected. What happens instead? Audio playback stutters badly. Please use labels and text to provide additional information. Possibly related to Bluetooth discovery. If this is hard to reproduce - please request logs / recording.
,
Mar 16 2017
Yes, I can still repro this with arbitrary YT video as well with the same Sennheiser Momentum 2 BT headset (https://goo.gl/8JdGPY available from https://goo.gl/TLsGXR). See https://goo.gl/photos/C6aLTMyMKdRyaJVx6 for how it sounds. I'll attach net logs in a bit.
,
Mar 16 2017
Attaching a log. The recording should be about 30 seconds and I have opened and closed the Bluetooth details page twice while playing a YT video.
,
Mar 16 2017
,
Mar 16 2017
I can also reproduce this with another samus I have in M-56 using an old test dev build (56.0.2924.109 / 9000.89.0) both with ash-md flag enabled or disabled. So this is not a regression, at least not a recent one and is not specific to MD UI.
,
Mar 17 2017
Hi varkha@, Can you reproduce the issue when you discover the devices from Settings? (e.g. chrome://md-settings/bluetoothDevices on ToT) If it occurs only on system menu, it might be caused by inefficient algorithm to refresh the device list. It re-creates the whole list on every refresh, and I saw that the list refresh occurs 5 times in one second on samus.
,
Mar 17 2017
Yes, it seems same in chrome://md-settings/bluetoothDevices. The cycle seems to be about 16 seconds during which there is about 10 seconds of stuttering and then 5-6 seconds of clear audio; then the cycle repeats until you close the BT settings page or navigate away from the details page in the menu. It is also reproducible for audio-only playback (Play Music).
,
Mar 17 2017
It sounds like this is probably related to Bluetooth scanning which we do when either the system tray or the Settings UI is open.
,
Mar 17 2017
Is this a regression or always happened?
,
Mar 17 2017
#9, I have only noticed this recently (in M-58) but I went as far back as M-56 and it is reproducible there.
,
Mar 17 2017
Additionally (possibly a separate bug as of 58.0.3029.18): After opening a browser window and navigating to chrome://md-settings, the Bluetooth gets immediately disabled system-wide (seems like the page load currently forces BT off). After re-enabling BT and closing this page the stutter does not stop. Could it be that the BT scanning is not stopped when the page is navigated away from? There is probably some way to stop scanning but I could not find a way other than restarting the OS.
,
Mar 17 2017
varkha@ - That would definitely be a bug, would you mind confirming that and filing a separate issue for the MD Settings behavior? There is code that is intended to ensure that scanning is stopped regardless of how the window is closed, but it is certainly possible that is broken? We certainly should not be forcing Bluetooth to off!
,
Mar 17 2017
,
Mar 21 2017
Hi Miao, According to the bug description and comment #7, it seems BT audio playback stutters while the Bluetooth adapter is discovering devices on samus. Could you take a look at this issue?
,
Mar 21 2017
#12, filed bugs: bug 703694 (initial state on chrome://md-settings) bug 703698 (scanning does not stop when closing chrome://md-settings)
,
Apr 25 2017
,
Jul 21 2017
I have this exact same issue on a Toshiba Chromebook 2. Once I opened the Bluetooth settings after pairing my headphones (Bose QC35), it started stuttering and won't stop. I've rebooted and unpaired and repaired the headphones. It causes the video to visibly stutter with it. I can attach any logs that would be useful.
,
Jul 21 2017
#17, tried with 61.0.3159.8. Stuttering (constant and quite bad) is there while BT discovery is active (this bug) but it goes away after closing the BT details page in system menu or chrome://settings ( bug 703698 that I can see was fixed in M-59) with no need for reboot or re-pairing. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by pbath...@chromium.org
, Mar 15 2017