Bug 1058053 - Bluetooth headset stops working after pulseaudio update to 10.99
Summary: Bluetooth headset stops working after pulseaudio update to 10.99
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Sound (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Major with 1 vote (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 10:20 UTC by Martin Wilck
Modified: 2017-09-14 09:17 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
log file of pulseaudio 11.0 (493.41 KB, text/x-log)
2017-09-11 12:49 UTC, Martin Wilck
Details
log file of pulseaudio 10.0 (500.19 KB, text/plain)
2017-09-11 12:52 UTC, Martin Wilck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wilck 2017-09-11 10:20:14 UTC
I have a bluetooth headset that worked very well with TW until recently.

Physically, it's actually not a classical headset but an add-on turning hearing aids into a headset:

http://unitron.com/content/unitron/us/en/professional/hearing-solutions/accessories/hearing-instrument-accessories/udirect-3.html

Anyway, it has the same functionality that ordinary bluetooth headsets usually have.

Sound output on this device stopped working after a larger zypper dup I did on August 14. Among others, that update included both pulseaudio and bluez updates. I experimented with snapshots and found that the pulseaudio update seems to be the culprit.

The the device can be coupled via bluetooth as usual, and it can be set as sink in pulse, but all I hear is a low "feep" tone and then nothing. I hear that "feep" in the good case (pulseaudio 10.0) too, but other sounds are then played normally. The pulse source through the device's mic is not affected.
Comment 1 Martin Wilck 2017-09-11 10:52:46 UTC
Trying to clarify what I did to "fix" the problem:

I force-downgraded all the below rpms to their 10.0-2.3 counterparts:

pulseaudio-10.99.1-1.1.x86_64
pulseaudio-utils-10.99.1-1.1.x86_64
libpulse-mainloop-glib0-10.99.1-1.1.x86_64
pulseaudio-module-bluetooth-10.99.1-1.1.x86_64
libpulse0-10.99.1-1.1.x86_64
libpulse0-32bit-10.99.1-1.1.x86_64
pulseaudio-module-gconf-10.99.1-1.1.x86_64
pulseaudio-bash-completion-10.99.1-1.1.x86_64
alsa-plugins-pulse-1.1.4-1.2.x86_64
pulseaudio-module-x11-10.99.1-1.1.x86_64
pulseaudio-equalizer-2.7.0.2-6.5.noarch
pulseaudio-utils-32bit-10.99.1-1.1.x86_64
alsa-plugins-pulse-32bit-1.1.4-1.2.x86_64
pulseaudio-module-lirc-10.99.1-1.1.x86_64
pulseaudio-module-zeroconf-10.99.1-1.1.x86_64

I didn't have the 10.0-2.3 rpm packages around any more, so what I actually did is copy the *contents* of those packages from a btrfs snapshot I had to the current snapshot using cpio copy-pass mode.

The full list of changed files wrt a clean pulseaudio 10.99 installation is:

S.5....T.  c /etc/pulse/daemon.conf
..5....T.    /usr/bin/pulseaudio
S.5....T.  d /usr/share/man/man1/pulseaudio.1.gz
S.5....T.  d /usr/share/man/man5/pulse-daemon.conf.5.gz
..5....T.    /usr/share/pulseaudio/alsa-mixer/paths/analog-input-headset-mic.conf
S.5....T.    /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
..5....T.    /usr/bin/pacat
..5....T.    /usr/bin/pacmd
..5....T.    /usr/bin/pactl
S.5....T.    /usr/bin/padsp
..5....T.    /usr/bin/pasuspender
..5....T.    /usr/bin/pax11publish
S.5....T.    /usr/lib64/pulseaudio/libpulsedsp.so
S.5....T.  d /usr/share/man/man1/pactl.1.gz
..5....T.    /usr/lib64/libpulse-mainloop-glib.so.0.0.5
..5....T.    /usr/lib/pulse/gconf-helper
S.5....T.    /etc/xdg/autostart/pulseaudio.desktop
S.5....T.    /usr/lib/pulseaudio/libpulsedsp.so

Next I'll try to recompile pulse 10.0 cleanly in obs.
Comment 2 Martin Wilck 2017-09-11 11:07:27 UTC
The problem described persists if I update pulseaudio to 11.0.
Comment 3 Martin Wilck 2017-09-11 12:22:14 UTC
Confirmed with re-built pulseaudio 10.0 on

https://build.opensuse.org/project/show/home:mwilck:branches:multimedia:libs

The problem is gone.
Comment 4 Martin Wilck 2017-09-11 12:49:02 UTC
Created attachment 740206 [details]
log file of pulseaudio 11.0

Log file of pulseaudio 11.0 while trying to work with the BT headset. Nothing is heard except a few feeble noises.
Comment 5 Martin Wilck 2017-09-11 12:52:16 UTC
Created attachment 740208 [details]
log file of pulseaudio 10.0

Log file of pa 10.0, with nice output in headset.
Comment 6 Martin Wilck 2017-09-11 13:26:53 UTC
I can't see anything suspicious in these logs so far. PA 11.0 doesn't error out; it just doesn't seem to play sound in a way that the headset could transform into something actually audible.
Comment 7 Martin Wilck 2017-09-11 14:46:07 UTC
I also have a Twiek6: http://www.audiovox.de/produkte/twiek6-2/

It seems not to work with PA11 on TW, either.
Comment 8 Martin Wilck 2017-09-11 14:47:55 UTC
I've played around with various hints found on the web, neither has had an effect:


load-module module-bluetooth-discover headset=native in default.pa

resample-method = trivial in daemon.conf (tried other settings as well).
Comment 9 Martin Wilck 2017-09-11 14:51:36 UTC
disabling module-suspend-on-idle also had no effect (already thought so, because the module was already enabled with 10.0 as well)
Comment 10 Martin Wilck 2017-09-11 15:00:00 UTC
Upstream bug report: https://bugs.freedesktop.org/show_bug.cgi?id=102660
Comment 11 Martin Wilck 2017-09-14 09:17:46 UTC
As noted in the upstream bug, here's a workaround for PA 10.99 and 11.0:

load-module module-bluetooth-discover autodetect_mtu=false

The default for "autodetect_mtu" is likely to change to "false" in 11.1.