The issue is usually with the graphics card itself in my experience.
This is easily "fixed" on a DVI port by plugging a resistor of the correct value into two of the tiny pin sockets. The diagram is very easy to find online and you don't have to open the computer. That's become a thing of the past as far as I know.