MangoHud
How to install and use the MangoHud overlay layer for monitoring system performance in Vulkan and OpenGL applications
yay -Syu mangohud lib32-mangohud
Start a game with overlay
mangohud /path/to/app
For Lutris games, go to the System options in Lutris (make sure that advanced options are enabled) and add this to the Command prefix setting
mangohud
For Steam games, you can add this as a launch option
mangohud %command%
Or alternatively, add MANGOHUD=1
to your shell profile (Vulkan only).