Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1925790 - Unable to listen to audio on bluetooth headphone (A2DP)
Summary: Unable to listen to audio on bluetooth headphone (A2DP)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1906086
TreeView+ depends on / blocked
 
Reported: 2021-02-06 16:05 UTC by Carlos Goncalves
Modified: 2021-03-23 00:16 UTC (History)
4 users (show)

Fixed In Version: pipewire-0.3.24-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-23 00:16:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carlos Goncalves 2021-02-06 16:05:40 UTC
No sound comes out of the headphone on A2DP profile. I did a couple of bluetooth re-pairings to no avail. Profile switching between A2DP and HFP/HSP, and audio output switching (laptop built-in speakers) did not help either.

Audio output on A2DP profile worked on pipewire 0.3.20, so it very likely a regression in 0.3.21:
https://gitlab.freedesktop.org/pipewire/pipewire/-/tags/0.3.21

Headphones: Bose NC 700 (SBC, AAC codecs)
Fedora Rawhide up-to-date as of February 6, 2021.

Version-Release number of selected component (if applicable):
$ rpm -qa | egrep "pulseaudio|pipeire|gstream|bluez"
bluez-libs-5.55-3.fc34.x86_64
pulseaudio-libs-14.2-2.fc34.x86_64
pulseaudio-libs-glib2-14.2-2.fc34.x86_64
gstreamer1-1.18.2-2.fc34.x86_64
gstreamer1-plugins-base-1.18.2-2.fc34.x86_64
gstreamer1-plugins-good-qt-1.18.2-2.fc34.x86_64
gstreamer1-plugins-good-1.18.2-2.fc34.x86_64
bluez-5.55-3.fc34.x86_64
bluez-obexd-5.55-3.fc34.x86_64
gstreamer1-plugins-bad-free-1.18.2-5.fc34.x86_64
gstreamer1-plugin-openh264-1.16.2-2.fc34.x86_64
gstreamer1-plugins-ugly-free-1.18.2-2.fc34.x86_64
gstreamer1-plugins-good-gtk-1.18.2-2.fc34.x86_64
bluez-cups-5.55-3.fc34.x86_64
PackageKit-gstreamer-plugin-1.2.2-3.fc34.x86_64
pipewire-gstreamer-0.3.21-2.fc34.x86_64
pipewire-pulseaudio-0.3.21-2.fc34.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Play audio media (laptop built-in speakers)
2. Open GNOME Settings and pair headphone via bluetooth
3. Switch to "Sound" tab on GNOME Settings
4. Audio output changed from built-in speakers to headphones
   * Audio output: "Headphone - Bose NC 700 Headphones"
   * Configuration: "High Fidelity Playback (A2DP Sink)"
5. Sound is still coming out from built-in speakers
6. Test (left/right speakers) outputs no audio

Actual results:

Pairing
=======

Feb 06 16:21:17 fedora kernel: input: Bose NC 700 Headphones (AVRCP) as /devices/virtual/input/input19
Feb 06 16:21:17 fedora obexd[2165]: CONNECT(0x0), <unknown>(0xff)
Feb 06 16:21:17 fedora obexd[2165]: CONNECT(0x0), <unknown>(0x0)
Feb 06 16:21:17 fedora systemd-logind[829]: Watching system buttons on /dev/input/event14 (Bose NC 700 Headphones (AVRCP))
Feb 06 16:21:17 fedora obexd[2165]: SETPATH(0x5), <unknown>(0xff)
Feb 06 16:21:17 fedora obexd[2165]: stat(/home/cgoncalves/phonebook/): No such file or directory (2)
Feb 06 16:21:17 fedora obexd[2165]: SETPATH(0x5), Not Found(0x44)

Sound test (GNOME Settings)
===========================

Feb 06 16:25:18 fedora pipewire-media-session[1943]: node 86 target:73 not found, find fallback:1
Feb 06 16:25:18 fedora pipewire-media-session[1943]: no node found for 86
Feb 06 16:25:18 fedora pipewire-pulse[1661]: stream 0x562b9d2669e0: error no node available
Feb 06 16:25:18 fedora pipewire-pulse[1661]: pulse-server 0x562b9df8c1a0: [gnome-control-center] ERROR command:-1 (invalid) tag:3 error:25 (Input/output error)
Feb 06 16:25:18 fedora pipewire-media-session[1943]: node 86 target:73 not found, find fallback:1
Feb 06 16:25:18 fedora pipewire-media-session[1943]: no node found for 86
Feb 06 16:25:18 fedora pipewire-pulse[1661]: stream 0x562b9d266330: error no node available
Feb 06 16:25:18 fedora pipewire-pulse[1661]: pulse-server 0x562b9df8c1a0: [gnome-control-center] ERROR command:-1 (invalid) tag:4 error:25 (Input/output error)
Feb 06 16:25:18 fedora pipewire-media-session[1943]: node 86 target:73 not found, find fallback:1
Feb 06 16:25:18 fedora pipewire-media-session[1943]: no node found for 86
Feb 06 16:25:18 fedora pipewire-pulse[1661]: stream 0x562b9d266330: error no node available
Feb 06 16:25:18 fedora pipewire-pulse[1661]: pulse-server 0x562b9df8c1a0: [gnome-control-center] ERROR command:-1 (invalid) tag:5 error:25 (Input/output error)
Feb 06 16:25:18 fedora gnome-control-c[2115]: Failed to play sound: IO error

Similar logs observed when playing videos on YouTube on Firefox.

Comment 1 Ben Cotton 2021-02-09 16:14:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 2 Federico Bruni 2021-03-06 22:33:23 UTC
I have the same problem with a bluetooth speaker.
I'm using Fedora 34 (prerelease) Silverblue.

My versions:

$ rpm -qa | egrep "pulseaudio|pipewire|gstream|bluez"
bluez-libs-5.55-3.fc34.x86_64
gstreamer1-1.18.2-2.fc34.x86_64
pulseaudio-libs-14.2-3.fc34.x86_64
bluez-5.55-3.fc34.x86_64
pulseaudio-libs-glib2-14.2-3.fc34.x86_64
bluez-obexd-5.55-3.fc34.x86_64
pipewire-libs-0.3.22-5.fc34.x86_64
pipewire-0.3.22-5.fc34.x86_64
pipewire-pulseaudio-0.3.22-5.fc34.x86_64
gstreamer1-plugins-base-1.18.2-2.fc34.x86_64
pipewire-gstreamer-0.3.22-5.fc34.x86_64
pipewire0.2-libs-0.2.7-5.fc34.x86_64
gstreamer1-plugins-bad-free-1.18.2-7.fc34.x86_64
gstreamer1-plugins-good-qt-1.18.2-2.fc34.x86_64
gstreamer1-plugins-good-1.18.2-2.fc34.x86_64
gstreamer1-plugins-good-gtk-1.18.2-2.fc34.x86_64
bluez-cups-5.55-3.fc34.x86_64
gstreamer1-plugins-ugly-free-1.18.2-2.fc34.x86_64
pipewire-alsa-0.3.22-5.fc34.x86_64
pipewire-jack-audio-connection-kit-0.3.22-5.fc34.x86_64
pipewire-utils-0.3.22-5.fc34.x86_64

Comment 3 Federico Bruni 2021-03-06 22:45:57 UTC
For the records, here you can find troubleshooting tips:
https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting#bluetooth

Anyway, playback works for me if in Sound settings I choose the configuration called "High Fedelity Playback (A2DP Sink, codec SBC)". Sound testing and system sounds work fine.

Lollypop (flatpak) by default plays using the laptop builtin' speakers, because it's missing this permission:
filesystem=xdg-run/pipewire-0:ro

Comment 4 Fedora Update System 2021-03-18 14:28:01 UTC
FEDORA-2021-2c994d0609 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2c994d0609

Comment 5 Fedora Update System 2021-03-18 21:48:07 UTC
FEDORA-2021-2c994d0609 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2c994d0609`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2c994d0609

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-03-23 00:16:15 UTC
FEDORA-2021-2c994d0609 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.