Steam for Linux

Steam for Linux

Not enough ratings
[SteamOS] Viewing FPS Stats On SteamOS
By ProfessorKaos64
What to view your FPS stats on SteamOS / Big Picture Mode with some simple shortcuts? The cred for this guide goes to Read on!
   
Award
Favorite
Favorited
Unfavorite
View FPS Stats On The Fly With Your Gamepad
Thanks to Shark's great work in VaporOS 2, you can install a convenient Debian package which automatically adds the gamepad shortcuts to your controller. Doing so will allow you press Left Button + Right Button + X to toggle FPS stats on and also off. Follow the below instructions on how to get this going.

Set your desktop user password (if you have no already)
passwd

You can make the password the default "desktop" phrase, or make up your own.

cd ~/Downloads
wget https://github.com/sharkwouter/steamos-installer/blob/master/pool/main/v/vaporos-binds-xbox360/vaporos-binds-xbox360_1.0_all.deb
sudo dpkg -i vaporos-binds-xbox360_1.0_all.deb

After this, should be fine to return to Steam and try it out.

Custom Button Assignments

You can also change the assignments for buttons how you see fit. To be able to set controller shortcuts, we need to start a program called actkbd, which we will do with a udev rule. You can do this with different controllers too. You just need to change step 8 to have different button numbers.

You can list input devices with:
ls /dev/input

Your controller is probably the last detected device, which has the highest event number. Run actkbd in showkey mode with that event like this:
actkbd -s -n -d /dev/input/event19
Replace the 19 here. You should be able to see your console spit out button numbers when you press them, if not you should try a different event number.

Every button you press will register a new number, or combination thereof. You can then modify the rule from the VaporOS 2 package in "/etc/actkbd-steamos-controller.conf". Also of note, are the rules in "/etc/udev/rules.d".
Permanently adding FPS Stats
There are currently multiple ways to display fps on screen in SteamOS, but this one is pretty easy. You can just set steamcompmgr in debug mode and it will display the current fps.

If you want to try this, open steamos-session as root with:

sudo nano /usr/bin/steamos-session

The change this line:
steamcompmgr &
Into this:
steamcompmgr -v &
Press Ctrl+X, pick Y to save.

Now restart your display manager with:
sudo service lightdm restart

That's all there is to it, now you should see you current fps displayed on the screen.
Toggle FPS Stats On Over SSH
You can also enable displaying fps while already playing, just enter these commands through ssh:
sudo pkill steamcompmgr
sudo -u steam steamcompmgr -d :0 -v &