@Matt: I meant restart after reinstall! And it didn’t help!
Ah, gotcha. Appreciate the clarification.
If reinstalling ALSA and Pulseaudio:
sudo apt install --reinstall alsa-base alsa-utils linux-sound-base libasound2
and
sudo apt install --reinstall libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils
Both fail after running both commands and rebooting, now we try some more drastic steps.
If the steps above fail (and please verify that both were tried):
Backup your alsa-base.conf:
sudo cp /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.bak
We’re going to now make some changes (this again assumes Ubuntu 22.04 is still the distro in question):
sudo echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf
Reboot. If it’s still a dummy output, try:
model=auto instead of generic
If none of those work, try
options snd-hda-intel index=1
If it doesn’t work, restore by reversing the bk file, then reboot.
sudo cp /etc/modprobe.d/alsa-base.bak /etc/modprobe.d/alsa-base.conf
Ideally, trying one last time of reinstalling Pulseaudio and ALSA both are the better solution, but the new steps provided can also sometimes work.
The differences between model=auto, generic, snd-hda-intel really depends on what ALSA is looking for.
On my Framework, I have fully patched, un-tweaked Ubuntu 22.04 installed and have found that reinstalling ALSA usually fixes dummy audio.
Marking as solved as the above steps will solve the described issue.
There is also a possibility that with no intention in System Settings > Sound > Speakers the value in dropdown “Profile” is changed to “Analog Stereo Input”. What happens is that your whole Speaker Settings will be invisible and you can’t change it back, it doesn’t matter what you do with all theses configs and libs it will never show up again. The Solutions here is to use pavucontrole “Volume Control”.
sudo pacman -S pavucontrol
There is a Tap on the top right “Configuration”, check Build-in Audio dropdown and check the Profile. Change it to “Analog Stereo Output” before it was “Analog Stereo Input”. After Changing the Profile to Output, the Speaker Configs will show up again in the Audio Settings.
I had this problem too on Void Linux. I came up with blacklisting snd_hda_codec_realtekas the solution described here did not work on my Framework 16. Made a post about it here.
