Commit Graph

13 Commits

Author SHA1 Message Date
KazushiM
8285e84071 Maximum RAM frequency will not be used automatically 2023-02-02 17:13:52 +08:00
KazushiM
72a8421df6 Create config dir if it does not exist; Fixed maxMemFreq detection 2022-10-31 17:22:39 +08:00
KazushiM
6a1ac29733 AutoCPUBoost for governor 2022-10-31 13:16:57 +08:00
KazushiM
859841ab8e - Fixed gpu_hz_list typo in governor (#46)
- Parse loader.kip config from { "/", "/atmosphere/", "/atmosphere/kips/", "/bootloader/" } (#44)
2022-10-31 00:43:40 +08:00
KazushiM
26c0bff4dd Sys-clk-OC: Fixed #41; Erista support added; Manager is deprecated 2022-10-29 18:38:57 +08:00
KazushiM
851839be0a Schedutil-like governor with proper load_avg calculation; Fixed #36 2022-10-27 01:41:38 +08:00
KazushiM
b52bef3c31 Updated: Sys-clk-OC, Loader, System_settings
- Sys-clk-OC

  - Major cleanup in clock_manager, preparing to add basic Erista support.

  - Added an experimental CPU & GPU frequency governor.

    - Known issue:

      - Occasional stuttering is expected: GPU load% metric PMU_GET_GPU_LOAD does not reflect real utilization precisely. Use another metric, some interpolation algo or add min frequency option for improvement.

- Loader

  - Addressed an issue for Erista variants: Boot with unmodified Fusee or Hekate, nn::pcv::EmcDvfsPeriodicCompHandler will fail with rc 0x8C5. Fixed by removing 40.8 MHz while retaining 1600.0 MHz MEM table -- however, this means user has to use modified sys-clk.
2022-10-23 23:36:52 +08:00
KazushiM
6f5de53382 [sys-clk-OC] Disable unsafe frequencies by default; Remove emulator-mode; Move fast-charging handler to sysmodule 2022-05-15 19:37:50 +08:00
KazushiM
406b2df944 - Add emulator mode (GPU-only freq capping) for handheld profile
- HOS 14.0.0+ removed ts:GetTemperatureMilliC · retronx-team/sys-clk@dcd0d5d
2022-03-24 11:01:14 +08:00
KazushiM
4f922a1615 - [MEM] Replace 1331.2 MHz with 1600 MHz
- [MEM] Update timings

- [CPU] (Auto-)Boost freq is now 1785 MHz

- [Sys-clk-OC] Add charging and fast charging toggles in overlay
2021-12-25 19:01:55 +08:00
KazushiM
e6b608fa43 - [Sys-clk-OC] Partial rewrite, general performance & stability improvement
- [ReverseNX-RT] Notify user if profile is synced with sys-clk
2021-12-18 23:11:26 +08:00
KazushiM
2724faf980 - Add TinyMemBenchNX, a simple memory benchmark program based on [tinymembench](https://github.com/ssvb/tinymembench)
- Sys-clk Fix: Ignore RAM clock values in config, or sys-clk will stuck in a loop of resetting RAM clocks (generating huge log file and degrading performance)

- Fix: Temporary frequency override in sys-clk overlay/manager
2021-08-31 00:39:42 +08:00
KazushiM
a4b4473809 sys-clk-OC 2021-08-29 15:00:45 +08:00