FeralInteractive / gamemode

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

Gamemode fails test with prime-run #477

Open stanekondrej opened 7 months ago

stanekondrej commented 7 months ago

Describe the bug When running gamemoded -t, everything works as expected, but when the GAMEMODERUNEXEC environment variable is set to prime-run, the test fails.

To Reproduce Steps used to reproduce the behavior:

  1. Run GAMEMODERUNEXEC="prime-run" gamemoded -t
  2. See error

Expected behavior Gamemode doesn't fail the test

System Info (please complete the following information):

Additional context I am running the proprietary drivers, if that's important.

This is the command output:

λ ~/ GAMEMODERUNEXEC="prime-run" gamemoded -t
: Loading config
: Running tests

:: Basic client tests
:: Passed

:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
:: Passed

:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
ERROR: gamemode failed to deactivate when requested (expected 0)!
:: Supervisor tests
ERROR: gamemode_query_status after end request gave unexpected value 1, (expected 0)!
ERROR: :: Failed!
: Client tests failed, skipping feature tests
: Tests Failed!