Thank computer does not come with a dedicated graphics card so chances are it using on board video from the motherboard so you would have to replace the motherboard. The computer is very old and finding replacement parts will be rare. You might have to cut your losses and mark it as dead.