Welcome to the forums!
In the control panel, under Sound and audio devices, make sure your onboard codec is selected as the primary output device.
What exactly do you mean when you say you tried a different codec?
Did you use a dedicated sound card or try to use different drivers with your onboard sound
Also, please post back detailed information on your system.