So I had this problem from the day I installed ubuntu on the separate partition. I get sound from my laptop, but nothing from the headphones, I would usually restart my laptop 2-3 times and it would go back to normal for a week or so, but this time after 10 restarts, it is not solving the issue. I am aware that this is a Ubuntu 16.04 bug, but did someone find a solution for this? This is what I done/investigated so far:
pavucontrol shows that my headphones are detecting sound if I play a video from youtube, but I get no sound.
Overall sound settings show that they detect my headphones.
I also ran update and dist-upgrade, nothing.