Run game with mangohud
From Pengwings
To run game with mangohud simply set MANGOHUD=1 environment variable
In steam you can set launch command of game to this:
MANGOHUD=1 %command%
If you're using gamescope you have to pass this argument to gamescope instead:
--mangoapp