port from pulseaudio to pipewire for audio support

Quite a few audio related issues. Summarized here:

wireplumber[42221]: SPA handle ‘api.bluez5.enum.dbus’ could not be loaded; is it installed?
wireplumber[42221]: PipeWire’s BlueZ SPA missing or broken. Bluetooth not supported.

Is this worth fixing? Probably can be fixed by installation some additional packages.

wireplumber[42221]: SPA handle ‘api.libcamera.enum.manager’ could not be loaded; is it installed?

Similar to above.

wireplumber[42221]: PipeWire’s libcamera SPA missing or broken. libcamera not supported.

This can be fixed by installing the additional packages pipewire-libcamera libcamera-ipa but I am wondering if that is worth it versus higher attack surface.

wireplumber[1029]: Failed to set scheduler settings: Operation not permitted

Cannot be fixed. Upstream issue:

Should we no longer install alsa-utils by default? Probably no longer required. Qubes Debian does not have it either.

It might be the source for some journal errors.

alsactl[624]: alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

alsactl[624]: /usr/sbin/alsactl: set_control:1339: failed to obtain info for control #29 (No such file or directory)

(udev-worker)[541]: controlC0: Process ‘/usr/sbin/alsactl -E HOME=/run/alsa -E XDG_RUNTIME_DIR=/run/alsa/runtime restore 0’ failed with exit code 99.

Should we install pipewire-alsa by default?

Done.

Can be reverted if there are good reasons to do so.

A post was merged into an existing topic: VirtualBox Intel HD Audio and PipeWire Incompatibility / Audio broken after increasing ram to 5 GB / No sound after latest updates - PipeWire Bug?