RELEASE sys-clk under/overclocking sysmodule

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by m4xw, Feb 14, 2019.

  1. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    sys-clk-banner-appstorenx.
    sys-clk
    a per-title CPU, GPU and RAM overclock and underclock sysmodule for Atmosphère

    By @p-sam @m4xw and @natinusala

    After weeks of testing, the RetroNX Team is proud to finally release sys-clk, a system-wide overclock and underclock sysmodule, as a public beta (version beta3).

    Key features:
    • Automatic overclock and underclock depending on the running title and docked state
    • Reads presets for titles from the SD card
    • Hot reload allows you to change your preset while the game is running with sys-ftpd
    • Presets database for a quick and easy overclock on popular games
    How does it work?

    The sysmodule overclocks and underclocks the CPU, GPU and RAM of the console depending on the title currently running and docked state.
    When you run a game, sys-clk will read its preset it and automatically overclock (or underclock) the system for you.

    All frequencies can be set for both docked and handleld mode, making 6 values per preset :
    • CPU (capped at 1785MHz)
    • GPU (capped at 460MHz without a charger, clocks up to 768MHz require a charger, clocks higher than 768MHz require the official charger)
    • RAM (capped at 1600MHz)
    As you can see, we added safety measures and chose the limits to ensure that overclocking cannot damage your console.

    How do I use it?

    Installation is pretty straightforward - just copy the config and atmosphere folders at the root of your SD card and reboot your console.
    The sysmodule will be active and running out of the box.

    To create a new preset, just edit /config/sys-clk/config.ini on your SD card and add it following this template:

    Code:
    [Application Title ID]
    docked_cpu=
    docked_gpu=
    docked_mem=
    handheld_charging_cpu=
    handheld_charging_gpu=
    handheld_charging_mem=
    handheld_charging_usb_cpu=
    handheld_charging_usb_gpu=
    handheld_charging_usb_mem=
    handheld_charging_official_cpu=
    handheld_charging_official_gpu=
    handheld_charging_official_mem=
    handheld_cpu=
    handheld_gpu=
    handheld_mem=
    
    The README contains the frequencies tables as well as examples for Breath of the Wild overclock and Picross underclock.

    Note: If you're using ReiNX, you need to rename the atmosphere folder to ReiNX and move out the boot2.flag file next to exefs.nsp

    Didn't you mention a presets database?

    I sure did! For your convenience, we setup a repository where curated presets and examples can be downloaded. So far, 18 games have been added to the database.
    You can find it here: https://github.com/retronx-team/sys-clk-db

    If you want to contribute to the database, just submit a pull request on the repository, or join us on the RetroNX Discord server, channel #oc-perf-submissions

    Give me a link already!

    Code, releases and more documentation can be found on the GitHub repository here: https://github.com/retronx-team/sys-clk

    Planned features
    • Split the config into multiple files (for a drag-and-drop presets installation)
    • A homebrew frontend to manage presets, and database integration to download them directly from the Switc
    • ┴┬┴┤( ͡° ͜ʖ├┬┴┬
    At last, thanks to @CTCaer for the wonderful artwork!
     
    Last edited by m4xw, Feb 22, 2019
  2. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    SUPER EPIC :shrek:
     
    p-sam likes this.
  3. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    Is there like a database or something for recommended settings for certain titles that we can use?
    Like some that have been tested already with good performance and all that perhaps can be shared and so?
     
  4. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    https://github.com/retronx-team/sys-clk-db
     
    Tomazu, lordelan, p-sam and 1 other person like this.
  5. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Read the Post again.
    https://github.com/retronx-team/sys-clk-db
     
    isoisoiso, lordelan and ShadowOne333 like this.
  6. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    19
    Jan 17, 2013
    Mexico
    ZachyCatGames and p-sam like this.
  7. p-sam

    p-sam Advanced Member

    Newcomer
    3
    Feb 3, 2019
    France
  8. ZeroFX

    ZeroFX Eh. What?

    Member
    4
    Jun 18, 2018
    Japan
    Some place in
    Good, I'll check It out ;).
     
  9. Chaching

    Chaching Newbie

    Newcomer
    2
    Feb 5, 2019
    Finland
    Is it possible to have handheld overclock preset only when charging? I would imagine the GPU 460mhz reduces unplugged battery life
     
  10. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Will be added on my todo
     
  11. KirovAir

    KirovAir Dutch Alcoholic Programmer

    Member
    6
    Dec 7, 2006
    Netherlands
    Netherlands
    @m4w Thanks for your work in the scene. Awesome stuff as always! :)
    Will test it as soon as I get home.
     
    Last edited by KirovAir, Feb 14, 2019
  12. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
  13. Codiox

    Codiox GBAtemp Regular

    Member
    5
    Jan 19, 2016
    South Africa
    Any games already where the difference is night and day?
     
  14. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    I know it improves DOOM, wolfenstein 2, and xenoblade 2
     
    -Pao likes this.
  15. Monado_III

    Monado_III GBAtemp Advanced Fan

    Member
    6
    Feb 8, 2015
    Canada
    /dev/null
    Anybody got some good settings for Xenoblade2?
     
  16. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    460mhz GPU 1600mhz RAM is what I use for handheld

    Edit: you could also use 1224mhz CPU to get rid of some fps drops if you’re fine with sacrificing a bit more battery life. And in docked I don’t change anything except except CPU (1224mhz)
     
    Last edited by ZachyCatGames, Feb 14, 2019
    Monado_III likes this.
  17. Kubas_inko

    Kubas_inko "Something funny goes here."

    Member
    14
    Feb 3, 2017
    Czech Republic
    I gues on earth.
    Now, all we need is an overlay menu for Atmo (like rosalina for luma) which would have support for this.
     
    kevandkkim likes this.
  18. m4xw
    OP

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    ┴┬┴┤( ͡° ͜ʖ├┬┴┬
     
  19. ZeroFX

    ZeroFX Eh. What?

    Member
    4
    Jun 18, 2018
    Japan
    Some place in
    If you change skyrim.ini to uncap the game and layer it through layeredfs you can get pretty much 60fps, vanilla and Modded.

    I'm using 1.7GHz CPU, 768MHz GPU and 1600MHz ram I only play charging though. And 460 when not charging.
     
    Hexalform, ZachyCatGames and Csmrcc like this.
  20. TotalJustice

    TotalJustice GBAtemp Regular

    Member
    4
    Jan 28, 2017
    United Kingdom
    Pokemon eevee / pika. Easy place to test is varidian forrest. Test stock speed, then change it to handheld_gpu=460
    TIL you can do 60fps with skyrim. Thanks for that, i'll be messing around with that later
     
    Last edited by TotalJustice, Feb 14, 2019
    Broduskii likes this.
Quick Reply
Draft saved Draft deleted
Loading...