NULL

RELEASE sys-clk under/overclocking sysmodule

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

  1. mdmachine

    mdmachine GBAtemp Regular

    Member
    4
    Jun 15, 2009
    United States
    I have a bunch of settings for mostly battery saving. I'll look into contributing them by next week. Been slammed with work.
     
  2. designgears

    designgears GBAtemp Regular

    Member
    3
    Aug 8, 2016
    United States
    @m4xw

    I've compiled from source with libnx 2.1.0-1 / devkitARM r13-4 with msys2 on windows. I'm getting an error when I boot and I don't know why.

    [2019-03-30 16:43:47] [!] ASSERT_RESULT_OK: pminfoGetTitleId
    RC: [0x20f] 0015-0001
    in C:/sys-clk/src/process_management.cpp:52
    [2019-03-30 16:43:50] Ready
    [2019-03-30 16:43:50] [!] ASSERT_RESULT_OK: pminfoGetTitleId
    RC: [0x20f] 0015-0001
    in C:/sys-clk/src/process_management.cpp:52
     
  3. m4xw
    OP

    m4xw Ancient Deity

    Member
    15
    May 25, 2018
    Germany
    The codebase has not been updated yet.
    Dunno why you compile from source.
     
  4. designgears

    designgears GBAtemp Regular

    Member
    3
    Aug 8, 2016
    United States
    Figured it out, just needed to update gcc version.
    Compiling because I like to know that the code in the repo is what I'm putting on my device.
     
  5. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    Thanks, I'm just starting to look into this sysmodule and the 1st thing that came to my mind was to look for a list of good settings for battery saving and/or for overclocking.

    If I may suggest, maybe create a google sheet so that anyone can contribute?
     
  6. p-sam

    p-sam Member

    Newcomer
    2
    Feb 3, 2019
    France
    OP has the list of community sourced profiles
     
    annson24 likes this.
  7. mdmachine

    mdmachine GBAtemp Regular

    Member
    4
    Jun 15, 2009
    United States
    Before I forget, here is the one from on my device. It's mostly settings for handheld, not much in terms of charging profiles, yet. Also has some docked settings that provide lower clocks in most instances in order to keep the unit cooler. Thus, increase longevity of the unit (theoretically).

    Some of it is copy and pasted, based on my memory of the title and my best guess of its needs.

    There are a few instances (Dead Cells and Cities for example) where I pushed the GPU to 460, and reduced Mem and CPU clocks.

    Now my educated guess is power consumption probably is in this order from most to least.
    GPU - Using most power, thus I attempted to push that clock down when possible.
    CPU - I pushed some clock rates down, no clue if this creates "race-to-idle" scenarios, which would be counter-productive.
    Memory Clocks - Likely uses the least power consumption.

    Feel free to correct me if I am wrong, or if anyone has any further info about what uses the most and if we encounter race-to-idle situations.

    Also feel free to use this as a base for a spreadsheet, github, whatever. As I have limited time for a few weeks to put in the work.

    It's not commented, as early on I was getting issues with the ini file being too big. Haven't attempted to see if that still happens.

    Almost forgot! Homebrew and forwarders section, most of those NSPs I made myself, so you would need to edit the TitleID's accordingly!
     

    Attached Files:

    Last edited by mdmachine, Apr 4, 2019 - Reason: Almost forgot....
    survive9 and annson24 like this.
  8. designgears

    designgears GBAtemp Regular

    Member
    3
    Aug 8, 2016
    United States
    Gear.Club Unlimited and Gear.Club Unlimited 2 have the same titleid.

    Edit: Ok, I must have changed it, I feel like I'm going crazy now, lol.
     
    Last edited by designgears, Apr 4, 2019
    mdmachine likes this.
  9. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    This is awesome, do you want somebody to add this to the official repo? I can make a pull request myself if you don't mind.
     
    mdmachine likes this.
  10. mdmachine

    mdmachine GBAtemp Regular

    Member
    4
    Jun 15, 2009
    United States
    Please do! I dont mind at all.
     
  11. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    What if I overclock a certain game and use that game to launch homebrew menu, will the module still kick in?
     
  12. Trice

    Trice GBAtemp Regular

    Member
    5
    Jan 20, 2009
    Switzerland
    Yes, that's the method to use if you want to use OC for homebrew software like RetroArch.
     
  13. designgears

    designgears GBAtemp Regular

    Member
    3
    Aug 8, 2016
    United States
    RetroArch has overclocking builtin btw, but still yes :)
     
  14. Trice

    Trice GBAtemp Regular

    Member
    5
    Jan 20, 2009
    Switzerland
    Only for CPU, not for the GPU and RAM. Those you can only overclock with sys-clk.
     
    designgears likes this.
  15. Bunie

    Bunie #1 Princess

    Member
    2
    Aug 19, 2010
    United States
    Pleasureville, KY
    Anyone bother getting this to work on SXOS yet? lol
     
  16. ZachyCatGames

    ZachyCatGames GBAtemp Advanced Maniac

    Member
    8
    Jun 19, 2018
    United States
    Hell
    The devs hate Gateway

    Also it doesn’t support loading custom sysmodules
     
  17. hippy dave

    hippy dave BBMB

    Member
    14
    Apr 30, 2012
    United Kingdom
    Or to put it another way, no, TX didn't steal it yet.
     
    Dark Ronin and Assasin1990 like this.
  18. fst312

    fst312 GBAtemp Advanced Fan

    Member
    6
    Nov 4, 2008
    United States
    New York
    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
    Forgot all about this till I seen the link in the ppsspp thread and I want to know if I’m reading this correctly, does this mean it over clocks automatically when docked or under clocks without me setting the config file per game or is it based on my config file per game. I believe I have this installed from Kosmos but I don’t think it’s active but I think I’m going to set it up.
     
    Dark Ronin likes this.
  19. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    You still need to configure your config.ini file for sys-clk to read. What this only mean, in my understanding, is that if you set a different clock rate on handheld vs on docked, it will automatically set the docked clock rates when you docked your switch and vice-versa even while you're in game.
     
  20. cucholix

    cucholix Banners guy

    Member
    8
    Jan 17, 2017
    Chile
    Has someone tried to increase Hellblade’s resolution through OC?

    Currently it’s a bit blurry on bothe handheld/dock mode
     
    mcamachoxd and Assasin1990 like this.
Loading...