If they flicker and the salts in the bulbs don't look yellow/burnt, then your ballast is most likely at fault.

Check the voltage at the OEM connector (NOT AFTER THE BALLAST!) Is it stable at 12.5v+?

Do BOTH bulbs flicker? Does it ignite if directly wired to the battery/relay?