gamemode.ini 3.8 KB

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