My screen keeps randomly pixilating

Hello, my screen keeps randomly pixilating. I dont know what to do about it, and I cant find any info on it. Heres an example of what it looks like.

It will just randomly do this to me mid game, and then go away.

My specs:
i7-9700k
16gb ram
rtx 2060 super

I had this problem when FXAA and gamma correction is enabled in nvidia control panel. turn them both off.