gamemode icon indicating copy to clipboard operation
gamemode copied to clipboard

Tests Fail when Running "gamemoded -t"

Open Psykophem opened this issue 7 months ago • 8 comments

Describe the bug The test failed when I runned gamemoded -t

To Reproduce Steps used to reproduce the behavior:

  1. Launch gamemod with " gamemoded -t "
  2. Run it 'on the terminal'
  3. View output of the command
  4. See error:

sierra@Latitude-7420:~$ gamemoded -t : Loading config Loading config file [/usr/share/gamemode/gamemode.ini] : Running tests

:: Basic client tests :: Passed

:: Dual client tests gamemode request succeeded and is active Quitting by request... :: Passed

:: Gamemoderun and reaper thread tests ...Waiting for child to quit... ...Waiting for reaper thread (reaper_frequency set to 5 seconds)... :: Passed

:: Supervisor tests :: Passed

:: Feature tests ::: Verifying CPU governor setting ERROR: Governor was not set to performance (was actually powersave)! ::: Failed! ::: Verifying Scripts ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ::: Passed (gpu optimisations not configured to run) ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed ERROR: :: Failed! : Tests Failed!

Expected behavior Pass all the tests

System Info (please complete the following information):

  • OS and version: [Ubuntu 25.04]
  • GameMode Version [1.8.2]

Additional context I've installed it on a brand new Ubuntu installation.

Psykophem avatar May 26 '25 19:05 Psykophem

Echoing for Debian 13, same failure point

BeeFox-sys avatar May 28 '25 11:05 BeeFox-sys

My solution was:

  1. Check the available governors: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors If performance doesn't show up, it means that your kernel or CPU configuration doesn't have that governor enabled. In that case, you would have to load the module: sudo modprobe cpufreq_performance
  2. change it manually: sudo cpupower frequency-set -g performance
  3. Make sure you have the gamemoded running: systemctl --user status gamemoded, If not active: systemctl --user enable --now gamemoded
  4. Now try again
  • OS and version: [CachyOS 6.15.3-2-cachyos]
  • GameMode Version [1.8.2]

AkemiKami201 avatar Jun 22 '25 16:06 AkemiKami201

do you still have this problem since i fixed this on my pc so maybe i can help if its still fails or errors?

Gamerguy199 avatar Jul 17 '25 21:07 Gamerguy199

I encountered a similar issue when installing gamemode on a fresh Kubuntu 25.04 system. After installing the package, the gamemode group was not automatically created, which prevented the service from functioning correctly for my user.

As a workaround, I manually created the group and added my user to it:

# Check if the gamemode group exists
getent group gamemode

# If no output, create the group
sudo groupadd gamemode

# Add the current user to the group
sudo usermod -aG gamemode $USER

After running these commands, log out and back in for the group membership changes to take effect.

This resolved the issue for me.

Mattheish avatar Sep 16 '25 19:09 Mattheish

@AkemiKami201

The result of cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors is :

Image

So I think I do have performance mode available

And the result of systemctl --user status gamemoded is :

Image

So I think that Gamemode is running correctly

Psykophem avatar Sep 19 '25 07:09 Psykophem

@Mattheish I also tried your solution but the gamemode group already exist :

Image

Psykophem avatar Sep 19 '25 07:09 Psykophem

Maybe this can help, I am using TLP

Psykophem avatar Sep 19 '25 07:09 Psykophem

Had the same problem (running latest CachyOS on 6.17.0-4-cachyos). Found a working solution on reddit:

Run sudo usermod -aG gamemode "$(whoami)" - this adds the current user to the gamemode group.

Reboot and run the tests again.

Gigusx avatar Oct 05 '25 09:10 Gigusx