gamemode.ini 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [general]
  2. ; The reaper thread will check every 5 seconds for exited clients, for config file changes, and for the CPU/iGPU power balance
  3. reaper_freq=5
  4. ; The desired governor is used when entering GameMode instead of "performance"
  5. desiredgov=performance
  6. ; The default governor is used when leaving GameMode instead of restoring the original value
  7. ;defaultgov=powersave
  8. ; The iGPU desired governor is used when the integrated GPU is under heavy load
  9. igpu_desiredgov=powersave
  10. ; Threshold to use to decide when the integrated GPU is under heavy load.
  11. ; This is a ratio of iGPU Watts / CPU Watts which is used to determine when the
  12. ; integraged GPU is under heavy enough load to justify switching to
  13. ; igpu_desiredgov. Set this to -1 to disable all iGPU checking and always
  14. ; use desiredgov for games.
  15. igpu_power_threshold=0.3
  16. ; GameMode can change the scheduler policy to SCHED_ISO on kernels which support it (currently
  17. ; not supported by upstream kernels). Can be set to "auto", "on" or "off". "auto" will enable
  18. ; with 4 or more CPU cores. "on" will always enable. Defaults to "off".
  19. softrealtime=off
  20. ; GameMode can renice game processes. You can put any value between 0 and 20 here, the value
  21. ; will be negated and applied as a nice value (0 means no change). Defaults to 0.
  22. renice=0
  23. ; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value
  24. ; between 0 and 7 here (with 0 being highest priority), or one of the special values
  25. ; "off" (to disable) or "reset" (to restore Linux default behavior based on CPU priority),
  26. ; currently, only the best-effort class is supported thus you cannot set it here
  27. ioprio=0
  28. ; Sets whether gamemode will inhibit the screensaver when active
  29. ; Defaults to 1
  30. inhibit_screensaver=1
  31. [filter]
  32. ; If "whitelist" entry has a value(s)
  33. ; gamemode will reject anything not in the whitelist
  34. ;whitelist=RiseOfTheTombRaider
  35. ; Gamemode will always reject anything in the blacklist
  36. ;blacklist=HalfLife3
  37. ; glxgears
  38. [gpu]
  39. ; Here Be Dragons!
  40. ; Warning: Use these settings at your own risk
  41. ; Any damage to hardware incurred due to this feature is your responsibility and yours alone
  42. ; It is also highly recommended you try these settings out first manually to find the sweet spots
  43. ; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks
  44. ;apply_gpu_optimisations=0
  45. ; The DRM device number on the system (usually 0), ie. the number in /sys/class/drm/card0/
  46. ;gpu_device=0
  47. ; Nvidia specific settings
  48. ; Requires the coolbits extension activated in nvidia-xconfig
  49. ; This corresponds to the desired GPUPowerMizerMode
  50. ; "Adaptive"=0 "Prefer Maximum Performance"=1 and "Auto"=2
  51. ; See NV_CTRL_GPU_POWER_MIZER_MODE and friends in https://github.com/NVIDIA/nvidia-settings/blob/master/src/libXNVCtrl/NVCtrl.h
  52. ;nv_powermizer_mode=1
  53. ; These will modify the core and mem clocks of the highest perf state in the Nvidia PowerMizer
  54. ; They are measured as Mhz offsets from the baseline, 0 will reset values to default, -1 or unset will not modify values
  55. ;nv_core_clock_mhz_offset=0
  56. ;nv_mem_clock_mhz_offset=0
  57. ; AMD specific settings
  58. ; Requires a relatively up to date AMDGPU kernel module
  59. ; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring
  60. ; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures
  61. ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now
  62. ;amd_performance_level=high
  63. [supervisor]
  64. ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for
  65. ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests
  66. ;supervisor_whitelist=
  67. ;supervisor_blacklist=
  68. ; In case you want to allow a supervisor to take full control of gamemode, this option can be set
  69. ; This will only allow gamemode clients to be registered by using the above functions by a supervisor client
  70. ;require_supervisor=0
  71. [custom]
  72. ; Custom scripts (executed using the shell) when gamemode starts and ends
  73. ;start=notify-send "GameMode started"
  74. ; /home/me/bin/stop_ethmining.sh
  75. ;end=notify-send "GameMode ended"
  76. ; /home/me/bin/start_ethmining.sh
  77. ; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time.
  78. ;script_timeout=10