Show us OBS-Studio log files?
But, if it happens to different capture programs, it looks like your graphics card might be faulty or failing.
Try it on a different desktop computer with PCI-E 2.0 speed. If capture problem still shows up, it might be a capture card problem, or incompatible resolution or refresh rates from source device.
Ideally, 2 computers should be used, one for gaming, the other for streaming.