Pulseaudio: old packages for managing sounds protocol for Ubuntu Pipewire: new packages for managing sounds protocol for Ubuntu > 22.10
You can use command pactl info | grep -i "server name" to see which package your system is using.
The VR application ALVR needs pipewire to enable sound in VR. ALVR require you to sudo apt install pipewire pipewire-alsa pipewire-pulse. However, this switch from pulseaudio to pipewire causes my bluetooth earphone unable to connect with error:
```tail -f /var/log/syslog Feb 13 16:48:25 KokeCacao-Ubuntu bluetoothd[1150]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for EB:06:EF:1B:11:65: Protocol not available Feb 13 16:48:28 KokeCacao-Ubuntu bluetoothd[1150]: message repeated 6 times: [ src/service.c:btd_service_connect() a2dp-sink profile connect failed for EB:06:EF:1B:11:65: Protocol not available]
Same issue when manually connect with bluetooth.
[bluetooth]# remove EB:06:EF:1B:11:65 [DEL] Device EB:06:EF:1B:11:65 BH129 Device has been removed [NEW] Device EB:06:EF:1B:11:65 BH129 [CHG] Device 80:47:86:7F:36:39 RSSI: -90 [bluetooth]# pair EB:06:EF:1B:11:65 Attempting to pair with EB:06:EF:1B:11:65 [CHG] Device EB:06:EF:1B:11:65 Connected: yes [CHG] Device EB:06:EF:1B:11:65 UUIDs: 00001108-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb [CHG] Device EB:06:EF:1B:11:65 ServicesResolved: yes [CHG] Device EB:06:EF:1B:11:65 Paired: yes Pairing successful [BH129]# trust EB:06:EF:1B:11:65 [CHG] Device EB:06:EF:1B:11:65 Trusted: yes Changing EB:06:EF:1B:11:65 trust succeeded [CHG] Device EB:06:EF:1B:11:65 ServicesResolved: no [CHG] Device EB:06:EF:1B:11:65 Connected: no [bluetooth]# connect EB:06:EF:1B:11:65 Attempting to connect to EB:06:EF:1B:11:65 Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
If you try to uninstall `pipewire pipewire-alsa pipewire-pulse`, it will [attempt to uninstall `ubuntu-desktop`](https://askubuntu.com/a/1441491/872531) which is not what you need.
The final solution is to:
systemctl --user unmask pulseaudio systemctl --user mask pipewire.service pipewire.socket wireplumber.service [email protected] pipewire-pulse.service pipewire-pulse.socket ```
This successfull switched back to pulseaudio
Table of Content