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@xxxxxxxxx
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss