If you have experienced FPS overlay before on Windows, you know it is many to choose from. To get an FPS overlay in Linux, you can simply use the built-in overlay is Steam. This is by the way very limited, so in Linux the best tool for this is GOverlay.
https://linuxctrl.com/2022/01/19/fps-...