Bug#997862: wireplumber: Bluetooth is not supported, breaking audio of existing systems

2022-07-24 Thread Sebastian Andrzej Siewior
On 2021-10-26 12:21:20 [+0200], Vincent Lefevre wrote:
> On 2021-10-26 12:00:34 +0200, Dylan Aïssi wrote:
> > Wireplumber needs the libspa-0.2-bluetooth package to support
> > bluetooth. I guess it was missing from your system.
> > libspa-0.2-bluetooth is only a plugin, wireplumber can work without
> > it. This is why it is not a dependency.
> 
> OK, but then, this should be announced in a NEWS.Debian file
> (perhaps pipewire's), since this package has to be installed
> manually by the user in the upgrade.
> 
> Ideally, it should be installed automatically for a user who
> upgrades from pulseaudio with bluetooth support (note that
> this is an automatic upgrade with the new version of pipewire,
> not a switch by the user).

I would have appreciated this information as well. I hoped that it will
either fix by itself or a NEWS.Debian pointer appears.
It took me quite some time to figure that out…

Sebastian



Bug#997862: wireplumber: Bluetooth is not supported, breaking audio of existing systems

2021-10-26 Thread Vincent Lefevre
Package: wireplumber
Version: 0.4.4-1
Severity: grave
Justification: renders package unusable

After the upgrade of my system, which lead to wireplumber
installation, Bluetooth audio is no longer working.

In the journalctl logs, I can see:

Oct 26 10:18:29 zira wireplumber[1701]: SPA handle 'api.bluez5.enum.dbus' could 
not be loaded; is it installed?
Oct 26 10:18:29 zira wireplumber[1701]: PipeWire's BlueZ SPA missing or broken. 
Bluetooth not supported.
Oct 26 10:18:34 zira bluetoothd[844]: src/service.c:btd_service_connect() 
a2dp-sink profile connect failed for 7C:96:D2:4E:98:41: Protocol not available

Note: I'm just using pulseaudio, not pirewire. The wireplumber package
is installed only via dependencies, thus should not break anything
that is unrelated:

zira:~> aptitude why wireplumber
i   zenity Dependslibwebkit2gtk-4.0-37 (>= 2.15.1)
i A libwebkit2gtk-4.0-37   Recommends xdg-desktop-portal-gtk  
i A xdg-desktop-portal-gtk Dependsxdg-desktop-portal (>= 1.7.1)   
i A xdg-desktop-portal Dependslibpipewire-0.3-0 (>= 0.3.10)   
i A libpipewire-0.3-0  Recommends pipewire (= 0.3.39-2)   
i A pipewire   Dependspipewire-bin (= 0.3.39-2)   
i A pipewire-bin   Recommends wireplumber | pipewire-media-session

That, just because I'm using a package that display graphical
dialog boxes from shell scripts!

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii  init-system-helpers   1.60
ii  libc6 2.32-4
ii  libglib2.0-0  2.70.0-3
ii  libpipewire-0.3-0 0.3.39-2
ii  libwireplumber-0.4-0  0.4.4-1
ii  pipewire  0.3.39-2

Versions of packages wireplumber recommends:
ii  pipewire-pulse  0.3.39-2

wireplumber suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#997862: wireplumber: Bluetooth is not supported, breaking audio of existing systems

2021-10-26 Thread Vincent Lefevre
On 2021-10-26 10:26:17 +0200, Vincent Lefevre wrote:
> After the upgrade of my system, which lead to wireplumber
> installation, Bluetooth audio is no longer working.
> 
> In the journalctl logs, I can see:
> 
> Oct 26 10:18:29 zira wireplumber[1701]: SPA handle 'api.bluez5.enum.dbus' 
> could not be loaded; is it installed?
> Oct 26 10:18:29 zira wireplumber[1701]: PipeWire's BlueZ SPA missing or 
> broken. Bluetooth not supported.
> Oct 26 10:18:34 zira bluetoothd[844]: src/service.c:btd_service_connect() 
> a2dp-sink profile connect failed for 7C:96:D2:4E:98:41: Protocol not available

I don't know whether the issue is due to wireplumber or pipewire-pulse
(which was also installed as recommended by wireplumber), or both.
FYI, the following processes were running:

vinc17  16991679  0 10:18 ?00:00:00 /usr/bin/pipewire
vinc17  17001679  0 10:18 ?00:00:00 /usr/bin/pipewire-pulse
vinc17  17011679  0 10:18 ?00:00:00 /usr/bin/wireplumber

After reverting to the previous installation, everything is fine with
the following processes running:

vinc17  16861666  0 11:07 ?00:00:00 /usr/bin/pipewire
vinc17  16871666  0 11:07 ?00:00:00 
/usr/bin/pipewire-media-session
vinc17  16881666  0 11:07 ?00:00:00 /usr/bin/pulseaudio 
--daemonize=no --log-target=journal

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#997862: wireplumber: Bluetooth is not supported, breaking audio of existing systems

2021-10-26 Thread Dylan Aïssi
Control: severity -1 normal

Hi Vincent,

Le mar. 26 oct. 2021 à 10:30, Vincent Lefevre  a écrit :
>
> Oct 26 10:18:29 zira wireplumber[1701]: SPA handle 'api.bluez5.enum.dbus' 
> could not be loaded; is it installed?
> Oct 26 10:18:29 zira wireplumber[1701]: PipeWire's BlueZ SPA missing or 
> broken. Bluetooth not supported.
> Oct 26 10:18:34 zira bluetoothd[844]: src/service.c:btd_service_connect() 
> a2dp-sink profile connect failed for 7C:96:D2:4E:98:41: Protocol not available
>

Wireplumber needs the libspa-0.2-bluetooth package to support
bluetooth. I guess it was missing from your system.
libspa-0.2-bluetooth is only a plugin, wireplumber can work without
it. This is why it is not a dependency.

Best,
Dylan



Bug#997862: wireplumber: Bluetooth is not supported, breaking audio of existing systems

2021-10-26 Thread Vincent Lefevre
On 2021-10-26 12:00:34 +0200, Dylan Aïssi wrote:
> Wireplumber needs the libspa-0.2-bluetooth package to support
> bluetooth. I guess it was missing from your system.
> libspa-0.2-bluetooth is only a plugin, wireplumber can work without
> it. This is why it is not a dependency.

OK, but then, this should be announced in a NEWS.Debian file
(perhaps pipewire's), since this package has to be installed
manually by the user in the upgrade.

Ideally, it should be installed automatically for a user who
upgrades from pulseaudio with bluetooth support (note that
this is an automatic upgrade with the new version of pipewire,
not a switch by the user).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)