[pulseaudio-discuss] How multiple instances of pulse audio handle bluetooth sound devices ?

Pali Rohár pali.rohar at gmail.com
Sat Oct 12 22:11:56 UTC 2019

On Saturday 12 October 2019 12:06:50 Zang MingJie wrote:
> Hi all:
> Currently with typically gdm3 and gnome desktop, multiple instances of
> pulse audio will be started, one for gdm3 login session and one for gnome
> user session.
> Once an bluetooth device is provisioned by bluetoothd, it is not clear
> which instance of pulse audio will grab the devices, currently it may
> depend on the start order of the instance of pulse audio.

Exactly. It should be first instance which asked for bluetooth audio. So
basically pseudo-random one.

> And the current behavior is causing lots of troubles, user may not find the
> sound card because it may be grabbed by the instance of gdm3 session. Is
> there any way to share the device among multiple instances, so all
> instances can play sound to the device.

Pulseaudio supports system-wide mode, when run system instance is
running and any application running under any user can control anything
in pulseaudio.

So the best way would be to teach your gdm3 to stop doing such thing
which is just breaking audio support and other stuff related.

I think that more people should start thinking more about "no
regression" instead of "break everything which is currently working".

Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20191013/cc53783b/attachment.sig>

More information about the pulseaudio-discuss mailing list