Homebrew RELEASE sys-clk under/overclocking sysmodule

  • Thread starter m4xw
  • Start date
  • Views 507,887
  • Replies 1,366
  • Likes 88
D

Deleted User

Guest
how does one get the offsets for the patches?

Was it equivalent to what is there currently?
Should be, I have tried the patch for Erista (1.3 beta) and it is working fine.
No release on the current Github page though.
 
Last edited by ,

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,208
Country
United States
how does one get the offsets for the patches
tldr: search for known data.
I don't feel like writing an essay describing the entire process, heh.
But shit remains largely the same across firmware versions, I've ported my patches to all firmwares (+ 0.4.0 for lols), biggest change was probably in 5.x when they added support for mariko.
 
Last edited by ZachyCatGames,
D

Deleted User

Guest
tldr: search for known data.
I don't feel like writing an essay describing the entire process, heh.
But shit remains largely the same across firmware versions, I've ported my patches to all firmwares (+ 0.4.0 for lols), biggest change was probably in 5.x when they added support for mariko.

alright, thanks. My assumption was that I would look into the pcv sysmodule and get the offsets from there.
Can you extract firmware update files the same way you would extract game NSP's? they're both in the same format.
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,208
Country
United States
alright, thanks. My assumption was that I would look into the pcv sysmodule and get the offsets from there.
Can you extract firmware update files the same way you would extract game NSP's? they're both in the same format.
Yeah, if you have a bunch of firmware NCAs, you can search for a specific title using hactoolnet + grep/findstr
Code:
E:\Nintendo Switch\Firmwares\prod\12.0.3 (NintendoSDK Firmware for NX 12.0.3-1.0) (v805502996)>hactoolnet -t switchfs --listncas . | findstr 010000000000001A
875acbb5a5b6526159ac68a3c91884c7 Program    010000000000001A
feafbedd216b7c81e52cf03b6a6930af Meta       010000000000001A
Then extract it with
Code:
hactool(net) --exefsdir exefs whatever.nca
 

spriteice

Well-Known Member
Newcomer
Joined
Jan 17, 2020
Messages
92
Trophies
0
XP
1,035
Country
Australia
Does anyone know if the patches for Kazushime's OC work for newer versions of Atmosphere?
Unless someone has manually patched them from the source code, I am unsure they will exist. The repo has been taken down from GitHub.

One possibility is to manually patch and build the latest atmosphere and hekate yourself to remove HOS’s limits (Only safe for erista and mariko models, not v1 switches). Then, to take advantage of the higher clock speeds you would need to either build or source a modified version of sys-clk with new values to assign to apply higher clock speeds. Although this would be quite an involved process.
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
Here's the repo backup (no copywritten files)
 

Attachments

  • Switch-OC-Suite-master-1.3.zip
    37 KB · Views: 190
  • Screenshot_20210609-110228_Chrome.jpg
    Screenshot_20210609-110228_Chrome.jpg
    137.9 KB · Views: 192

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,208
Country
United States
Ah, I assumed erista was patched non mariko units. I definitely could be wrong though
All “v1”s are Erista, both patched and unpatched, the only difference is one of the OEM ipatches was replaced with a patch for the RCM bug in patched devices.
And CPU/GPU OC patches will kill both.



Also my ams patch (which is what the ams patch on their github was) should apply to modern AMS still unless they fucked smth up in it. The relevant files in ams haven’t been updated awhile.
 
Last edited by ZachyCatGames,
  • Like
Reactions: spriteice
D

Deleted User

Guest
Not sure if anyone cares but here's what I gathered from testing this weekend:
I think that these HOS bypass clocks are most likely not worth it for Erista users unless you are extremely into 60fps mods (where it doesn't help much IMO) and not care about how long your console will last you.

From my testing, the only game that I appreciated the higher CPU clock from (2091mhz) would be Minecraft in 4 player split-screen. (it even maxes out 2 cores at 100%) Most games don't need that high of a clock rate.
I was able to go down as low as 1225mv (stock is 1120mv?) on CPU for 2091mhz, going lower would decrease CPU speed.

Games that already run poorly with 921mhz GPU will not run any better on 998mhz. (it's maybe a 5% difference and going higher is potentially dangerous.)
+ my fan was much more active on 998 than it was on 921, which might be due to much additional voltage applied in the patch. (not sure where Kazushi got these voltage numbers from, haven't done any test with going lower in voltage.)

The biggest gains were from RAM overclocking, where 2131mhz really helped a lot with Bandwith-bottlenecked games like Minecraft, Hyrule Warriors AoC, Xenoblade 2. games in general load faster too.
Overvolting is needed in some (most?) cases, not sure how that affects the longevity of the console.
-
Mariko units might be a different story, as those are able to reach much higher clocks with less risk of bricking (due to lower power draw), but they sadly cannot overclock as much on RAM as overvolting RAM is not possible (yet?).
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,208
Country
United States
re: voltages
I've attached an image picturing voltages for a bunch of clocks on my Erista (and 2295MHz, which isn't pictured there, is 1400).
NOTE: Voltages may vary heavily based on the device's binning (as much as 100mV), mine probably has lower voltages than most as I have a good binning.

On Erista soft limits for CPU and GPU are 1227 and 1150 respectively, hard limit for CPU is 1400, hard limit for GPU I don't know.
GPU is way more complicated than CPU and requires very specific coefficients to work, there isn't really much you can do about the voltages you get there. Upping the max voltage is also much more difficult, which is why I haven't tested anything past 1075 in HOS.

Edit: And on Mariko soft limits for CPU and GPU are 1120 and 1050(?) respectively, hard limit for CPU is 1525 (You shouldn't go anywhere near that though kek), and I don't know for GPU.
 

Attachments

  • 2021022419353300-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    2021022419353300-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    97.7 KB · Views: 186
Last edited by ZachyCatGames,

zerofalcon

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
814
Trophies
1
Location
Somewhere close to my NES
XP
2,913
Country
Not sure if anyone cares but here's what I gathered from testing this weekend:
I think that these HOS bypass clocks are most likely not worth it for Erista users unless you are extremely into 60fps mods (where it doesn't help much IMO) and not care about how long your console will last you.

From my testing, the only game that I appreciated the higher CPU clock from (2091mhz) would be Minecraft in 4 player split-screen. (it even maxes out 2 cores at 100%) Most games don't need that high of a clock rate.
I was able to go down as low as 1225mv (stock is 1120mv?) on CPU for 2091mhz, going lower would decrease CPU speed.

Games that already run poorly with 921mhz GPU will not run any better on 998mhz. (it's maybe a 5% difference and going higher is potentially dangerous.)
+ my fan was much more active on 998 than it was on 921, which might be due to much additional voltage applied in the patch. (not sure where Kazushi got these voltage numbers from, haven't done any test with going lower in voltage.)

The biggest gains were from RAM overclocking, where 2131mhz really helped a lot with Bandwith-bottlenecked games like Minecraft, Hyrule Warriors AoC, Xenoblade 2. games in general load faster too.
Overvolting is needed in some (most?) cases, not sure how that affects the longevity of the console.
-
Mariko units might be a different story, as those are able to reach much higher clocks with less risk of bricking (due to lower power draw), but they sadly cannot overclock as much on RAM as overvolting RAM is not possible (yet?).

How about emulation? Mainly Citra and Mupen64 with retroarch. I know some games play fine with safe clocks but other need a boost. I'm not done with my emuMMC backup yet so I cant test it myself for now.
 
Last edited by zerofalcon,

ms2048

Member
Newcomer
Joined
Apr 21, 2021
Messages
7
Trophies
0
XP
494
Country
Poland
Here's the repo backup (no copywritten files)
Glad to see that you've taken over :), I've been busy recently... anyway, I am adding two files: 'releases' page and the 'main' one (with README.md rendered) saved via the 'SingleFile' browser extension as .html (self-contained, tested in Chrome) - these are much more convenient to read than the jpg you've attached.

Feel free to also add these to your post.
 

Attachments

  • Switch-OC-Suite.zip
    120.9 KB · Views: 151
D

Deleted User

Guest
Is overclocking the ram on erista v1 safe? is undervolting possible in stock clock?
It's safe, just don't go overboard with the voltage, I've seen some people going up to 1.3V and 1.275V in the Discord server, no Idea what the safe limit is. CTCaer mentioned something about a maximum of 20%,on Samsung RAM, depending on your RAM specs that might be around 1.3V as your """max safe""", note that this is purely speculation. (But as always: do at your own risk, don't quote me on that and make your own decisions.)

Undervolting depends, when I undervolted on stock clock's I had lower performance than on stock voltage. Even lowering the voltage by just 20mv gave me a slight speed decrease, besides, the CPU is not "the hot part" of the board, the GPU is and I don't think we can undervolt that for now.
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=hke2YUirpf4 +1