I've got a single monitor setup on a pretty old PC (Windows 7, i5 2500K, Radeon 5850 GPU) which was doing fine until today.
Today I've had a few instances where my screen suddenly gets offset by ~400px or so, with the right side of my desktop wrapping around to the left on the monitor. It's also accompanied with other visual artifacts, such as black horizontal lines (~10px tall) and other distortion effects.
The first time it happened, I attempted to restart my PC and while Windows was shutting down programs to restart, the problem resolved itself. I don't know if a suspect process was killed to fix the issue.
It seems to be resolved by restarting, but obviously it's concerning. Is there a good way I can diagnose this, to see if it's likely to be either a hardware or software problem?