As a test I always try booting a Live Linux to see if it works. NO INSTALL, NO LEARNING LINUX. Only for test purposes.
The fact the head phones work points to a hardware defect.
I do not have any sound on my computer other than if I use earbuds. I have a HP 2011x computer

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic