"How to Limit Game Framerate on Linux: Step-by-Step Guide"
In this video I cover how to use libstrangle to limit the framerate for a game launched on Linux.
https://gitlab.com/torkel104/libstrangle
Step 1. Installation
Install required dependencies.
For example, for Debian and Ubuntu based distributions, you can install them with this Terminal command.
sudo apt install gcc-multilibg++-multiliblibx11-devmesa-common-dev
Then download the projects repository by clicking on the download button, and extract the downloaded archive.
Next, open a Terminal window inside the extracted folder and run the following commands in sequence.
make
sudo make install
Once the process is finished, close the Terminal window.
Step 2. Using libstrangle
There are a couple of ways to use libstrangle, but mostly you run it as a start argument for a game.
For example, to limit the frame rate of game launched from within Steam to 60fps, type the following into game’s Launch Options.
strangle 60 %command%
#libstrangle #linuxgaming #steam