From e6dde5db1d357cbe76bcf93fe43e80fe219b6929 Mon Sep 17 00:00:00 2001 From: KazushiM <85604869+KazushiMe@users.noreply.github.com> Date: Fri, 9 Jul 2021 17:14:44 +0800 Subject: [PATCH] drop Erista support, update info on tesla-overlay crash --- README.md | 67 +++++++--------- SdOut/atmosphere/config/system_settings.ini | 85 ++++++++++++++++++++- 2 files changed, 110 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 14157994..5f10db21 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Switch OC Suite -Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. +Overclocking suite for Switch (Mariko Only) running on Atmosphere CFW. + +For Horizon OS 11.0.x ~ 12.1.0. (AIO Package only supports the latest OS version for easier maintenance.) @@ -10,23 +12,20 @@ Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. ### Failure to read this README carefully or Doing CPU/GPU Overclocking on Erista will brick or fry your device (in the short term or long term, who knows). -- HOS 12.1.0 doesn't change anything (regarding this patch suite), except for introducing new master key revision(0b) and updating nifm module. -- Erista support will be dropped later(13.0.0?). - ## Features -- CPU/GPU Overclock up to 2397.0/1344.0 MHz for Mariko and up to 2295.0/1075.2 MHz for Erista +- CPU/GPU Overclock up to 2397.0/1344.0 MHz for Mariko -- Auto-Boost CPU when a game starts or is loading (Mariko Only) +- Auto-Boost CPU when a game starts or is loading -- Optimization for fan control at high load (Mariko Only) +- Optimization for fan control at high load -- RAM Overclock up to 2131.2 MHz for Erista and 1996.8 MHz for Mariko +- RAM Overclock up to 1996.8 MHz for Mariko -- Disable Push Notifications service, less power consumption in standby mode (Optional) +- Disable background services, less power consumption in standby mode (Optional) - Sync sys-clk profiles with ReverseNX(-Tools and -RT), no need to change clocks after toggling modes @@ -38,40 +37,34 @@ Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. ### Details -- Bump CPU/GPU frequencies up to 2397.0/1344.0 MHz for Mariko and 2295.0/1075.2 MHz for Erista, bypassing Horizon OS limit. +- Bump CPU/GPU frequencies up to 2397.0/1344.0 MHz for Mariko, bypassing Horizon OS limit. - Some SoCs may not reach MAX clock, or be unstable at/near MAX clock. - - CPU/GPU Overclocking on Erista will consume more power than what the charger provides, and generates much more heat. **You have been WARNED AGAIN!** - - Mariko is still functioning w/o charger under MAX OC(Your Mileage May Vary), therefore limit posed by sys-clk is lifted only for Mariko, but don't overdo it on battery. + - Mariko is still functioning w/o charger under MAX OC(Your Mileage May Vary), therefore limit posed by sys-clk is lifted for Mariko, but don't overdo it on battery. -- Auto-Boost CPU when a game starts or is in loading screen (Mariko Only, Optional). +- Auto-Boost CPU when a game starts or is in loading screen (Optional). - 1963.5 MHz w/o charger and 2295.0 MHz with charger - Some games don't utilize SetCpuBoostMode, e.g. Overcooked 2, so Auto-Boost would be invalid in loading screens. -- RAM Overclock for both Erista and Mariko consoles. For now, Erista can reach up to 2131.2 MHz with overvolting, and up to 1996.8 MHz for Mariko without overvolting. +- RAM Overclock, up to 1996.8 MHz for Mariko without overvolting. - RAM frequencies other than the only one you've chosen can NOT be used, but the impact of power consumption is negligible. So the ability to set RAM frequencies is removed in favor of ptm RAM patches, which could set RAM at specific clock permanently. - - - For Mariko: + - Recommended frequency for Hynix RAM is 1731.2/1862.4 MHz(fk Hynix), but for Samsung and Micron ones you may use higher frequencies like 1996.8 MHz. + - Use Hekate to check out the brand of your RAM chips. + - Choose RAM clock with care, or your eMMC filesystem will be **corrupted**. - - Recommended frequency for Hynix RAM is 1731.2/1862.4 MHz(fk Hynix), but for Samsung and Micron ones you may use higher frequencies like 1996.8 MHz. - - Use Hekate to check out the brand of your RAM chips. - - Choose RAM clock with care, or your eMMC filesystem will be **corrupted**. - - - For Erista: - - - If you boot via Hekate, Minerva module(`/bootloader/sys/libsys_minerva.bso`) should be removed or recompiled with [changes](https://github.com/CTCaer/hekate/blob/master/modules/hekate_libsys_minerva/sys_sdrammtc.c#L31) applied. - - RAM voltage is set at 1125mV @ 1731.2 MHz, 1150 mV @ 1862.4 MHz, 1175 mV @ 1996.8 MHz and 1200 mV @ 2131.2 MHz. - - Game recording and SysDVR streaming @ 60fps with high video bitrate (Optional). - Video duration shown in album will be 2x than the actual value, but playback speed is not affected. - - - Recordings may be less than 30sec if higher bitrate is used. - +- Recordings may be less than 30sec if higher bitrate is used. - It has noticeable performance impacts in demanding games. +- For optimal streaming experience, SysDVR via USB interface is recommended. + +### Known Issues + +- Tesla Menu and its overlays will sometimes crash atmosphere in Docked mode, usually happens after CPU Boost Mode ends. (Currently under investigation) @@ -81,7 +74,7 @@ Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. **Contains:** -- Patches for pcv and ptm modules +- Patches for pcv and ptm modules (for HOS 12.1.0) - Precompiled patch tools for pcv module (only for amd64 Windows, build yourself otherwise): @@ -89,7 +82,7 @@ Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. - Prebuilt sys-clk and ReverseNX-RT modified for OC -- `system-settings.ini` for Horizon OS +- `system-settings.ini` ⚠️**Warnings**:⚠️ @@ -112,7 +105,7 @@ Overclocking suite for Switch(Erista and Mariko) running on Atmosphere CFW. 4. Dump your pcv module. - If you already have the pcv backup of targeted HOS version, jump to Step 4. Otherwise, redump is required. + If you already have the pcv backup of targeted HOS version, jump to Step 5. Otherwise, redump is required. - Load [TegraExplorer](https://github.com/suchmememanyskill/TegraExplorer/releases/latest) payload in hekate. @@ -184,21 +177,15 @@ Simply build `loader.kip` from Atmosphere and load it with hekate if you don't f **system_settings.ini** in `/atmosphere/config/` -- **For Erista:** - - Remove the "Fan Control for Mariko" section. - -- Remove the "Disable Push Notifications service" part if you use Nintendo Online services. - - ~~**Known Issue**: Tesla Menu and its overlays will sometimes crash atmosphere in Docked mode when some services are disabled.~~ Only `[npns]` is reserved, I don't have time to screen all the rest one by one. +- Remove the "Disable Background service" part if you use Nintendo Online services. - For "Game Recording FPS and Bitrate", if you play demanding games or don't care about streaming/framerate/bitrate, comment out this section. **sys-clk** -- **For Mariko:** +- Remove `/config/sys-clk/boost.flag` if you like longer waiting time in loading screens. - - Remove `/config/sys-clk/boost.flag` if you like longer waiting time in loading screens. - - - Remove `/config/sys-clk/boost_start.flag` if you don't want games to boot faster. +- Remove `/config/sys-clk/boost_start.flag` if you don't want games to boot faster. - Add `/config/sys-clk/downclock_dock.flag` to use handheld clocks in Docked mode when Handheld flag is set in ReverseNX. diff --git a/SdOut/atmosphere/config/system_settings.ini b/SdOut/atmosphere/config/system_settings.ini index 76ca10c8..ce8e8bde 100644 --- a/SdOut/atmosphere/config/system_settings.ini +++ b/SdOut/atmosphere/config/system_settings.ini @@ -6,19 +6,100 @@ dmnt_cheats_enabled_by_default = u8!0x0 [tc] tskin_rate_table_console = str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 50000, 51, 153], [50000, 56000, 153, 255], [56000, 1000000, 255, 255]]" tskin_rate_table_handheld = str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 48000, 51, 102], [48000, 56000, 102, 204], [56000, 1000000, 255, 255], [48000, 1000000, 255, 255]]" +; 0xDAC0 = 56,000 = 56C holdable_tskin = u32!0xDAC0 ;Game Recording FPS and Bitrate [am.debug] ;30 or 60 continuous_recording_fps=u32!60 -;~7.5Mbps, default is ~5Mbps, VBR(Variable Bitrate) +;~7.5Mbps(0x780000 = 7,864,320), default is ~5Mbps, VBR(Variable Bitrate) continuous_recording_video_bit_rate=u32!0x780000 -;Disable Push Notifications service for power saving in standby mode +;Disable services for power saving in standby mode ;Delete following part if you use Nintendo Online Services +[bgtc] +enable_halfawake = u32!0x0 +minimum_interval_normal = u32!0x7FFFFFFF +minimum_interval_save = u32!0x7FFFFFFF +battery_threshold_save = u32!0x64 +battery_threshold_stop = u32!0x0 + [npns] background_processing = u8!0x0 sleep_periodic_interval = u32!0x7FFFFFFF sleep_processing_timeout = u32!0x0 sleep_max_try_count = u32!0x0 + +[ns.notification] +enable_download_task_list = u8!0x0 +enable_download_ticket = u8!0x0 +enable_network_update = u8!0x0 +enable_random_wait = u8!0x0 +enable_request_on_cold_boot = u8!0x0 +enable_send_rights_usage_status_request = u8!0x0 +enable_sync_elicense_request = u8!0x0 +enable_version_list = u8!0x0 +retry_interval_min = u32!0x7FFFFFFF +retry_interval_max = u32!0x7FFFFFFF + +[ns.rights] +register_na_ids_as_valid_accounts_forcibly_even_if_not_exist = u8!0x1 + +[account] +na_required_for_network_service = u8!0x0 +na_license_verification_enabled = u8!0x0 + +[account.daemon] +background_awaking_periodicity = u32!0x7FFFFFFF +initial_schedule_delay = u32!0x7FFFFFFF +profile_sync_interval = u32!0x7FFFFFFF +na_info_refresh_interval = u32!0x7FFFFFFF + +[capsrv] +enable_album_screenshot_filedata_verification = u8!0x0 +enable_album_movie_filehash_verification = u8!0x0 +enable_album_movie_filesign_verification = u8!0x0 + +[friends] +background_processing = u8!0x0 + +[notification.presenter] +snooze_interval_in_seconds = u32!0x7FFFFFFF +connection_retry_count = u32!0x0 +alarm_pattern_total_repeat_count = u32!0x0 +alarm_pattern_with_vibration_repeat_count = u32!0x0 + +[prepo] +;background_processing = u8!0x0 (shutdown directly when entering sleep mode) +transmission_interval_min = u32!0x7FFFFFFF +transmission_retry_interval_min = u32!0x7FFFFFFF +transmission_retry_interval_max = u32!0x7FFFFFFF +transmission_interval_in_sleep = u32!0x7FFFFFFF +statistics_save_interval_min = u32!0x7FFFFFFF +statistics_post_interval = u32!0x7FFFFFFF +save_system_report = u8!0x0 + +[olsc] +default_auto_upload_global_setting = u8!0x0 +default_auto_download_global_setting = u8!0x0 +autonomy_registration_interval_seconds = u32!0x7FFFFFFF +network_service_license_info_cache_expiration_seconds = u32!0x7FFFFFFF +postponed_transfer_task_processing_interval_seconds = u32!0x7FFFFFFF +retry_offset_seconds = u32!0x7FFFFFFF +network_trouble_detection_span_seconds = u32!0x7FFFFFFF +network_connection_polling_interval_seconds = u32!0x7FFFFFFF +is_save_data_backup_policy_check_required = u8!0x0 +is_global_transfer_task_autonomy_registration_enabled = u8!0x0 +is_on_event_transfer_task_registration_enabled = u8!0x0 +is_periodic_transfer_task_registration_enabled = u8!0x0 + +[ntc] +is_autonomic_correction_enabled = u8!0x0 +autonomic_correction_interval_seconds = u32!0x7FFFFFFF +autonomic_correction_failed_retry_interval_seconds = u32!0x7FFFFFFF +autonomic_correction_immediate_try_count_max = u32!0x0 +autonomic_correction_immediate_try_interval_milliseconds = u32!0x7FFFFFFF + +[systemupdate] +bgnup_retry_seconds = u32!0x7FFFFFFF \ No newline at end of file