Skip to content

Commit

Permalink
Add suggestion message to failed CPU governernor test
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 authored and afayaz-feral committed Nov 4, 2024
1 parent c54d6d4 commit 2f69f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon/gamemode-tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,8 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
LOG_MSG("::: Passed\n");
else {
LOG_MSG("::: Failed!\n");
LOG_MSG(" -- You may need to add your user to the gamemode group:");
LOG_MSG(" -- $ sudo usermod -aG gamemode $(whoami)");
// Consider the CPU governor feature required
status = -1;
}
Expand Down

0 comments on commit 2f69f7c

Please sign in to comment.