Commit Graph

  • 8bb7c901de Fix typo (default_timout -> default_timeout) Alex Smith 2019-03-10 10:47:17 +00:00
  • 7fb1950357 Fix formatting Marc Di Luzio 2019-03-08 16:28:01 +00:00
  • 54d7d3f259 Allow nv_perl_level and nv_powermizer_mode to be set independently Marc Di Luzio 2019-03-08 16:03:24 +00:00
  • 834a18aab4 Implement nv_powermizer_mode option to allow setting the Nvidia powermizer mode Marc Di Luzio 2019-03-08 15:55:22 +00:00
  • 9ade4481c3 Change AMD overclocking to simply be setting the power_dpm_force_performance_level file for now Marc Di Luzio 2019-03-07 18:51:20 +00:00
  • 20efaaa33f Rename the core and mem stats to nv_ prefix Marc Di Luzio 2019-03-07 18:24:53 +00:00
  • cc9f78fe0a Merge pull request #108 from mdiluz/bug-and-feature-bash Alex Smith 2019-03-10 10:30:25 +00:00
  • 058efe8cce Use Meson's warning_level option Alex Smith 2019-03-10 10:20:29 +00:00
  • 433370e3fa Add details of Gentoo ebuild for stable release Alex Smith 2019-03-10 10:10:00 +00:00
  • 6a240d550e Extend the sleep for the child gamemode in tests Marc Di Luzio 2019-03-07 20:09:14 +00:00
  • 0efd65fc78 set the default gov not the desired gov in tests Marc Di Luzio 2019-03-08 11:55:41 +00:00
  • b6da948ca2 Add the output to the log for external processes that have failed Marc Di Luzio 2019-02-21 20:50:04 +00:00
  • c215626ccd Add "script_timeout" config value to control if a user wants to extend the script timeout before kill value Marc Di Luzio 2019-02-21 20:47:31 +00:00
  • 53d1700a68 Add the timout to the call signature of run_external_process Marc Di Luzio 2019-02-21 20:27:41 +00:00
  • 4578af47ba Combine the two run_external_process functions so they both have the same timeout protection Marc Di Luzio 2019-02-21 20:03:59 +00:00
  • e9ff2cbb10 Implement a timeout in run_external_process Marc Di Luzio 2019-02-21 18:53:51 +00:00
  • 1665447350 Use run_external_process for the script execution Marc Di Luzio 2019-02-21 18:37:53 +00:00
  • 5facf2bba5 Refactor out script execution Marc Di Luzio 2019-02-21 18:33:00 +00:00
  • 024acddf90 Run the custom start scripts to after the other optimisations Marc Di Luzio 2019-02-21 18:28:54 +00:00
  • 9df1dd857c Try waiting for the reaper thread at the start of tests if needed Marc Di Luzio 2019-02-21 18:18:04 +00:00
  • e44c445262 Use the actual dbus error when failing in the client Marc Di Luzio 2019-02-21 18:07:56 +00:00
  • 3c28e84700 Merge pull request #105 from mdiluz/auto-detect-vendor Alex Smith 2019-03-04 08:43:58 +00:00
  • a5543880f3 Clarify ini file description Marc Di Luzio 2019-03-01 18:13:58 +00:00
  • c7c1c5470f Minor fix for preload instructions Alex Smith 2019-02-27 09:38:09 +00:00
  • 326be7ebbd Merge pull request #106 from mdiluz/supervisor-support Alex Smith 2019-02-26 18:31:18 +00:00
  • 7f6f32d284 Actually reject requests if require_supervisor is hit Marc Di Luzio 2019-02-22 15:58:46 +00:00
  • c1dfd8bbc4 Add gamemode error strings to printouts to help debug issues Marc Di Luzio 2019-02-19 19:44:55 +00:00
  • 218dc9dab8 Fix up formatting Marc Di Luzio 2019-02-10 12:33:01 +00:00
  • 70c317233f Wait for the child to finish up Marc Di Luzio 2019-02-10 12:32:17 +00:00
  • 3a624350d1 Add flavor to error log messages Marc Di Luzio 2019-02-10 12:32:04 +00:00
  • baf295773b Implement supervisor tests Marc Di Luzio 2019-02-10 12:28:43 +00:00
  • b28efdb555 Correct the names and return 0 for success Marc Di Luzio 2019-02-10 12:28:24 +00:00
  • 602afdcbb7 Add check against require_supervisor variable Marc Di Luzio 2019-02-10 11:52:30 +00:00
  • 1d40c0cc1b Refactor to use single internal functions for register, unregister and query Marc Di Luzio 2019-02-10 11:48:41 +00:00
  • d4fdd9e3b4 Correct internal name for query_status_for Marc Di Luzio 2019-02-09 16:13:11 +00:00
  • de1049f070 Fix comments Marc Di Luzio 2019-02-09 16:09:59 +00:00
  • c2f7e971c6 Implement game_mode_query_status_for as well Marc Di Luzio 2019-02-09 16:09:11 +00:00
  • 1b96111afc Add entry in README for supervisor support Marc Di Luzio 2019-02-09 15:56:52 +00:00
  • 1430c0b831 Implement supervisor features using new config variables Marc Di Luzio 2019-02-09 15:49:46 +00:00
  • d60ac23daa Add a helper function for getting if a config list contains a string Marc Di Luzio 2019-02-09 15:30:20 +00:00
  • c5f58c56d0 Hook up interfaces for functions to register another process Marc Di Luzio 2019-02-08 18:15:43 +00:00
  • 0f7950245a Actually don't error if a symbol is not required Marc Di Luzio 2019-02-08 17:13:48 +00:00
  • ca858d6932 Add two new API calls to the client to request gamemode on behalf of another process Marc Di Luzio 2019-02-08 16:52:03 +00:00
  • 1f49432e7a Simplify the typedefs for the apicalls Marc Di Luzio 2019-02-08 16:46:27 +00:00
  • de390be93d Add unused to now unused hex function Marc Di Luzio 2019-02-21 17:29:11 +00:00
  • ebe525d04e Fix up testing now that we detect the vendor Marc Di Luzio 2019-02-19 19:36:36 +00:00
  • 91deffb6b4 Fill in the GPU vendor automatically Marc Di Luzio 2019-02-16 12:34:23 +00:00
  • 0847d3b452 Remove the vendor config value in prep for it to be auto-detected Marc Di Luzio 2019-02-16 12:22:47 +00:00
  • d582b580b2 Merge pull request #104 from mdiluz/more-testing Alex Smith 2019-02-21 14:10:44 +00:00
  • 77c10ba15f Merge pull request #103 from mdiluz/protect-gpu-settings Alex Smith 2019-02-21 11:34:11 +00:00
  • 94b6a34f65 Add test for gamemoderun and the reaper thread Marc Di Luzio 2019-02-19 18:33:06 +00:00
  • 42d7503482 Adjust checking in gpuclockctl to assist when errors happen Marc Di Luzio 2019-02-16 12:16:06 +00:00
  • ab5fdad3cb Give the child more time to quit Marc Di Luzio 2019-02-10 12:30:29 +00:00
  • e36a172144 Add full test for GPU settings Marc Di Luzio 2019-02-09 21:24:26 +00:00
  • 784cb0053d Extract testing to individual functions Marc Di Luzio 2019-02-09 21:04:09 +00:00
  • a9572e6896 Begin GPU test implementation Marc Di Luzio 2019-02-09 20:29:27 +00:00
  • 20a4862888 Add functionality to get the current GPU information in the daemon Marc Di Luzio 2019-02-09 20:29:06 +00:00
  • e31a811946 Add run_external_process_get_output function to get output as well Marc Di Luzio 2019-02-09 20:11:07 +00:00
  • 392fb221dc Return failure on failure, and don't try and read past the end of argv Marc Di Luzio 2019-02-09 19:45:44 +00:00
  • 9cd32c63eb Implement getting GPU clocks for NV Marc Di Luzio 2019-02-09 19:07:20 +00:00
  • 1bc4ac626a Comment about register features Marc Di Luzio 2019-02-08 16:36:27 +00:00
  • 7f5e59b7c4 Add pass/fail for the CPU tests Marc Di Luzio 2019-02-07 19:37:32 +00:00
  • 6bfedc9692 Call the configured scripts to test them Marc Di Luzio 2019-02-07 19:34:44 +00:00
  • f7dce41d8a Improve test logging output Marc Di Luzio 2019-02-07 19:20:41 +00:00
  • cbf7f975d3 Add basic framework to do some script tests Marc Di Luzio 2019-02-07 17:04:24 +00:00
  • 6ba74284b9 Add test to verify that governor setting works Marc Di Luzio 2019-02-06 19:50:10 +00:00
  • 7773e5d8b7 Use the logging macros for tests Marc Di Luzio 2019-02-06 19:02:37 +00:00
  • 97cfc3bb17 Add game_mode_run_feature_tests to start putting feature tests Marc Di Luzio 2019-02-06 18:59:38 +00:00
  • 938794a69c Protect the [gpu] config section Marc Di Luzio 2019-02-16 12:00:40 +00:00
  • 7550a1937d Merge pull request #102 from mdiluz/config-refactor Alex Smith 2019-02-20 09:00:32 +00:00
  • c0ef843290 Refactor the config values into a sub-struct Marc Di Luzio 2019-02-09 15:12:20 +00:00
  • 903fda6dcb Use a macro to declare some the repeated "get long config value" pattern Marc Di Luzio 2019-02-09 15:07:15 +00:00
  • d5ffdcffdb Fix reaper_frequency naming Marc Di Luzio 2019-02-09 15:06:24 +00:00
  • b7dff4265c Refactor config functions that can return their full value to do so Marc Di Luzio 2019-02-09 14:52:07 +00:00
  • d17d682082 Fix gamemoderun to set the right environment variable Alex Smith 2019-02-19 10:10:51 +00:00
  • 536be9c4c4 Merge pull request #101 from mdiluz/gpu-optimisations Alex Smith 2019-02-19 08:43:35 +00:00
  • c7da9ff9ea Reword advice in the example ini file to clear up confusion with the PCI ID Marc Di Luzio 2019-02-15 18:20:52 +00:00
  • 10d1c12aab Correct capitalisation and ini file path in README Marc Di Luzio 2019-02-13 17:25:24 +00:00
  • 547b7943fd Remove r in "statesr" Marc Di Luzio 2019-02-13 17:22:45 +00:00
  • 8584558f9c Make sure gpuclockctl inherits the DISPLAY and XAUTHORITY variables so nvidia-settings works Marc Di Luzio 2019-02-10 11:01:48 +00:00
  • f86f57af0e Add a little more flavor text to remind users that both AMD and Nvidia do have automatic overclocks Marc Di Luzio 2019-02-10 10:42:30 +00:00
  • 00ed82f8e4 Extend the nvidia command size to 128 Marc Di Luzio 2019-02-09 19:08:06 +00:00
  • d1b7c49bc2 Remove more duplicate ERROR: logs Marc Di Luzio 2019-02-06 19:03:15 +00:00
  • ba20df5c47 Fix headers for travis Marc Di Luzio 2019-02-06 18:00:36 +00:00
  • 4cee59cde3 Add a note about overclocking to the README Marc Di Luzio 2019-02-06 17:26:33 +00:00
  • 16ade5c1c9 Adjust the TODO list Marc Di Luzio 2019-02-06 17:20:08 +00:00
  • d18f3fc584 Remove duplicate ERROR strings from error logs Marc Di Luzio 2019-02-06 17:12:54 +00:00
  • 0170a72634 Fix formatting of renice value comment Marc Di Luzio 2019-02-05 21:31:42 +00:00
  • db0f8f91f3 Update TODO comments Marc Di Luzio 2019-02-04 17:20:48 +00:00
  • a488af5741 Lower the amd overclock hard limit Marc Di Luzio 2019-02-04 17:06:04 +00:00
  • 2aa2ca2f7d Implement AMD overclocking using AMDGPU Marc Di Luzio 2019-02-04 17:05:38 +00:00
  • d00a9997f1 Correct log message Marc Di Luzio 2019-02-03 19:20:50 +00:00
  • f5e7fa3222 Set up overclocking calls on NVidia Marc Di Luzio 2019-02-03 19:20:16 +00:00
  • bd5baccc67 Hook up individual set state functions Marc Di Luzio 2019-02-03 18:47:18 +00:00
  • 53428356a5 Move control code back into the helper Marc Di Luzio 2019-02-03 18:41:15 +00:00
  • ff1a838ab7 Apply format corrections Marc Di Luzio 2019-02-03 18:37:17 +00:00
  • 142b2fb32d Also add nv_perf_level for nvidia (needed as a parameter to nvidia-xsettings) Marc Di Luzio 2019-02-03 18:33:41 +00:00
  • 4152104d2b Correct the mem argv index and print the intended change Marc Di Luzio 2019-02-03 18:08:46 +00:00
  • b85edc2e04 Hand down correct set parameters to gpucorectl Marc Di Luzio 2019-02-03 18:07:45 +00:00
  • 8ea751057c Move the TODO into the control file Marc Di Luzio 2019-02-03 17:36:08 +00:00