Skip to content

Commit

Permalink
default to allowing boost mode clocks
Browse files Browse the repository at this point in the history
That's the primary reason for using this fork anyways.

Also, add dev environment info to README.md
  • Loading branch information
KWottrich committed Apr 10, 2023
1 parent 8b24689 commit 35a1aa1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ handheld_mem=800

The `[values]` section allows you to alter timings in sys-clk, you should not need to edit any of these unless you know what you are doing. Possible values are:

| Key | Desc | Default |
|:-----------------------:|-------------------------------------------------------------------------------|:--------:|
|**temp_log_interval_ms** | Defines how often sys-clk log temperatures, in milliseconds (`0` to disable) | 0 ms |
|**csv_write_interval_ms**| Defines how often sys-clk writes to the CSV, in milliseconds (`0` to disable) | 0 ms |
|**poll_interval_ms** | Defines how fast sys-clk checks and applies profiles, in milliseconds | 300 ms |
|**override_boost_clk** | Defines whether sys-clk should override boost mode clocks (`0` to disable) | 1 (true) |
| Key | Desc | Default |
|:-----------------------:|-------------------------------------------------------------------------------|:---------:|
|**temp_log_interval_ms** | Defines how often sys-clk log temperatures, in milliseconds (`0` to disable) | 0 ms |
|**csv_write_interval_ms**| Defines how often sys-clk writes to the CSV, in milliseconds (`0` to disable) | 0 ms |
|**poll_interval_ms** | Defines how fast sys-clk checks and applies profiles, in milliseconds | 300 ms |
|**override_boost_clk** | Defines whether sys-clk should override boost mode clocks (`1` to enable) | 0 (false) |


## Capping
Expand Down Expand Up @@ -159,3 +159,14 @@ To protect the battery from excessive strain, clocks requested from config may b
**Notes:**
1. GPU overclock is capped at 460Mhz in handheld and capped at 768Mhz if charging, unless you're using the official charger.
2. Clocks higher than 768MHz need the official charger is plugged in.

## Development

Follow the [install procedures at switchbrew.org](https://switchbrew.org/wiki/Setting_up_Development_Environment). Additionally, you will need to install the following dependencies:

* switch-glfw
* switch-glm

This can be accomplished by running `pacman -S switch-glfw switch-glm`.

Once the environment is set up, run `./build.sh` to build the project. The output will be saved to `/dist`
2 changes: 1 addition & 1 deletion common/include/sysclk/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static inline uint64_t sysclkDefaultConfigValue(SysClkConfigValue val)
case SysClkConfigValue_CsvWriteIntervalMs:
return 0ULL;
case SysClkConfigValue_OverrideBoostClocks:
return 1ULL;
return 0ULL;
default:
return 0ULL;
}
Expand Down

0 comments on commit 35a1aa1

Please sign in to comment.