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