Since I upgraded from Ubuntu 18.4 Bionic Beaver to 24.4 I have been affected by issues with sound. To me, it looks like the whole hardware stack is broken and it is incapable of properly managing multiple hardware devices and software inputs (chrome, VLC etc). Back in 18.4, there was a GUI that allowed you to manage multiple devices and set their pecking order (or priority). It was maybe a bit lackluster but it was there. Now it is non-existent.
I think the biggest change was the transition from PulseAudio to PipeWire. When I upgraded to 24.4, the upgrade was kind of βhalf-assedβ with some PulseAudio packages still there. So I wiped out all PulseAudio and ALSA and installed the PipeWire, Pulse Effects was replaced with Easy Effects, so now Iβm all-in on PipeWire but it still doesnβt work.
As a basic user, I have no sound whatsoever on my computer. What it means is that the sound driver stack fails to route the audio to my laptop speakers, the headphone output of my laptop and the HDMI output to my external monitor (that has audio). It is a dead-end basicly.
Now, I route my audio through an external DAC (FiiO Q5) that is connected through USB and it works. Until it automatically powers off due to idle and I want to get it back on. The remedies I have found to get it back on-line is to either rescan the hardware using
inxi -FAxz
which is a gamble. Sometimes it works and sometimes it can freeze the whole computer. I can also try to restart all pipewire services preferrably through the command:
systemctl --user restart pipewire pipewire-pulse wireplumber
which is also a gamble. If successful, I will get audio back on my USB DAC, if unsuccessful, the KDE sound volume widget fails to detect any hardware whatsoever. Iβm lucky to have an external audio device, for those who rely on the internal hardware they have no sound whatsoever.
I looked into the website of PipeWire:
While it looks impressive, it also looks very complicated. There seems to be quite a set of tools there to manage the flow of sound of the computer. However, Iβm confused when looking it through. I thought PipeWire was supposed to be a more βlightweightβ solution to the PulseAudio driver stack which was claimed to be βa messβ.
For many Ubuntu users this is a dire situation as there is no sound whatsoever. Iβm willing to supply bug reports and some troubleshooting assistance but I thought a good start is to make a post about it here.
For reference I made an initial post about it here which contains more detailed information with logs and terminal outputs: