Bluetooth audio skips while the settings dialog is open

Bug #1797002 reported by Ivan
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Confirmed
Low
Unassigned
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned
pulseaudio (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

all my bluetooth headsets skips terribly after today's system update.
it is heavy noticeable even on audio setting test form.
it work just fine today before i applied updates.

even reinstall ubuntu from scratch - didn't help.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bluetooth (not installed)
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
Uname: Linux 4.15.0-36-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 9 18:40:44 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-10-09 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Hewlett-Packard HP ENVY 17 Notebook PC
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=fc44a9dc-e173-43fb-ac3a-fdeadb1066e0 ro quiet splash vt.handoff=1
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/22/2015
dmi.bios.vendor: Insyde
dmi.bios.version: F.66
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 1968
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 93.52
dmi.chassis.asset.tag: 5CG32907G7
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.66:bd09/22/2015:svnHewlett-Packard:pnHPENVY17NotebookPC:pvr0885100000305B00000610100:rvnHewlett-Packard:rn1968:rvrKBCVersion93.52:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV G=N L=CON B=HP S=ENV
dmi.product.name: HP ENVY 17 Notebook PC
dmi.product.version: 0885100000305B00000610100
dmi.sys.vendor: Hewlett-Packard
hciconfig:
 hci0: Type: Primary Bus: USB
  BD Address: 68:17:29:62:BE:6A ACL MTU: 310:10 SCO MTU: 64:8
  UP RUNNING PSCAN ISCAN INQUIRY
  RX bytes:16831 acl:64 sco:0 events:1798 errors:0
  TX bytes:688571 acl:2399 sco:0 commands:125 errors:0

Revision history for this message
Ivan (ivmbusiness) wrote :
Revision history for this message
Ivan (ivmbusiness) wrote :

Also side comment:
`Architecture: amd64` - though i am using: Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The last bluez update was 3 months ago, so whatever changed for you recently it's not bluez. It's also not pulseaudio (4 months ago).

Most likely this is related to the kernel update that was released 8 days ago.

Changed in bluez (Ubuntu):
status: New → Invalid
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
anlag (modellera) wrote : Re: all my bluetooth headsets skips terribly after todays update

I'm experiencing this as well. After rebooting today for the first time since September 25, I noticed somewhat choppy audio over bluetooth, first with mp3s on disk, then tried Youtube and it was significantly worse. Same audio content over laptop speakers seems to play without problems. Attaching a pulseaudio verbose log in case that helps.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ivan:

Please attach a copy of your:
  /var/log/apt/history.log
  /var/log/dpkg.log
So that we can see what packages changed around 10 October.

------

anlag:

Please open a new bug by running:
  ubuntu-bug pulseaudio
and also attach the same files requested above to your new bug.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in bluez (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Ivan (ivmbusiness) wrote :

Here they are, bu today I've tried to update with check box pre-release updates

Revision history for this message
Ivan (ivmbusiness) wrote :

and dpkg.log

but again, it doesn't work even with fresh installation over formatted partition, can try it again tomorrow

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks Ivan. It appears your bluez and pulseaudio packages last updated on 2018-07-25, so they won't be the cause of any recent regressions.

I think this kernel upgrade on 2018-10-09 might be what changed:
linux-generic:amd64 (4.15.0.29.31 --> 4.15.0.36.38)

Please try downgrading your kernel, like to version 4.14:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/

Changed in bluez (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The change could also be a coincidence and environmental, like:

 * a new 2.4GHz wifi network or device was recently introduced nearby, degrading Bluetooth signal quality.

 * a new Bluetooth device was introduced nearby, degrading the signal quality of audio.

Revision history for this message
Ivan (ivmbusiness) wrote :

Thanks for you help.

doubt about environmental reason because this laptop also has windows and everything continue to work fine in windows. even tried to reconnect my headsets in windows - still works. but it not convenient to boot in to win in order to use my headset.
Anyway- trying to downgrade my kernel, will key you posted.

Revision history for this message
Ivan (ivmbusiness) wrote :

After downgrading core bluetooth device disappeared, and installing most recent one didn't help to bring it back.
I am just not enough familiar with linux to be able reinstall it manually.
had to reinstall whole ubuntu from scratch - still have same problems.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's strange. Your Bluetooth chip looks like a common one that any Linux kernel version should support:
  https://ark.intel.com/products/66889/Intel-Centrino-Wireless-N-2230-Single-Band

As a quick check, please live boot the original 18.04.0 release:
  http://old-releases.ubuntu.com/releases/18.04.0/
and verify it was working in that version before any updates.

Revision history for this message
Ivan (ivmbusiness) wrote :

Hi,
it was a great idea to test by running without installation,
and i test it on:
ubuntu-16.04.1-desktop-amd64 - don't see my Bluetooth headset
ubuntu-17.10.1-desktop-amd64 - same problems with skipping as with current version
ubuntu-18.04-desktop-amd64 - same problems with skipping as with current version

so basically it doesn't work at all and the biggest mystery as for me is why i was able to use my headset on ubuntu at least for half a day when i installed it first time? and why it works perfect right now on windows...

so i guess the fact that bluetooth works under windows - excluded hardware problem.

Revision history for this message
Ivan (ivmbusiness) wrote :

hi,
FINALLY, i was able to localize problem :)

all my headsets are skipping only when setting window is open!
so basically when you click test left or test right - it is in settings window and thus it sounds terribly.
But, if you close setting window - every headset works just fine (on online radio for example).

my guess would be that while settings window is open - system constantly looking for available devices and thus interfere with present devices.

Sorry guys for all these troubles, meanwhile solution was so simple.

Thanks

summary: - all my bluetooth headsets skips terribly after todays update
+ Bluetooth audio skips while the settings dialog is open
Changed in bluez (Ubuntu):
status: Invalid → New
no longer affects: linux (Ubuntu)
Changed in bluez (Ubuntu):
importance: Undecided → Low
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Changed in pulseaudio (Ubuntu):
importance: Undecided → Low
tags: added: a2dp a2dp-skip
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bluez (Ubuntu):
status: New → Confirmed
Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can anyone experiencing this bug please report it upstream?

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues

And then tell us the new issue ID.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Unsure if that's something settings could change though, it's probably due to the panel triggering bluetooth discovery automatically

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yeah OK... Anyone experiencing this bug please also report it to BlueZ upstream:

https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers&component=Bluetooth

and then tell us the new bug ID.

Revision history for this message
8765pu (8765pukxbhc876y-deactivatedaccount) wrote :

Hello,

Thank you for looking at this issue.

If source code propagate downstream, then I think it would be a good idea to come up with a system that propagates bug reports upstream.

If that effort is underway I will consider registering on arbitrary other bug trackers in the meantime as a stopgap solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.