Bluetooth disconnects when playing track changes
$ pipewire --version
pipewire
Compiled with libpipewire 0.3.40
Linked with libpipewire 0.3.40
$ cat /etc/os-release | grep PRETTY_NAME
PRETTY_NAME="NixOS 22.05 (Quokka)"
$ sway --version
sway version 1.6.1
$ uname -r
5.15.7
$ bluetoothctl --version
bluetoothctl: 5.62
$ lsusb -tv
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 12M
ID 27c6:533c Shenzhen Goodix Technology Co.,Ltd.
|__ Port 6: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
ID 0c45:672a Microdia
|__ Port 6: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
ID 0c45:672a Microdia
|__ Port 6: Dev 7, If 2, Class=Video, Driver=uvcvideo, 480M
ID 0c45:672a Microdia
|__ Port 6: Dev 7, If 3, Class=Video, Driver=uvcvideo, 480M
ID 0c45:672a Microdia
|__ Port 10: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
|__ Port 10: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp. AX201 Bluetooth
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
$ $ firefox --version
Mozilla Firefox 91.4.1esr
Description of Problem:
Sometimes, when a track switches, bluetooth connection to the headset is lost.
I use mpris-proxy
as a user systemd service.
I've been able to reproduce it only with firefox
Steps to Reproduce:
- Open firefox
- Start some media player with playlists (I use vk.com)
- Wait for the track to end, and a new track to start
- Bluetooth may disconnect here
Expected Results:
Bluetooth does not disconnect
Additional Info (as attachments):
16:29:14 systemd[2472]: pipewire-media-session.service: Main process exited, code=killed, status=11/SEGV
16:29:14 systemd[2472]: pipewire-media-session.service: Failed with result 'signal'.
16:29:14 systemd[2472]: pipewire-media-session.service: Consumed 18min 57.175s CPU time.
16:29:14 systemd[2472]: pipewire-media-session.service: Scheduled restart job, restart counter is at 3.
16:29:14 systemd[2472]: pipewire-media-session.service: Consumed 18min 57.175s CPU time.
16:29:15 pipewire[2702]: Cannot connect to server socket err = No such file or directory
16:29:15 pipewire[2702]: Cannot connect to server request channel
16:29:15 pipewire[2702]: jack server is not running or cannot be started
16:29:15 pipewire[2702]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
16:29:15 pipewire[2702]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
16:29:15 pipewire[2702]: jack-device 0x55655595bca8: can't open client: Connection refused
- Bluetooth debug log, see here: (not yet)