Homebrew RELEASE sys-clk under/overclocking sysmodule

  • Thread starter m4xw
  • Start date
  • Views 508,159
  • Replies 1,366
  • Likes 88

3dsiziritai

Active Member
Newcomer
Joined
Oct 26, 2015
Messages
39
Trophies
0
XP
601
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>
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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>
use libnx master to solve the clkrst erros
 

3dsiziritai

Active Member
Newcomer
Joined
Oct 26, 2015
Messages
39
Trophies
0
XP
601
Country
use libnx master to solve the clkrst erros

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,

Brawl345

Well-Known Member
Member
Joined
Jan 14, 2012
Messages
776
Trophies
2
Website
wiidatabase.de
XP
2,853
Country
Germany
Very interesting. This may be how they improved loading times in the new update
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,

Sosainas

Well-Known Member
Member
Joined
Dec 30, 2014
Messages
119
Trophies
0
Age
36
XP
437
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?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,263
Trophies
3
XP
12,022
Country
Poland
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?
No. You need to write settings for each game. It's not working globally.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,271
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,
D

Deleted User

Guest
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?
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 ,

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,198
Country
Gambia, The
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
You can change OC settings in real time during games with this too, though
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
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
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
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
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,
  • Like
Reactions: botossi

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: You could say the same for a couple or so threads that used to be popular, I guess.