GameMode – A Tool To Improve Gaming Performance On Linux
Ask some Linux users why they still sticks with Windows dual boot, probably the answer would be – “Games!”. It was true! Luckily, open source gaming platforms like Lutris and Proprietary gaming platform Steam have brought many games to Linux platforms and improved the Linux gaming experience significantly over the years. Today, I stumbled upon yet another Linux gaming-related, open source tool named GameMode, which allows the users to improve gaming performance on Linux.
GameMode is basically a daemon/lib combo that lets the games optimise Linux system performance on demand. I thought GameMode is a kind of tool that would kill some resource-hungry tools running in the background. But it is different. What it does actually is just instruct the CPU to automatically run in Performance mode when playing games and helps the Linux users to get best possible performance out of their games.
GameMode improves the gaming performance significantly by requesting a set of optimisations be temporarily applied to the host OS while playing the games. Currently, It includes support for optimisations including the following:
- CPU governor,
- I/O priority,
- Process niceness,
- Kernel scheduler (SCHED_ISO),
- Screensaver inhibiting,
- GPU performance mode (NVIDIA and AMD), GPU overclocking (NVIDIA),
- Custom scripts.
GameMode is free and open source system tool developed by Feral Interactive, a world-leading publisher of games.
GameMode is available for many Linux distributions.
$ yay -S gamemode
On Debian, Ubuntu, Linux Mint and other Deb-based systems:
$ sudo apt install gamemode
If GameMode is not available for your system, you can manually compile and install it from source as described in its Github page under Development section.
Activate GameMode support to improve Gaming Performance on Linux
Here are the list of games with GameMode integration, so we need not to do any additional configuration to activate GameMode support.
- Rise of the Tomb Raider
- Total War Saga: Thrones of Britannia
- Total War: WARHAMMER II
- DiRT 4
- Total War: Three Kingdoms
Simply run these games and GameMode support will be enabled automatically.
There is also an extension is available to integrate GameMode support with GNOME shell. It indicates when GameMode is active in the top panel.
For other games, you may need to manually request GameMode support like below.
I am not fond of games and I haven’t played any games for years. So, I can’t share any actual benchmarks.
However, I’ve found a short video tutorial on Youtube to enable GameMode support for Lutris games. It is a good start point for those who wants to try GameMode for the first time.
By looking at the comments in the video, I can say that that GameMode has indeed improved gaming performance on Linux.
For more details, refer the GameMode GitHub repository.
- GameHub – An Unified Library To Put All Games Under One Roof
- How To Run MS-DOS Games And Programs In Linux
Have you used GameMode tool? Did it really improve the Gaming performance on your Linux box? Share you thoughts in the comment section below.