The soundcard I want to use is detected and works (it only recently switched to dummy output and didn't allow me to go back).

HDMI is no longer listed under Audio and Video - KDE Control Module; everything under audio module is set to dummy output and its the only 'soundcard' on the list now. I can view my previous sound cards in alsamixer, but changing the settings from there does nothing.

How can I get my real soundcards to work again?

I have already tried the following answers without success:

How do I get my sound working?

EDIT:

name@name-desktop:~$ lspci -vvv | grep -A8 Audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller
        Subsystem: ASRock Incorporation Kaveri HDMI/DP Audio Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 43
        Region 0: Memory at ff764000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
--
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
        Subsystem: ASRock Incorporation FCH Azalia Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at ff760000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

Could this image possibly help?:

enter image description here

There is another soundcard but I'm unsure of what its for because it never outputs sound, but it does have a lot of settings: that sound card is labelled as "HD-Audio Generic".

enter image description here

enter image description here

So I went into Software & Updates under the Additional drivers tab and I see this:

enter image description here

It was on Do not use the device so I changed it and applied the settings but unfortunately the soundcard isn't back even after reboot.


Solution 1:

I don't know what's the problem or why it happens, but that worked for me.

pulseaudio --kill
pulseaudio --start

Solution 2:

First, replace any previous configurations:

sudo apt-get update
mkdir PULSE
cd PULSE
apt-get download pulseaudio
ar xvf *
tar xvf dat*
sudo rm /etc/pulse/*
sudo mv etc/pulse/* /etc/pulse/

Then, run the following commands:

sudo apt-get install --reinstall linux-image-$(uname -r)
sudo modprobe snd-hda-intel
rm -r ~/.config/pulse*
pulseaudio -k

source

Solution 3:

There doesn't seem to be a solution to this so I just re-installed Kubuntu and the sound works perfect.

Downside: wiped everything else (but I didn't have much on my ssd so it was fine)