diff --git a/app/AppConfig.cs b/app/AppConfig.cs index 0b8305a3..397ec428 100644 --- a/app/AppConfig.cs +++ b/app/AppConfig.cs @@ -474,6 +474,11 @@ public static class AppConfig return ContainsModel("FX507ZC4"); } + public static bool DynamicBoost20() + { + return ContainsModel("GU605"); + } + public static bool IsAdvantageEdition() { return ContainsModel("13QY"); diff --git a/app/AsusACPI.cs b/app/AsusACPI.cs index 4ed16f4a..276a691e 100644 --- a/app/AsusACPI.cs +++ b/app/AsusACPI.cs @@ -303,6 +303,11 @@ public class AsusACPI MaxGPUBoost = 15; } + if (AppConfig.DynamicBoost20()) + { + MaxGPUBoost = 20; + } + if (AppConfig.IsAMDLight()) { MaxTotal = 90; diff --git a/app/Fans.cs b/app/Fans.cs index d15dd1dd..f41fa155 100644 --- a/app/Fans.cs +++ b/app/Fans.cs @@ -527,13 +527,15 @@ namespace GHelper private void InitGPUPower() { gpuPowerBase = Program.acpi.DeviceGet(AsusACPI.GPU_BASE); + Logger.WriteLine($"ReadGPUPowerBase: {gpuPowerBase}"); + panelGPUPower.Visible = isGPUPower; if (!isGPUPower) return; int maxGPUPower = NvidiaSmi.GetMaxGPUPower(); if (maxGPUPower > 0) { - AsusACPI.MaxGPUPower = maxGPUPower - gpuPowerBase - 15; + AsusACPI.MaxGPUPower = maxGPUPower - gpuPowerBase - AsusACPI.MaxGPUBoost; trackGPUPower.Minimum = AsusACPI.MinGPUPower; trackGPUPower.Maximum = AsusACPI.MaxGPUPower; }