FeralInteractive / gamemode

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

Gamemoderun cannot take effect on real game processes in steam #469

Open yuyuen72 opened 5 months ago

yuyuen72 commented 5 months ago

Describe the bug I set renice=5 in gamemode.ini, yes,it take effect, you can see it reniced "reaper", "perssure-vessel-wrap", "pressure-vessel-adverb" and "cs2.sh", but the real game processes cs2 and dota2 witch is take lots of memory has no effect. 2024-03-15 21-24-21

To Reproduce Steps used to reproduce the behavior:

  1. set "gamemoderun %command%" in steam for CS2 or DotA2 or maybe others but I only have this 2 game.
  2. Run game
  3. open system-monitor
  4. See nice number in system-monitor

Expected behavior I think "reaper", "perssure-vessel-wrap", "pressure-vessel-adverb" and "cs2.sh" shouldn't be reniced, because maybe it will waste system resources. The real game processes should be reniced.

System Info (please complete the following information):

Additional context no.

Tiagoquix commented 5 months ago

I can confirm this also happens with Proton games.

Edit: the renice works with Team Fortress 2 (native), but does not work with Dead by Daylight (Proton).

JoelleJS commented 2 weeks ago

Presumably the same issue as #457