Edit gamemode.ini

Hello,

I would like to edit the gamemode.ini, unfortunately this is not so easy to do in silverblue. According to the instructions you cannot edit the [gpu] section via the home path. Unfortunately I can’t edit the other files.
How can I do this?

Added atomic-desktops, gamemode

Configuration files are loaded and merged from the following directories, from highest to lowest priority:

  1. $PWD (“unsafe” - [gpu] settings take no effect in this file)
  2. $XDG_CONFIG_HOME or $HOME/.config/ (“unsafe” - [gpu] settings take no effect in this file)
  3. /etc/
  4. /usr/share/gamemode/

So place it in /etc and it will overwrite the one in /usr

very strange, i had just tried it and the first time it said that i had no authorisation, now i could add the file in etc.

thank you

You need root access to place a file there, but you can write there.

/etc is also a symlink, not actually the directory.

1 Like

i’m currently looking for anything that can improve my gaming performance, my much older windows hardware has over twice as much fps in games.
That’s why I came across gamemode

Added gaming

so you have 2 pieces of hardware with different distros?

what distro, what games, what GPU etc?

Fedora40, Gnome: AMD Ryzen 7 7840 HS, 32GB RAM, AMD Radeon RX 7700S
Windows 10: Intel Core i9 9900KS, 32GB RAM, nVidia GeForce GTX 1070

I would have to reconnect the Windows device first, but I know that I could play all games without lags and with at least 50 fps+.
I can’t do that with the Linux device, I can barely get above 20 fps and the game runs very poorly.

Strange. I know not much about PC stuff but it might be hardware related. AMD has often worse performance, and the 9th gen Intel may just eat power like crazy but offer performance.

Gamemode is a good option. KDE Plasma might be good but others report the same performance.

WINE needs some performance, WINE on Wayland will likely bring a good step of performance too.

so if i only compare the hardware, then the new one should actually be ahead.

https://www.cpubenchmark.net/compare/3593vs5258/Intel-i9-9900KS-vs-AMD-Ryzen-7-7840HS
https://www.videocardbenchmark.net/compare/4887vs3521/Radeon-RX-7700S-vs-GeForce-GTX-1070

1 Like