Commit Graph

  • 23dd471f6b Add clang analyzer check using scan-build Marc Di Luzio 2019-05-17 17:11:21 +01:00
  • 89904602e9 Fix formatting for travis Marc Di Luzio 2019-05-19 11:24:51 +01:00
  • c276f760c7 Add comment about the reaper thread dealing with config file changes Marc Di Luzio 2019-05-15 18:42:00 +01:00
  • 5d0a413035 Only perform the leave/enter loop when gamemode is already active/has clients Marc Di Luzio 2019-05-15 18:38:36 +01:00
  • ec55bda3b2 Implement inotify check on the reaper thread for config changes Marc Di Luzio 2019-05-15 18:00:43 +01:00
  • ceb1808c95 Initial implementation of a RefreshConfig dbus interface Marc Di Luzio 2019-05-14 21:16:24 +01:00
  • 16e7d06083 Fix up error logging in game_mode_resolve_wine_preloader() Alex Smith 2019-05-19 11:12:17 +01:00
  • b04e39df43 Merge pull request #143 from mdiluz/client-example-check Alex Smith 2019-05-19 11:06:48 +01:00
  • 09e475e092 Typo fixes Alex Smith 2019-05-19 11:05:41 +01:00
  • 139b644d6d Merge pull request #142 from mdiluz/fixes-and-longoptions Alex Smith 2019-05-19 11:01:03 +01:00
  • f41ecda047 Fix a missing e Marc Di Luzio 2019-05-14 20:25:54 +01:00
  • 7ede50af39 Make sure we actually build the examples in the travis tests Marc Di Luzio 2019-05-15 18:52:52 +01:00
  • ddecc89f10 Add a note about GAMEMODE_AUTO and blocking calls Marc Di Luzio 2019-05-14 20:29:37 +01:00
  • ddc802573a Remove unneeded includes in gamemode_client.h Marc Di Luzio 2019-05-14 20:22:02 +01:00
  • a27e741beb Reformat long_options now that travis matches Marc Di Luzio 2019-05-15 18:43:42 +01:00
  • f401b49b1a Close the openned task dirs to prevent a leak Marc Di Luzio 2019-05-15 18:20:36 +01:00
  • 41d35fa12a Add a zeroed final option for getopt_long for correctness Marc Di Luzio 2019-05-15 18:17:50 +01:00
  • 0d018d91a8 Implement some error logging/checking and clean up some TODO comments Marc Di Luzio 2019-05-13 18:58:45 +01:00
  • ef29b35258 Make sure we don't leave a hanging gamemode request from the child process Marc Di Luzio 2019-05-13 18:52:38 +01:00
  • 139b90e0b7 Refactor the process test function Marc Di Luzio 2019-05-13 18:51:34 +01:00
  • 4091a0c532 Now that renice works - set it to a hard fail again Marc Di Luzio 2019-05-13 18:43:49 +01:00
  • f00a89bc56 Actually apply setpriority to the thread not the client Marc Di Luzio 2019-05-13 18:43:28 +01:00
  • 2d19b61a38 Always log when getpriority fails - we will likely want to know Marc Di Luzio 2019-05-13 18:43:11 +01:00
  • 16c932f5d0 Adjust logs for generic process test function Marc Di Luzio 2019-05-13 18:12:12 +01:00
  • f152ea9338 Initial implementation of applying renice to all process threads Marc Di Luzio 2019-05-12 20:27:00 +01:00
  • 3ac49385dc Add a test for renicing multithreaded processes Marc Di Luzio 2019-05-12 20:20:06 +01:00
  • 87cfd9c5a6 Remove error log about known issue now that it is fixed Marc Di Luzio 2019-05-12 20:19:19 +01:00
  • 38e48a2d8e Update logging to reflect thread, client relationship Marc Di Luzio 2019-05-12 19:56:20 +01:00
  • bf2b057915 First pass at fix for ioprio not applying to process tree properly Marc Di Luzio 2019-05-12 19:53:16 +01:00
  • 6639b17500 Make the multithreaded ioprio tests not cause a full failure Marc Di Luzio 2019-05-12 12:59:59 +01:00
  • 6869470f9b Fix feature status codes - failures here should be considered a failure Marc Di Luzio 2019-05-12 12:48:45 +01:00
  • 934b497603 Implement multithreaded test framework (and use for ioprio) Marc Di Luzio 2019-05-12 12:47:53 +01:00
  • 5ffe832faf Don't store the initial values Marc Di Luzio 2019-05-11 13:24:13 +01:00
  • 7f196cdd1a Fix formatting for travis Marc Di Luzio 2019-05-11 13:06:43 +01:00
  • 598969a538 Implement restoring the old ioprio value when unregistered Marc Di Luzio 2019-05-11 11:57:45 +01:00
  • 2249a71355 Get ready for re-setting ioprio value on un-register Marc Di Luzio 2019-05-11 11:53:52 +01:00
  • 6d14149658 Reset renice value on unregister Marc Di Luzio 2019-05-11 10:41:43 +01:00
  • 09d63ae4f5 Set up for resetting niceness value Marc Di Luzio 2019-05-11 10:33:29 +01:00
  • 7e5216c4a0 Some comments and cleanup Marc Di Luzio 2019-05-11 09:09:55 +01:00
  • a482b72d37 Fix comments in gamemode_client.h Marc Di Luzio 2019-05-10 20:40:58 +01:00
  • 717777e6c2 Implement PID support for --request and --status Marc Di Luzio 2019-05-10 20:40:31 +01:00
  • baff9c0363 Allow for long options using getopt_long Marc Di Luzio 2019-05-10 20:37:51 +01:00
  • 99c7d04e69 Add a link to the GNOME Shell extension Alex Smith 2019-05-07 09:30:33 +01:00
  • 4a49a1c2a5 Add a list of games which integrate GameMode support (#135) Alex Smith 2019-05-07 09:25:02 +01:00
  • 67c7aa04d6 Merge pull request #136 from gicmo/sandbox_root Alex Smith 2019-05-07 09:15:56 +01:00
  • 70e601267b daemon: use readlink not realpath to find the exe Christian Kellner 2019-04-30 18:18:18 +02:00
  • 0c778200ae helpers: add helpers to automatically close fds Christian Kellner 2019-04-30 13:47:47 +02:00
  • 001a69f565 Merge pull request #133 from gicmo/lib_bus_leak Alex Smith 2019-05-02 09:46:34 +01:00
  • 393a5e8f41 lib: release acquired bus reference Christian Kellner 2019-04-30 11:46:50 +02:00
  • 6291c13cf4 Merge pull request #130 from rombert/patch-1 Alex Smith 2019-04-12 08:34:52 +01:00
  • dbf9974fed Merge pull request #129 from gicmo/client_count_property Alex Smith 2019-04-12 08:33:47 +01:00
  • 0aced6f14e Add reference to openSUSE packages Robert Munteanu 2019-04-11 01:08:46 +02:00
  • 05909d1cfa daemon: add a ClientCount dbus property Christian Kellner 2019-04-10 23:57:27 +02:00
  • 6d921617f9 daemon: make context_num_clients a public method Christian Kellner 2019-04-10 23:57:00 +02:00
  • e86580c18c Update instructions to use 1.3.1 as the current stable release Alex Smith 2019-04-09 08:34:13 +01:00
  • dbc5c453d5 Merge pull request #128 from mgerstner/gpuclockctl_fixes Alex Smith 2019-04-08 09:31:22 +01:00
  • a91156ef93 Merge pull request #125 from tgurr/prefix Alex Smith 2019-04-05 14:05:22 +01:00
  • 78c2ced7d7 external-helper: improve run_external_process() robustness Matthias Gerstner 2019-04-04 11:39:17 +02:00
  • b411cfff6b gpuclockctl: refactor buffer size specification and avoid redundancies Matthias Gerstner 2019-04-03 16:46:38 +02:00
  • d7394cbeb2 daemon: fix file descriptor leaks Matthias Gerstner 2019-04-03 16:27:12 +02:00
  • 618997f0b3 gpuclockctl: fix return value of get_gpu_state_amd() Matthias Gerstner 2019-04-03 16:18:36 +02:00
  • 85d75c303c Use path_bindir for installing gamemoderun Timo Gurr 2019-03-29 18:18:23 +01:00
  • 959c48978b Update version to 1.4-dev post-release Alex Smith 2019-03-29 15:39:08 +00:00
  • e5ccb4b68d Update version to 1.3.1 1.3.1 Alex Smith 2019-03-29 15:30:11 +00:00
  • 1a51a2ec00 Update changelog for 1.3.1 Alex Smith 2019-03-29 15:30:00 +00:00
  • 9465c5f6bd Generate sha256sums in mkrelease.sh Alex Smith 2019-03-29 15:25:25 +00:00
  • efb8fbc3af Merge pull request #123 from gicmo/strtrunc_falsepositive Alex Smith 2019-03-29 15:21:34 +00:00
  • 41b85c245d Rewrite strncpy to silence compiler warning Christian Kellner 2019-03-28 17:14:00 +01:00
  • 34d86d30b1 Use additional compiler warnings, if supported Christian Kellner 2019-03-21 13:58:03 +01:00
  • 4a577b8c7c Rename local variable to un-shadow the global bus Christian Kellner 2019-03-21 13:54:59 +01:00
  • c34186be07 Mark game_mode_context_loop as 'noreturn' Christian Kellner 2019-03-21 13:53:11 +01:00
  • d12ab6830f No old-style function definitions. Christian Kellner 2019-03-21 13:52:18 +01:00
  • 45ba5bc4c4 Use matching signedness in format strings Christian Kellner 2019-03-21 13:50:26 +01:00
  • 0eb59fc848 Use minimal number of characters for strncmp Christian Kellner 2019-03-21 13:45:25 +01:00
  • bbde1d0357 Ensure strncpy'ed strings are all null terminated Christian Kellner 2019-03-21 09:55:51 +01:00
  • db4dd87e22 Add Debian to the list of distros which have packages available Alex Smith 2019-03-25 16:49:25 +00:00
  • c0032efc4f Make gamemoderun.in executable (#115) Alex Smith 2019-03-25 16:40:54 +00:00
  • 5516b547ca Merge pull request #121 from lilianmoraru/master Alex Smith 2019-03-25 16:16:25 +00:00
  • c0ffecae43 Build with optimizations Lilian A. Moraru 2019-03-19 10:38:49 +02:00
  • 95c365076f Update to version 1.4-dev post-release Alex Smith 2019-03-15 16:11:57 +00:00
  • ea7d1c13a3 Update to version 1.3 1.3 Alex Smith 2019-03-15 13:39:00 +00:00
  • 10a31f8dec Update copyright years to 2019 Alex Smith 2019-03-14 16:59:30 +00:00
  • 6b7f6c12c2 Various README fixes/adjustments Alex Smith 2019-03-14 16:51:29 +00:00
  • 0f680f2a83 clang-format fix Alex Smith 2019-03-14 16:30:52 +00:00
  • 5ee2f3c06a Adjust reaper_freq to match the default value set in code Alex Smith 2019-03-14 15:58:28 +00:00
  • 23bf1e6624 Minor adjustments Alex Smith 2019-03-14 15:47:02 +00:00
  • f163d4847b Update changelog, convert to Markdown Alex Smith 2019-03-14 15:43:20 +00:00
  • 4306660918 Adjust renice documentation Alex Smith 2019-03-14 15:11:10 +00:00
  • 2ab46df4c3 Disable softrealtime (SCHED_ISO) and renice by default Alex Smith 2019-03-14 15:00:49 +00:00
  • 746b463783 Merge pull request #114 from mdiluz/fix-issue-113 Alex Smith 2019-03-12 17:08:37 +00:00
  • 1482a2b39e Get the gpu index for both get and set (thanks @rezzafr33!) Marc Di Luzio 2019-03-12 08:52:58 +00:00
  • c1d06f2ad5 Try and make an educated guess at the correct nvidia gpu index Marc Di Luzio 2019-03-11 21:35:53 +00:00
  • 0c08359005 Merge pull request #112 from mdiluz/automatic-gpu-info Alex Smith 2019-03-11 17:14:41 +00:00
  • dc1258d750 Automatically adjust the nvidia gpu index Marc Di Luzio 2019-03-11 16:06:14 +00:00
  • fec32ac53d Remove the nv_perf_level config option and figure it out programmatically Marc Di Luzio 2019-03-10 15:11:24 +00:00
  • 873d0a224b Remove passing the vendor to gpuclockctl Marc Di Luzio 2019-03-10 14:11:22 +00:00
  • 5e5cae31d3 Explain a little more about nv_perf_level Marc Di Luzio 2019-03-10 12:38:31 +00:00
  • eb9bb0cdf7 Add notes on values for nv_powermizer_mode Marc Di Luzio 2019-03-10 11:54:54 +00:00
  • c49cd45e01 Ensure that we null terminate the process output buffer in run_external_process Alex Smith 2019-03-10 10:51:15 +00:00
  • 26ec6ad2b4 Document script_timeout Alex Smith 2019-03-10 10:49:06 +00:00