gamemode.ini 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. ; Generally "Adaptive"=0 "Prefer Maximum Performance"=1 and "Auto"=2)
  42. ;nv_powermizer_mode=1
  43. ; This corresponds to the performance level to edit in nvidia-xconfig (usually the highest level - on older cards 1, newer cards can be 4 or higher)
  44. ;nv_perf_level=1
  45. ; (these two are Mhz offsets from the baseline, ie. 0 applies no change)
  46. ;nv_core_clock_mhz_offset=0
  47. ;nv_mem_clock_mhz_offset=0
  48. ; AMD specific settings
  49. ; Requires a relatively up to date AMDGPU kernel module
  50. ; See: https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring
  51. ; It is also highly recommended you use lm-sensors (or other available tools) to verify card temperatures
  52. ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now
  53. ;amd_performance_level=high
  54. [supervisor]
  55. ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for
  56. ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests
  57. ;supervisor_whitelist=
  58. ;supervisor_blacklist=
  59. ; In case you want to allow a supervisor to take full control of gamemode, this option can be set
  60. ; This will only allow gamemode clients to be registered by using the above functions by a supervisor client
  61. ;require_supervisor=0
  62. [custom]
  63. ; Custom scripts (executed using the shell) when gamemode starts and ends
  64. ;start=notify-send "GameMode started"
  65. ; /home/me/bin/stop_ethmining.sh
  66. ;end=notify-send "GameMode ended"
  67. ; /home/me/bin/start_ethmining.sh