It doesn't seem like it's an OBS issue because the recording is clean- if it was an OBS issue the recording would have artifacting, but it doesn't. OBS is just capturing what your PC is showing you, so there's a performance issue elsewhere on your system