Not all power supplies are created equal, just because its rated at 400 watts, or whatever, doesn't mean it will actually produce that much power in real life.
Do some research and buy a quality power supply, it will cost more, but many computer problems are caused by a bad (cheap) power supply.