From 44d417fb897b3c627db5d06679ca4d0807b7ffe3 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Mon, 6 Apr 2026 12:56:06 +0200 Subject: [PATCH] fix cpu max clock, remove below 1963 caps on mariko --- .../stratosphere/loader/source/oc/customize.cpp | 8 ++++---- .../Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp | 2 +- Source/hoc-clk/overlay/src/ui/gui/misc_gui.cpp | 6 ++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp index 82f6617e..e737550c 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/customize.cpp @@ -86,17 +86,17 @@ volatile CustomizeTable C = { /* 1120mV is NVIDIA rating */ .marikoCpuMaxVolt = 1120, -/* Supported values: 1963000, 2091000, 2193000, 2295000, 2397000, 2499000, 2601000, 2703000. */ -/* 1963000 is official rating of T214/Mariko, fully safe. */ +/* Supported values: 1963500, 2091000, 2193000, 2295000, 2397000, 2499000, 2601000, 2703000. */ +/* 1963500 is official rating of T214/Mariko, fully safe. */ /* 2091000-2295000 is a slight OC which should work on all units, but no guarantees. */ /* 2397000 is the max safe OC for most average units with tuned undervolt. */ /* 2499000 should be used with caution. */ /* 2601000 exceeds pmic limit on most consoles. */ /* 2703000 is potentially dangerous and not advised. */ -.marikoCpuMaxClock = 1963000, +.marikoCpuMaxClock = 1963500, .eristaCpuBoostClock = 1785000, // Default boost clock -.marikoCpuBoostClock = 1963000, // Default boost clock +.marikoCpuBoostClock = 1963500, // Default boost clock .eristaGpuUV = 0, .eristaGpuVmin = 810, diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp index 0cdccae8..ee36c324 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp @@ -58,7 +58,7 @@ namespace ams::ldr::hoc::pcv { static const u32 cpuVoltThermalData[] = { 620, 1120, 20000, 620, 1120, 70000, 950, 1132, 0, 950, 1227, 0 }; - static const u32 allowedCpuMaxFrequencies[] = { 1'963'000, 2'091'000, 2'193'000, 2'295'000, 2'397'000, 2'499'000, 2'601'000, 2'703'000, }; + static const u32 allowedCpuMaxFrequencies[] = { 1'963'500, 2'091'000, 2'193'000, 2'295'000, 2'397'000, 2'499'000, 2'601'000, 2'703'000, }; constexpr cvb_entry_t GpuCvbTableDefault[] = { // GPUB01_NA_CVB_TABLE diff --git a/Source/hoc-clk/overlay/src/ui/gui/misc_gui.cpp b/Source/hoc-clk/overlay/src/ui/gui/misc_gui.cpp index bdaea812..b66813b6 100644 --- a/Source/hoc-clk/overlay/src/ui/gui/misc_gui.cpp +++ b/Source/hoc-clk/overlay/src/ui/gui/misc_gui.cpp @@ -1053,7 +1053,7 @@ protected: std::vector maxClkOptions = { NamedValue("1785 MHz", 1785), NamedValue("1887 MHz", 1887), - NamedValue("1963 MHz", 1963), + NamedValue("1989 MHz", 1989), NamedValue("2091 MHz", 2091), NamedValue("2193 MHz", 2193), NamedValue("2295 MHz", 2295), @@ -1111,8 +1111,6 @@ protected: ); std::vector maxClkOptions = { - NamedValue("1785 MHz", 1785000), - NamedValue("1887 MHz", 1887000), NamedValue("1963 MHz", 1963000), NamedValue("2091 MHz", 2091000), NamedValue("2193 MHz", 2193000), @@ -1349,7 +1347,7 @@ protected: false ); } - + std::vector gpuOffset = { NamedValue("-50 mV", 50), NamedValue("-45 mV", 45),