gamemode.ini 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. ; To use this feature, the user must be added to the gamemode group (and then rebooted):
  23. ; sudo usermod -aG gamemode $(whoami)
  24. renice=0
  25. ; By default, GameMode adjusts the iopriority of clients to BE/0, you can put any value
  26. ; between 0 and 7 here (with 0 being highest priority), or one of the special values
  27. ; "off" (to disable) or "reset" (to restore Linux default behavior based on CPU priority),
  28. ; currently, only the best-effort class is supported thus you cannot set it here
  29. ioprio=0
  30. ; Sets whether gamemode will inhibit the screensaver when active
  31. ; Defaults to 1
  32. inhibit_screensaver=1
  33. ; Sets whether gamemode will disable split lock mitigation when active
  34. ; Defaults to 1
  35. disable_splitlock=1
  36. [filter]
  37. ; If "whitelist" entry has a value(s)
  38. ; gamemode will reject anything not in the whitelist
  39. ;whitelist=RiseOfTheTombRaider
  40. ; Gamemode will always reject anything in the blacklist
  41. ;blacklist=HalfLife3
  42. ; glxgears
  43. [gpu]
  44. ; Here Be Dragons!
  45. ; Warning: Use these settings at your own risk
  46. ; Any damage to hardware incurred due to this feature is your responsibility and yours alone
  47. ; It is also highly recommended you try these settings out first manually to find the sweet spots
  48. ; Setting this to the keyphrase "accept-responsibility" will allow gamemode to apply GPU optimisations such as overclocks
  49. ;apply_gpu_optimisations=0
  50. ; The DRM device number on the system (usually 0), ie. the number in /sys/class/drm/card0/
  51. ;gpu_device=0
  52. ; Nvidia specific settings
  53. ; Requires the coolbits extension activated in nvidia-xconfig
  54. ; This corresponds to the desired GPUPowerMizerMode
  55. ; "Adaptive"=0 "Prefer Maximum Performance"=1 and "Auto"=2
  56. ; See NV_CTRL_GPU_POWER_MIZER_MODE and friends in https://github.com/NVIDIA/nvidia-settings/blob/master/src/libXNVCtrl/NVCtrl.h
  57. ;nv_powermizer_mode=1
  58. ; These will modify the core and mem clocks of the highest perf state in the Nvidia PowerMizer
  59. ; They are measured as Mhz offsets from the baseline, 0 will reset values to default, -1 or unset will not modify values
  60. ;nv_core_clock_mhz_offset=0
  61. ;nv_mem_clock_mhz_offset=0
  62. ; AMD specific settings
  63. ; Requires a relatively up to date AMDGPU kernel module
  64. ; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring
  65. ; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures
  66. ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now
  67. ;amd_performance_level=high
  68. [cpu]
  69. ; Parking or Pinning can be enabled with either "yes", "true" or "1" and disabled with "no", "false" or "0".
  70. ; Either can also be set to a specific list of cores to park or pin, comma separated list where "-" denotes
  71. ; a range. E.g "park_cores=1,8-15" would park cores 1 and 8 to 15.
  72. ; The default is uncommented is to disable parking but enable pinning. If either is enabled the code will
  73. ; currently only properly autodetect Ryzen 7900x3d, 7950x3d and Intel CPU:s with E- and P-cores.
  74. ; For Core Parking, user must be added to the gamemode group (not required for Core Pinning):
  75. ; sudo usermod -aG gamemode $(whoami)
  76. ;park_cores=no
  77. ;pin_cores=yes
  78. [supervisor]
  79. ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for
  80. ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests
  81. ;supervisor_whitelist=
  82. ;supervisor_blacklist=
  83. ; In case you want to allow a supervisor to take full control of gamemode, this option can be set
  84. ; This will only allow gamemode clients to be registered by using the above functions by a supervisor client
  85. ;require_supervisor=0
  86. [custom]
  87. ; Custom scripts (executed using the shell) when gamemode starts and ends
  88. ;start=notify-send "GameMode started"
  89. ; /home/me/bin/stop_foldingathome.sh
  90. ;end=notify-send "GameMode ended"
  91. ; /home/me/bin/start_foldingathome.sh
  92. ; Timeout for scripts (seconds). Scripts will be killed if they do not complete within this time.
  93. ;script_timeout=10