Dev/audio
< Dev
ALSA, PulseAudio, PipeWire - Development Considerations
PipeWire bug reports[edit]
- Debian 12 on Virtualbox with Intel HD Audio will result in non-loading videos - reports that AC97 works better than Intel HD.
- Sound is cleaner with pipewire from backports on virtualbox
Debian bug reports[edit]
QEMU / KVM bug reports[edit]
VirtualBox bug reports[edit]
- Choppy sound on Workstation - change VirtualBox Audio Settings to VirtualBox defaults - AC97 versus Intel HD reports that Intel HD works better than AC97 (Blocker to be reliable option due to debian specific issue with Intel HD Audio).
- https://www.virtualbox.org/ticket/20330
- https://www.virtualbox.org/ticket/20634
Kicksecure, security-misc bug reports[edit]
- https://forums.whonix.org/t/kicksecure-17-2-2-0-unreleased-version-sound-driver-issue/20379
- kernel module blacklist breaks VirtualBox audio devices ICH AC97 and maybe Intel HD
Impact of Host Operating System[edit]
None. Unspecific to Windows host versus Linux host.
Summary of PipeWire Sounds Issues inside VirtualBox[edit]
Intel HD Audio:
- plain Debian/Kicksecure + 2GB RAM: functional
- plain Debian/Kicksecure + 4+GB RAM: broken
- ArchLinux: Working
AC97:
- ac97 + Debian/Kicksecure + any GB = functional
pipewire-alsa[edit]
Error and Warnings[edit]
mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?[edit]
pipewire[1578]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? pipewire[1578]: mod.rt: found session bus but no portal
- Non-Qubes Debian based issue only. Xfce issue only.
- Qubes Debian based does not have this issue.
- missing package:
xdg-desktop-portal
and probably alsoxdg-desktop-portal-gtk
- problem is that Xfce does not have its own XDG desktop portal implementation. Therefore the
xdg-desktop-portal
systemd user unit does not autostart by default.- manual workaround: systemd --user start xdg-desktop-portal
xdg-desktop-portal-gtk
is a good choice as per https://github.com/flatpak/xdg-desktop-portal/pull/1199- Xfce does not provide an XDG Desktop Portal by default.
- TODO research: how to implement this by default as a Linux distribution
- in Debian
trixie
perhaps https://packages.debian.org/trixie/xdg-desktop-portal-xapp would work
- in Debian
Fixed by https://github.com/Kicksecure/kicksecure-meta-packages/pull/1?
SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?[edit]
https://forums.whonix.org/t/port-from-pulseaudio-to-pipewire-for-audio-support/16879/43
wireplumber[1883]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed? wireplumber[1883]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
missing package: pipewire-libcamera
WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'[edit]
WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
missing package: libcamera-ipa
wireplumber[1029]: Failed to set scheduler settings: Operation not permitted[edit]
wireplumber[1029]: Failed to set scheduler settings: Operation not permitted
- https://forums.whonix.org/t/port-from-pulseaudio-to-pipewire-for-audio-support/16879/44
- https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/255
alsa[edit]
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.
- Solution? No longer install
alsa-utils
by default. - https://forums.whonix.org/t/port-from-pulseaudio-to-pipewire-for-audio-support/16879/6
- https://forums.whonix.org/t/port-from-pulseaudio-to-pipewire-for-audio-support/16879/45
Debugging PipeWire[edit]
Run as user (non-root):
sudo journalctl -f
dbus-manager --session
systemctl --user restart wireplumber
We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!