Add suggestion message to failed CPU governernor test

This commit is contained in:
Andrew Koroluk 2024-09-13 16:21:20 -04:00 committed by afayaz-feral
parent c54d6d4243
commit 2f69f7c023

View File

@ -801,6 +801,8 @@ static int game_mode_run_feature_tests(struct GameModeConfig *config)
LOG_MSG("::: Passed\n"); LOG_MSG("::: Passed\n");
else { else {
LOG_MSG("::: Failed!\n"); 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 // Consider the CPU governor feature required
status = -1; status = -1;
} }