FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.64k stars 183 forks source link

Gamemoded -t has errors #482

Open Lighttz opened 2 months ago

Lighttz commented 2 months ago

Describe the bug: : 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... ...Waiting for child to quit... :: 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 schedutil)! ::: 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!

The CPU governor fails to switch to 'performance' mode as expected during tests, instead remaining on 'schedutil'. Additionally, there is an issue with the ioprio verification step.

To Reproduce: Steps to reproduce the behavior:

Launch gamemode using command 'gamemoded -t' Start the game '....' Monitor the output of '....' Observe the errors mentioned in the test results. Expected behavior The CPU governor should switch to 'performance' mode upon gamemode activation. Additionally, the ioprio verification should complete without errors.

System Info

OS and version: Linux Mint 21.3 "Virginia" with XFCE desktop GameMode Version: 1.8.1 Additional context: The issue appears to be intermittent.

dual1sm commented 1 month ago

The only fix I found was simply using git checkout to switch to version 1.7 upon doing this all tests passed. Not sure what's up

marwanramadan commented 2 days ago

I had the same problem (Manjaro). Adding my user to the group 'gamemode' removed the error.