I got the inspiration for the solution from the answer here: https://askubuntu.com/a/862896/39456, I found this question through the proposed solution by @laugeo: thanks for the hint with the codec, mine wasn't on the list.
Until last week-end I had still sound on my PC. Then after an update: no more sound. What is strange though, I booted up the PC yesterday with the live image of Ubuntu 20.04 and there I have sound!
Since then I tried already the following tips an tricks without success:
- No sound on Ubuntu 20.04
- (yet another) No sound in Ubuntu 18.04
Again, booting into the live Ubuntu 20.04 gives me sound, booting from hard drive gives nothing.
What else I tried was to plug the speakers into the screen (HDMI), but still silence. Although the parameters window for the speaker shows that there is sound played, just not for real.
Here's my setup:
lspci |grep 'Audio' 1d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 1f:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
Has anyone any idea how I can get the sound back? Because, as mentioned, the sound was there until last week-end.
pavucontrol under the Configuration tab I changed the Profile for my sound card to Analog Stereo Duplex and then under the Output tab I switched the port to the right one. Sound is back!