I tried Ubuntu Vanila, Mate and Kylin (all same version 20.04) still the same. It plays fine with the inbuilt speakers but when a headphone is plugged in there is no audio. In the speaker settings it changes from speaker to headphones but doesn't play. Then reinstalled 19.10 and now audio is fine.
Ubuntu – How to fix 3.5 mm audio jack not working after upgrading to 20.04
20.04audio-jacksound
Best Answer
Try in your terminal
sudo apt update && sudo apt install alsamixer
alsamixer
in your terminal.M
to unmute.sudo alsactl store
in your terminal to store your settings earlier.