I had to disable windows 'game mode', turn off all overlays, and (I'm on an AMD card so I don't know if this will help you) turn on gpu scaling.