FeralInteractive / gamemode

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

Schedutil seems to be not support #90

Open ghost opened 5 years ago

ghost commented 5 years ago

Describe the bug Schedutil seems to be not supported by gamemode. At least on Arch Linux it is automatically selected for my AMD Ryzen 7 1700. If I use gamemode it always selects powersave when stopping the game. I would have expected it switches back to schedutil.

To Reproduce Steps used to reproduce the behavior:

  1. Check CPU governor after a fresh system start => schedutil
  2. Run game a with gamemode "LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so %command%"
  3. Check CPU governor => performance
  4. Stop game
  5. Check CPU governor => powersave

Expected behavior Switch back to schedutil or ondemand. I think powersave is the worst option at all for normal desktop usage.

System Info (please complete the following information):

mdiluz commented 5 years ago

This is interesting, as the daemon should be storing the initial schedutil string and using that afterwards.

Is this issue still happening? If so, could you give us the full output of the daemon for your reproduction steps?

One possibility is that the defaultgov parameter is set for you, maybe you have active config files?