How to optimize CS2 for more FPS and less input lag

The Counter-Strike 2 video settings for steady FPS, the ones that help you see, and the Windows side to check first.