Skip to content
/SLASHPLAY

How to keep full FPS when alt-tabbed in CS2

Type engine_no_focus_sleep 0 in your game console so the game keeps its full frame rate while it is not the focused window.

engine_no_focus_sleep

Sets how many milliseconds the game sleeps each frame while it is not the focused window.

engine_no_focus_sleep <ms>

Examples

engine_no_focus_sleep 0

Full speed even when alt-tabbed.

Arguments

msRequired
Sleep time per frame in milliseconds.

What it does

When you alt-tab, the game pauses this long every frame to save power, which drops the frame rate in the background. Set it to 0 if you stream or record and need full FPS while the game is not focused.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.

Your own
CS2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.