Unity editor creates flickering on main monitor and reduces framerate

Hit this in 2024 with Unity 6. Freesync monitor, NVIDIA GSync card, flickering editor.

Disabling VSync for the unity editor fixed it. If overrode the vsync and gsync settings, it would actually black out the monitor whenever any meaningful repainting happened in the editor.

Importantly, disable vsync for the application, save/apply, definitely restart unity and possibly restart your computer.