gamemode: `gamemoded -t` testing fails upon installation: ERROR: Initial ioprio value is non-default

Describe the bug Testing GameMode fails using default settings immediately upon installation.

To Reproduce Steps used to reproduce the behavior:

  1. Install GameMode as per the documentation
  2. run gamemoded -t
  3. Test fails
: 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
::: Passed
::: 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
ERROR: Initial ioprio value is non-default
Expected: 4, Was: 7
::: Failed!
ERROR: :: Failed!
: Tests Failed!

Expected behavior Expected test to pass as no changes has been made to the default configurations

System Info (please complete the following information):

  • OS and version: Pop!_OS 22.04 LTS
  • GameMode Version: 1.7

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 19
  • Comments: 16

Most upvoted comments

I’m on latest Pop OS here. Try to properly install gamemode following the instructions on this page, then reboot the system. After that, try the self-test and see if it works.

+1 Exact same output, same OS and same GameMode version.

However, it works sometimes.

Screenshot from 2022-12-17 17-52-35