Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

Need an easy way to run a bunch of system enhancements? GameMode, originally made by developers at porting studio Feral Interactive has a new release out.

While all of the tweaks can be done by themselves, the point is to have an easy place for anyone and everyone to kick their Linux system into the highest performance possible. A great idea and it's getting quite featured-filled too.

The highlights of GameMode 1.6 include:

  • Created a new manpages for gamemoderun and the example, now called gamemode-simulate-game
  • Add ability to change lib directory of gamemoderun
  • Add option to use elogind
  • Copy default config file to the correct location
  • Allow LD_PRELOAD to be overridden in $GAMEMODERUNEXEC
  • Various minor bugfixes
  • Improvements to dependency management

It's worth noting, that most of the work going into GameMode now appears to be from outside contributors, not Feral Interactive directly although they still maintain control over it and do the releases.

Games can actually integrate support for it directly, so that it all becomes automatic if you have GameMode installed. A bunch of Feral Interactive's own Linux ports have it like DiRT 4, Rise of the Tomb Raider, Shadow of the Tomb Raider and multiple more recent Total War titles.

What can you actually do with GameMode? Some of the features currently include adjusting:

  • CPU governor
  • I/O priority
  • Process niceness
  • Kernel scheduler (SCHED_ISO)
  • Screensaver inhibiting
  • GPU performance mode (NVIDIA and AMD), GPU overclocking (NVIDIA)
  • Custom scripts

See GameMode on GitHub.

Article taken from GamingOnLinux.com.
Tags: Apps, Open Source
25 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
19 comments

KohlyKohl Sep 12, 2020
This is cool and all but the lack of a notification that it started keeps me away from this.
F.Ultra Sep 12, 2020
View PC info
  • Supporter
This is cool and all but the lack of a notification that it started keeps me away from this.

Could that be a Manjaro specific thing? On my Ubuntu there is a brief popup every time Gamemode is enabled and disabled.
jens Sep 12, 2020
  • Supporter
This is cool and all but the lack of a notification that it started keeps me away from this.

In case that you are using Gnome Shell, I'm using this extension https://extensions.gnome.org/extension/1852/gamemode/ for exactly that purpose.
dziadulewicz Sep 12, 2020
There's no snap or a flatpak for it?
CatKiller Sep 12, 2020
View PC info
  • Supporter Plus
This is cool and all but the lack of a notification that it started keeps me away from this.

Could that be a Manjaro specific thing? On my Ubuntu there is a brief popup every time Gamemode is enabled and disabled.

It's configurable, with a setting in the config file. It might be that Manjaro's config doesn't have that enabled, or KohlyKohl's DE uses a different command for notifications than what's specified in the config.

It's just a command run at gamemode start and a different command run at gamemode stop. I use the function to stop and start my conky, since sometimes that can cause frametime spikes.


Last edited by CatKiller on 12 September 2020 at 5:50 pm UTC
lejimster Sep 13, 2020
I hope the global enable for Steam library gets figured out and added.

Also one thing that bugs me that I never worked out how to work around are game launchers. I would prefer for game launchers such as Battle.net that gamemode isn't turned on, because I might want to leave it running in the background... And then when I go to launch a game it should activate. I've tried blacklisting Battle.net but that did nothing, of course I might be doing something wrong. Any suggestions would be appreciated.
Salvatos Sep 13, 2020
I think I had to disable it for Shadow of the Tomb Raider or the game wouldn’t run, so it hasn’t seemed very helpful so far
Ultimately I have no idea what it does or why I would need it.
elmapul Sep 13, 2020
good to see they didnt gave up on us...
now i just want to hear an new game announcement, pretty please? =\
scaine Sep 13, 2020
View PC info
  • Contributing Editor
  • Mega Supporter
I think I had to disable it for Shadow of the Tomb Raider or the game wouldn’t run, so it hasn’t seemed very helpful so far
Ultimately I have no idea what it does or why I would need it.

From the article:
the point is to have an easy place for anyone and everyone to kick their Linux system into the highest performance possible

Basically, it sets your processors into "performance" mode, and configures a few other settings to maximise the game's performance. Especially useful on laptops, since they might the use the "powersave" mode of the CPU (although most use "ondemand" these days).

This is actually pre-installed on Mint, although I don't get the notifications. I might look into enabling those, as sometimes I forget to add "gamemoderun %command%" in my Steam game's launch options.


Last edited by scaine on 13 September 2020 at 10:42 am UTC
kokoko3k Sep 13, 2020
good to see they didnt gave up on us...
now i just want to hear an new game announcement, pretty please? =\
Check the article:
It's worth noting, that most of the work going into GameMode now appears to be from outside contributors, not Feral Interactive directly although they still maintain control over it and do the releases.
DebianUser Sep 14, 2020
I'm wondering why there is not AMD overclocking, since its easyling tweakable from /sys/class/drm/ ?
Eike Sep 14, 2020
View PC info
  • Supporter Plus
I'm wondering why there is not AMD overclocking, since its easyling tweakable from /sys/class/drm/ ?

Overclocking should be up to the user.
tuubi Sep 14, 2020
View PC info
  • Supporter Plus
I'm wondering why there is not AMD overclocking, since its easyling tweakable from /sys/class/drm/ ?

Overclocking should be up to the user.
It should be. But in /etc/gamemode.ini you'll find these lines:

; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks
;apply_gpu_optimisations=0


No idea what it actually does, if anything at all.
DebianUser Sep 14, 2020
I'm wondering why there is not AMD overclocking, since its easyling tweakable from /sys/class/drm/ ?

Overclocking should be up to the user.

Yes, but the software can provide overclocking options, the user may activate it or not ;).
DebianUser Sep 14, 2020
I'm wondering why there is not AMD overclocking, since its easyling tweakable from /sys/class/drm/ ?

Overclocking should be up to the user.
It should be. But in /etc/gamemode.ini you'll find these lines:

; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks
;apply_gpu_optimisations=0


No idea what it actually does, if anything at all.

It seems that when you activate GPU optimisations, like overcloaking, the soft warn the user.
A flag is stored in config file to not warn again and again.
I think that since overcloaking is juste for NVIDIA, you will see this message only if you have a NVIDIA card ?
tuubi Sep 14, 2020
View PC info
  • Supporter Plus
It seems that when you activate GPU optimisations, like overcloaking, the soft warn the user.
A flag is stored in config file to not warn again and again.
I think that since overcloaking is juste for NVIDIA, you will see this message only if you have a NVIDIA card ?
What do you mean overclocking is just for Nvidia? I haven't overclocked an AMD GPU myself, but I did undervolt my old RX580 on Linux to deal with the crappy MSI card's overheating problem, and the same tools would have allowed overclocking as well.

Also, the comment above that setting pretty explicitly states that it'll be gamemode applying the overclocks, doesn't it? Maybe they haven't actually implemented overclocking, but I don't think the setting is supposed to be about notifications.
DebianUser Sep 14, 2020
It seems that when you activate GPU optimisations, like overcloaking, the soft warn the user.
A flag is stored in config file to not warn again and again.
I think that since overcloaking is juste for NVIDIA, you will see this message only if you have a NVIDIA card ?
What do you mean overclocking is just for Nvidia? I haven't overclocked an AMD GPU myself, but I did undervolt my old RX580 on Linux to deal with the crappy MSI card's overheating problem, and the same tools would have allowed overclocking as well.

Also, the comment above that setting pretty explicitly states that it'll be gamemode applying the overclocks, doesn't it? Maybe they haven't actually implemented overclocking, but I don't think the setting is supposed to be about notifications.

I'm mean that is stated in the article.
Obviously you can overclock AMD cards if you want to.
From the article, it's seems that overclocking via GameMode is only for NVIDIA cards:

"GPU performance mode (NVIDIA and AMD), GPU overclocking (NVIDIA)"

The comment above just say there is a guardrail in gamemode if you want to overclock (you have to set the option manually in the ini file), and the article says overclock is just for NVIDIA :)

If we go deeper, maybe the article is wrong ?

https://www.phoronix.com/scan.php?page=news_item&px=GameMode-GPU-Overclock

Here, we can see overclock is for NVIDIA *and* AMDGPU... seems pretty logical because it is trivial to overclock via /sys like i was saying before.

The option in the ini does not prove anything, but this (merged) PR does: https://github.com/FeralInteractive/gamemode/pull/101 ;)

So we can wonder why Liam Dawe has witten "GPU overclocking (NVIDIA)" ? :s


Last edited by DebianUser on 14 September 2020 at 3:54 pm UTC
tuubi Sep 14, 2020
View PC info
  • Supporter Plus
So we can wonder why Liam Dawe has witten "GPU overclocking (NVIDIA)" ? :s
Seems like a direct quote from the GitHub page. Maybe their Readme isn't up to date.
RedBatman Sep 14, 2020
Does anyone know how to update from 1.5.1 to 1.6 in terminal?
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.