No audio on the default KDE Plasma installation
There was no audio in the default Plasma desktop installation that I got from running setup-desktop
. I used Alpine version 3.18.2 and also tried on edge, where the issue persisted.
When using the audio system settings to test audio, clicking Test Speaker, then Front Right the error: 'Error trying to play a test sound. The system said: "Invalid state"' was given.
After some troubleshooting and reading online, I got audio to work again by installing the pipewire-pulse
package and rebooting.
Maybe there was some conflict between audio packages or running audio systems?
Installed Pulseaudio packages after setup-desktop
:
~ $ apk info -v | grep pulse
libcanberra-pulse-0.30-r9
libpulse-16.1-r10
libpulse-mainloop-glib-16.1-r10
pulseaudio-16.1-r10
pulseaudio-alsa-16.1-r10
pulseaudio-bluez-16.1-r10
pulseaudio-openrc-16.1-r10
Installed Pipewire packages after setup-desktop
:
~ $ apk info -v | grep pipewire
kpipewire-5.27.6-r0
pipewire-0.3.74-r1
pipewire-libs-0.3.74-r1
The APK package transaction that fixed the issue:
~ $ doas apk add pipewire-pulse
(1/14) Purging pulseaudio-alsa (16.1-r10)
(2/14) Purging pulseaudio-openrc (16.1-r10)
(3/14) Purging alsa-utils (1.2.9-r2)
(4/14) Purging dialog (1.3.20230209-r2)
(5/14) Purging alsa-ucm-conf (1.2.9-r2)
(6/14) Purging alsa-utils-openrc (1.2.9-r2)
(7/14) Purging pulseaudio-bluez (16.1-r10)
(8/14) Purging pulseaudio (16.1-r10)
(9/14) Installing pulseaudio-utils (16.1-r10)
(10/14) Installing pipewire-pulse (0.3.74-r1)
(11/14) Purging fftw-single-libs (3.3.10-r4)
(12/14) Purging libformw (6.4_p20230715-r0)
(13/14) Purging libmenuw (6.4_p20230715-r0)
(14/14) Purging sbc (2.0-r1)
Executing busybox-1.36.1-r3.trigger
Executing glib-2.76.4-r0.trigger
Executing dbus-1.14.8-r0.trigger
Executing eudev-3.2.12-r4.trigger
OK: 2114 MiB in 609 packages