Ubuntu Version:
Kubuntu 24.04 LTS
Desktop Environment (if applicable):
KDE Plasma 5.27.12
Problem Description:
I can´t use two programs that use audio at the same time. For example if i have a VirtualBox machine using ALSA Audio and open Firefox, i can´t reproduce any web that use audio in Firefox. Or if i open first Firefox and latter VirtualBox using ALSA Audio, audio doesn’t work on that virtual machine.
Another case is if i play a song with aplay and latter try to play a video with VLC, the VLC video don´t have sound. Or if i play a video with VLC and latter try to play a music file with aplay give me the error:
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
aplay: main:834: audio open error: Device or resource busy
Viewing the packages installed on the system i assume that audio stack in Kubuntu is:
ALSA ← Pipewire ← pipewire-pulse|wireplumber
Look like programs that use ALSA Audio don´t work together with programs that use Pipewire or Pulseaudio (through pipewire-pulse wrapper)
Relevant System Information:
Kernel version: 6.8.0-57-generic
Processor: Intel® Core™ i7-9850H CPU @ 2.60GHz
Screenshots or Error Messages:
No audio from app, crash or don´t work. Many of them throw me:
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
and usually open but don´t work fine. For example puNES that open but get stuck and don´t work.
What I’ve Tried:
My only workaround is don´t mix apps. If in the app allow me change the output i do(like VirtualBox), but in many others apps can´t select the audio output.