1. 3dsiziritai

    3dsiziritai Member
    Newcomer

    Joined:
    Oct 26, 2015
    Messages:
    32
    Country:
    help me.
    I am trying to compile 0.12.2 on my own.
    0.12.1 was successfully compiled with the make command.
    However, in 0.12.2, an error is issued by the make command.

    C:\sys-clk-0.12.2>make
    make: git: Command not found
    minIni.c
    aarch64-none-elf-gcc -MMD -MP -MF /c/sys-clk-0.12.2/lib/minIni/release/minIni.d
    -g -Wall -Werror -ffunction-sections -fdata-sections -march=armv8-a+crc+crypto -
    mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -DNDEBUG=1 -O2 -I/c/sys-
    clk-0.12.2/lib/minIni/dev -I/opt/devkitpro/portlibs/switch/include -I/opt/devkit
    pro/libnx/include -I/c/sys-clk-0.12.2/lib/minIni/ -c /c/sys-clk-0.12.2/lib/minIn
    i/dev/minIni.c -o minIni.o
    libminIni.a
    aarch64-none-elf-gcc-ar -rc /c/sys-clk-0.12.2/lib/minIni/lib/libminIni.a minIni.
    o
    minIni.c
    aarch64-none-elf-gcc -MMD -MP -MF /c/sys-clk-0.12.2/lib/minIni/debug/minIni.d -g
    -Wall -Werror -ffunction-sections -fdata-sections -march=armv8-a+crc+crypto -mt
    une=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -DDEBUG=1 -Og -I/c/sys-clk
    -0.12.2/lib/minIni/dev -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro
    /libnx/include -I/c/sys-clk-0.12.2/lib/minIni/ -c /c/sys-clk-0.12.2/lib/minIni/d
    ev/minIni.c -o minIni.o
    libminInid.a
    aarch64-none-elf-gcc-ar -rc /c/sys-clk-0.12.2/lib/minIni/lib/libminInid.a minIni
    .o
    make[1]: git: Command not found
    clocks.cpp
    aarch64-none-elf-g++ -MMD -MP -MF /c/sys-clk-0.12.2/build/clocks.d -g -Wall -O2
    -ffunction-sections -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE
    -DDISABLE_IPC -DTARGET="\"sys-clk\"" -DTARGET_VERSION="\"\"" -I/c/sys-clk-0.12.2
    /src -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/
    c/sys-clk-0.12.2/lib/minIni/include -I/c/sys-clk-0.12.2/build -D__SWITCH__ -fno-
    rtti -std=gnu++17 -c /c/sys-clk-0.12.2/src/clocks.cpp -o clocks.o
    C:/sys-clk-0.12.2/src/clocks.cpp: In static member function 'static void Clocks:
    :Initialize()':
    C:/sys-clk-0.12.2/src/clocks.cpp:42:14: error: 'clkrstInitialize' was not declar
    ed in this scope
    rc = clkrstInitialize();
    ^~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:42:14: note: suggested alternative: 'capssuInit
    ialize'
    rc = clkrstInitialize();
    ^~~~~~~~~~~~~~~~
    capssuInitialize
    C:/sys-clk-0.12.2/src/clocks.cpp: In static member function 'static void Clocks:
    :Exit()':
    C:/sys-clk-0.12.2/src/clocks.cpp:61:9: error: 'clkrstExit' was not declared in t
    his scope
    clkrstExit();
    ^~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:61:9: note: suggested alternative: 'capssuExit'

    clkrstExit();
    ^~~~~~~~~~
    capssuExit
    C:/sys-clk-0.12.2/src/clocks.cpp: In static member function 'static void Clocks:
    :SetHz(ClockModule, uint32_t)':
    C:/sys-clk-0.12.2/src/clocks.cpp:164:9: error: 'ClkrstSession' was not declared
    in this scope
    ClkrstSession session = {0};
    ^~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:164:9: note: suggested alternative: 'PsmSession
    '
    ClkrstSession session = {0};
    ^~~~~~~~~~~~~
    PsmSession
    C:/sys-clk-0.12.2/src/clocks.cpp:166:33: error: 'session' was not declared in th
    is scope
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:166:33: note: suggested alternative: 'PsmSessio
    n'
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~
    PsmSession
    C:/sys-clk-0.12.2/src/clocks.cpp:166:14: error: 'clkrstOpenSession' was not decl
    ared in this scope
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:166:14: note: suggested alternative: 'gpioOpenS
    ession'
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~~~~~~~~~~~
    gpioOpenSession
    C:/sys-clk-0.12.2/src/clocks.cpp:169:14: error: 'clkrstSetClockRate' was not dec
    lared in this scope
    rc = clkrstSetClockRate(&session, hz);
    ^~~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:169:14: note: suggested alternative: 'pcvSetClo
    ckRate'
    rc = clkrstSetClockRate(&session, hz);
    ^~~~~~~~~~~~~~~~~~
    pcvSetClockRate
    C:/sys-clk-0.12.2/src/clocks.cpp:172:9: error: 'clkrstCloseSession' was not decl
    ared in this scope
    clkrstCloseSession(&session);
    ^~~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:172:9: note: suggested alternative: 'ipcCloseSe
    ssion'
    clkrstCloseSession(&session);
    ^~~~~~~~~~~~~~~~~~
    ipcCloseSession
    C:/sys-clk-0.12.2/src/clocks.cpp: In static member function 'static uint32_t Clo
    cks::GetCurrentHz(ClockModule)':
    C:/sys-clk-0.12.2/src/clocks.cpp:185:9: error: 'ClkrstSession' was not declared
    in this scope
    ClkrstSession session = {0};
    ^~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:185:9: note: suggested alternative: 'PsmSession
    '
    ClkrstSession session = {0};
    ^~~~~~~~~~~~~
    PsmSession
    C:/sys-clk-0.12.2/src/clocks.cpp:187:33: error: 'session' was not declared in th
    is scope
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:187:33: note: suggested alternative: 'PsmSessio
    n'
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~
    PsmSession
    C:/sys-clk-0.12.2/src/clocks.cpp:187:14: error: 'clkrstOpenSession' was not decl
    ared in this scope
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:187:14: note: suggested alternative: 'gpioOpenS
    ession'
    rc = clkrstOpenSession(&session, Clocks::GetPcvModule(module));
    ^~~~~~~~~~~~~~~~~
    gpioOpenSession
    C:/sys-clk-0.12.2/src/clocks.cpp:190:14: error: 'clkrstGetClockRate' was not dec
    lared in this scope
    rc = clkrstGetClockRate(&session, &hz);
    ^~~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:190:14: note: suggested alternative: 'pcvGetClo
    ckRate'
    rc = clkrstGetClockRate(&session, &hz);
    ^~~~~~~~~~~~~~~~~~
    pcvGetClockRate
    C:/sys-clk-0.12.2/src/clocks.cpp:193:9: error: 'clkrstCloseSession' was not decl
    ared in this scope
    clkrstCloseSession(&session);
    ^~~~~~~~~~~~~~~~~~
    C:/sys-clk-0.12.2/src/clocks.cpp:193:9: note: suggested alternative: 'ipcCloseSe
    ssion'
    clkrstCloseSession(&session);
    ^~~~~~~~~~~~~~~~~~
    ipcCloseSession
    make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: clocks.o] Error 1
    make: *** [Makefile:121: build] Error 2

    C:\sys-clk-0.12.2>
     
  2. ZachyCatGames

    ZachyCatGames GBAtemp Addict
    Member

    Joined:
    Jun 19, 2018
    Messages:
    2,991
    Country:
    United States
    use libnx master to solve the clkrst erros
     
  3. SagesRite

    SagesRite Newbie
    Newcomer

    Joined:
    Apr 26, 2019
    Messages:
    1
    Country:
    United States
    Any chance for further controls? Voltage, governor, etc.
     
  4. jinzo

    jinzo Member
    Newcomer

    Joined:
    Apr 4, 2009
    Messages:
    43
    Country:
    Mexico
    A profile for Nippon Marathon would be nice (this have a lot of framedrops) and for Dark Souls Remastered (only some areas have framedrops).
     
  5. 3dsiziritai

    3dsiziritai Member
    Newcomer

    Joined:
    Oct 26, 2015
    Messages:
    32
    Country:
    Thank you.
    I used the latest libnx. https://github.com/switchbrew/libnx
    The number of errors has decreased since the previous time.
    But still compilation is not successful.
    Please help me again.
    Write an error log...

    C:\sys-clk-master>make
    make: git: Command not found
    make[2]: '/c/sys-clk-master/lib/minIni/lib/libminIni.a' is up to date.
    make[1]: git: Command not found
    clocks.cpp
    aarch64-none-elf-g++ -MMD -MP -MF /c/sys-clk-master/build/clocks.d -g -Wall -O2
    -ffunction-sections -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE
    -DDISABLE_IPC -DTARGET="\"sys-clk\"" -DTARGET_VERSION="\"\"" -I/c/sys-clk-master
    /src -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/
    c/sys-clk-master/lib/minIni/include -I/c/sys-clk-master/build -D__SWITCH__ -fno-
    rtti -std=gnu++17 -c /c/sys-clk-master/src/clocks.cpp -o clocks.o
    C:/sys-clk-master/src/clocks.cpp: In static member function 'static PcvModule Cl
    ocks::GetPcvModule(ClockModule)':
    C:/sys-clk-master/src/clocks.cpp:109:20: error: 'PcvModule_Cpu' was not declared
    in this scope
    return PcvModule_Cpu;
    ^~~~~~~~~~~~~
    C:/sys-clk-master/src/clocks.cpp:109:20: note: suggested alternative: 'PcvModule
    _CEC'
    return PcvModule_Cpu;
    ^~~~~~~~~~~~~
    PcvModule_CEC
    C:/sys-clk-master/src/clocks.cpp:111:20: error: 'PcvModule_Gpu' was not declared
    in this scope
    return PcvModule_Gpu;
    ^~~~~~~~~~~~~
    C:/sys-clk-master/src/clocks.cpp:111:20: note: suggested alternative: 'PcvModule
    _GPU'
    return PcvModule_Gpu;
    ^~~~~~~~~~~~~
    PcvModule_GPU
    C:/sys-clk-master/src/clocks.cpp:113:20: error: 'PcvModule_Emc' was not declared
    in this scope
    return PcvModule_Emc;
    ^~~~~~~~~~~~~
    C:/sys-clk-master/src/clocks.cpp:113:20: note: suggested alternative: 'PcvModule
    _EMC'
    return PcvModule_Emc;
    ^~~~~~~~~~~~~
    PcvModule_EMC
    make[1]: *** [/opt/devkitpro/devkitA64/base_rules:14: clocks.o] Error 1
    make: *** [Makefile:121: build] Error 2

    C:\sys-clk-master>
     
    Last edited by 3dsiziritai, Apr 26, 2019
  6. ZachyCatGames

    ZachyCatGames GBAtemp Addict
    Member

    Joined:
    Jun 19, 2018
    Messages:
    2,991
    Country:
    United States
    In botw v1.6.0 (and maybe mario odyssey 1.3.0) the game seems to switch over to 1.7ghz CPU when the game is on loading screens, then switching back to 1ghz once they're done

    Very interesting. This may be how they improved loading times in the new update
     
  7. Brawl345

    Brawl345 GBAtemp Advanced Fan
    Member

    Joined:
    Jan 14, 2012
    Messages:
    661
    Country:
    Germany
    Yeah, I get 21 seconds when loading my save file vs 26 seconds when OCing (now UCing) to 1.2 GHz vs 31 seconds (!!!) in v1.5.0. GPU is also OC'd to 768 MHz automatically.

    EDIT: Test results before the update and after:
    Loading savefile: 31 seconds -> 21 seconds
    Fast travel: 19 seconds -> 11 seconds
    Entering shrine: 10 seconds -> 7 seconds

    EDIT2: Mario Odyssey does the same and it REALLY improves the start time!
     
    Last edited by Brawl345, Apr 27, 2019
    GamingAori and ZachyCatGames like this.
  8. Sosainas

    Sosainas GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    115
    Country:
    If I understand correctly, installing this without editing the confi file, set the default overclock, si If I want to run GPUI at 480Hz, I don't have to do anything else, just put the files in the SD and that's all?
     
  9. masagrator

    masagrator The developper
    Member

    Joined:
    Oct 14, 2018
    Messages:
    3,514
    Country:
    Poland
    No. You need to write settings for each game. It's not working globally.
     
  10. Sosainas

    Sosainas GBAtemp Regular
    Member

    Joined:
    Dec 30, 2014
    Messages:
    115
    Country:
    Thank you very much for your response. In that case, do you think Freebird is a better option for someone who just wants to OC at 460Hz in handheld for all games?
     
  11. cucholix

    cucholix Banners guy
    Member

    Joined:
    Jan 17, 2017
    Messages:
    2,487
    Country:
    Chile
    Tried Travis Strikes Again (physical) loading times, from user selection screen to the Grasshopper logo:
    Stock CPU: 1m 20s
    OC CPU 1581mhz: 1m 17s

    Only 3 seconds faster ;c
     
    Last edited by cucholix, Apr 27, 2019
  12. GamingAori

    GamingAori GBAtemp Advanced Fan
    Member

    Joined:
    Mar 16, 2014
    Messages:
    674
    Country:
    Germany
    Would it be possible to make an automatic OC for loading screens?
     
  13. MeteK

    MeteK GBAtemp Fan
    Member

    Joined:
    Dec 31, 2012
    Messages:
    334
    Country:
    France
    Hello, someone have a preconfigured ini only for O/C Retroarch ?

    Thanks
     
  14. shedeus

    shedeus GBAtemp Regular
    Member

    Joined:
    Aug 9, 2018
    Messages:
    115
    Country:
    United States
    Freebird is arguably better if you prefer "set-and-forget" global settings for handheld, docked, etc.
    The primary benefit for freebird imo is changing OC/UC settings real time, during games tbh
     
    Last edited by shedeus, Apr 27, 2019
  15. Krude

    Krude GBAtemp Fan
    Member

    Joined:
    May 18, 2013
    Messages:
    337
    Country:
    Gambia, The
    You can change OC settings in real time during games with this too, though
     
  16. shedeus

    shedeus GBAtemp Regular
    Member

    Joined:
    Aug 9, 2018
    Messages:
    115
    Country:
    United States
    Thanks for the headsup. I think I must be running an early build of sysclk
     
  17. pcwizard7

    pcwizard7 GBAtemp Maniac
    Member

    Joined:
    Aug 2, 2013
    Messages:
    1,089
    Country:
    Australia
    nintendo has unlock a new performance profile in 8.x that clocks to 1.7 Ghz on loading screens and back to 1.0 Ghz after it done with 486 Mhz for GPU... mystery solved

    Mortal Kombat 11 uses this profile too but people are saying it really burns up your switch LOL
     
  18. ZachyCatGames

    ZachyCatGames GBAtemp Addict
    Member

    Joined:
    Jun 19, 2018
    Messages:
    2,991
    Country:
    United States
    It was added in 7.0.0 :P. When active in both states GPU runs at 768mhz (then returns to 307/384/460mhz when done for handheld)

    Anyone who says CpuBoost mode causes heat issues is spewing BS
     
    Last edited by ZachyCatGames, Apr 28, 2019
    botossi likes this.
  19. pcwizard7

    pcwizard7 GBAtemp Maniac
    Member

    Joined:
    Aug 2, 2013
    Messages:
    1,089
    Country:
    Australia
    well they said the switch heat up more compare to botw they said :)
     
  20. ZachyCatGames

    ZachyCatGames GBAtemp Addict
    Member

    Joined:
    Jun 19, 2018
    Messages:
    2,991
    Country:
    United States
    Running the CPU at 1785mhz has little to no effect on temps (also at most it’s only ever active for ~20 seconds at a time :P)
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - overclocking, sysmodule, under