You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a4e246
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: crates/scx_loader/configuration.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,12 @@ The configuration file has the following structure:
21
21
default_sched = "scx_cosmos"
22
22
default_mode = "Auto"
23
23
24
+
[power_profiles]
25
+
enabled = true
26
+
power_saver = "PowerSave"
27
+
balanced = "Auto"
28
+
performance = "Gaming"
29
+
24
30
[scheds.scx_bpfland]
25
31
auto_mode = ["-m", "auto"]
26
32
gaming_mode = ["-m", "all"]
@@ -125,6 +131,16 @@ server_mode = []
125
131
* Possible values are: `"Auto"`, `"Gaming"`, `"LowLatency"`, `"PowerSave"`, `"Server"`.
126
132
* If this field is not present, it defaults to `"Auto"`.
127
133
134
+
**`[power_profiles]`:**
135
+
136
+
*`enabled` controls whether the normal D-Bus daemon follows power-profiles-daemon. It defaults to `false`; `scx_loader --auto` never follows PPD.
137
+
*`power_saver`, `balanced`, and `performance` map PPD's `power-saver`, `balanced`, and `performance` profiles to scx-loader modes. Each mapping is optional and has no built-in default.
138
+
* Mapping values use `"Auto"`, `"Gaming"`, `"PowerSave"`, `"LowLatency"`, or `"Server"`.
139
+
* When enabled, scx-loader applies PPD's current profile at startup and after reconnecting, then reacts to profile changes.
140
+
* A mapped event switches the currently running scheduler to the configured mode, replacing custom scheduler arguments. If no scheduler is running, the event is discarded.
141
+
* Manual scheduler or mode changes remain active until the next mapped PPD event. Unmapped and unknown profiles leave the scheduler unchanged.
142
+
* PPD may be absent or restart without preventing scx-loader from running; the monitor reconnects automatically.
143
+
128
144
**`[scheds.scx_name]`:**
129
145
130
146
* This section defines the custom flags for a specific scheduler. Replace `scx_name` with the actual name of the scheduler (e.g., `scx_bpfland`, `scx_rusty`, `scx_lavd`, `scx_flash`, `scx_p2dq`, `scx_rustland`).
0 commit comments