Second screen lags, when recording

Hey, I am experiencing lags when I am recording my screen via OBS or Discord (These are the only things I tested, so I guess its about general screen recording).
These lags show by the mouse not moving smoothly and general actions being clunky, it feels like ~20fps when moving anything.
I have 2 screens, one is the normal laptop screen and the other one is a screen with a different framerate, the lags only occur on the second screen when recording.

Thanks for any help in advance

There are a few things that could be causing your computer to lag when recording your screen.