gamemode.ini 3.8 KB

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