mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Compare commits
78 Commits
v0.108
...
gpu_clock_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f6de3c6a3 | ||
|
|
4c989c9d75 | ||
|
|
2282e56aad | ||
|
|
ef788798b7 | ||
|
|
07d81e6072 | ||
|
|
708e3aa40f | ||
|
|
3075e22e1e | ||
|
|
b15109d13e | ||
|
|
c491087a29 | ||
|
|
cf08ae0789 | ||
|
|
624f15be65 | ||
|
|
4789d0d782 | ||
|
|
f8fd8a9695 | ||
|
|
91cfb8d38c | ||
|
|
130d9b73fb | ||
|
|
604d24ebbe | ||
|
|
8c3a74a991 | ||
|
|
ed143a7bba | ||
|
|
ac5f1ec1b5 | ||
|
|
403db3057c | ||
|
|
4dac7b8e9d | ||
|
|
a856f87146 | ||
|
|
d733101a26 | ||
|
|
89741a5e8a | ||
|
|
f00026b53a | ||
|
|
5004358fe2 | ||
|
|
97f6565024 | ||
|
|
f1a69ebad3 | ||
|
|
bf6c3e636e | ||
|
|
a4e98a9fb1 | ||
|
|
8b717f856a | ||
|
|
4d8f093a4b | ||
|
|
c699c82bbe | ||
|
|
5634d75672 | ||
|
|
cf33b0cc52 | ||
|
|
ddbaeb623b | ||
|
|
3efb2e0db9 | ||
|
|
8159aec53b | ||
|
|
564efb2f32 | ||
|
|
4dfcd6a5f9 | ||
|
|
0aa4d873d0 | ||
|
|
911c01b6b2 | ||
|
|
3a5e5fa227 | ||
|
|
bf5786aca6 | ||
|
|
ed065d00dc | ||
|
|
6aa899d989 | ||
|
|
417d156300 | ||
|
|
2471edd82f | ||
|
|
196eda7463 | ||
|
|
1d63376c99 | ||
|
|
846b05b89e | ||
|
|
0f3b660824 | ||
|
|
14565cf8fa | ||
|
|
3d5c0d5ade | ||
|
|
14e0adaca8 | ||
|
|
4365d3b4cb | ||
|
|
62ca72e684 | ||
|
|
71c0c10f29 | ||
|
|
8733ef34d3 | ||
|
|
ff0a12d104 | ||
|
|
fe628319b7 | ||
|
|
86c11beee6 | ||
|
|
e45a72f6c6 | ||
|
|
88af725a08 | ||
|
|
b59db1432a | ||
|
|
4f85cd32aa | ||
|
|
f0d6d25e93 | ||
|
|
2d6d4093e9 | ||
|
|
8fc167fd57 | ||
|
|
475110af09 | ||
|
|
3fc4621dc9 | ||
|
|
43ddf6585c | ||
|
|
61d155d936 | ||
|
|
d133162579 | ||
|
|
fff4612a8d | ||
|
|
d6f410c6e6 | ||
|
|
ab11965d50 | ||
|
|
6071f41c33 |
@@ -154,6 +154,11 @@ public static class AppConfig
|
|||||||
Write();
|
Write();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void RemoveMode(string name)
|
||||||
|
{
|
||||||
|
Remove(name + "_" + Modes.GetCurrent());
|
||||||
|
}
|
||||||
|
|
||||||
public static string GgetParamName(AsusFan device, string paramName = "fan_profile")
|
public static string GgetParamName(AsusFan device, string paramName = "fan_profile")
|
||||||
{
|
{
|
||||||
int mode = Modes.GetCurrent();
|
int mode = Modes.GetCurrent();
|
||||||
@@ -298,9 +303,9 @@ public static class AppConfig
|
|||||||
return ContainsModel("GA401I") && !ContainsModel("GA401IHR");
|
return ContainsModel("GA401I") && !ContainsModel("GA401IHR");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool NoAuraColor()
|
public static bool IsSingleColor()
|
||||||
{
|
{
|
||||||
return ContainsModel("GA401") || ContainsModel("X13");
|
return ContainsModel("GA401");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsStrix()
|
public static bool IsStrix()
|
||||||
@@ -343,7 +348,8 @@ public static class AppConfig
|
|||||||
return
|
return
|
||||||
Is("manual_mode") ||
|
Is("manual_mode") ||
|
||||||
ContainsModel("GU604") ||
|
ContainsModel("GU604") ||
|
||||||
ContainsModel("G733");
|
ContainsModel("G733") ||
|
||||||
|
ContainsModel("FX507Z");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsFanRequired()
|
public static bool IsFanRequired()
|
||||||
@@ -356,9 +362,14 @@ public static class AppConfig
|
|||||||
return ContainsModel("FX507") || ContainsModel("FX517") || ContainsModel("FX707");
|
return ContainsModel("FX507") || ContainsModel("FX517") || ContainsModel("FX707");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool IsGPUFixNeeded()
|
||||||
|
{
|
||||||
|
return ContainsModel("GA402X") || ContainsModel("GV302") || ContainsModel("FX506") || ContainsModel("GU603V");
|
||||||
|
}
|
||||||
|
|
||||||
public static bool IsGPUFix()
|
public static bool IsGPUFix()
|
||||||
{
|
{
|
||||||
return ContainsModel("GA402X") && (Get("gpu_fix") != 0);
|
return Is("gpu_fix") || (ContainsModel("GA402X") && IsNotFalse("gpu_fix"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
using GHelper.Helpers;
|
using GHelper.Gpu;
|
||||||
|
using GHelper.Helpers;
|
||||||
using HidLibrary;
|
using HidLibrary;
|
||||||
using System.Diagnostics;
|
using NAudio.Gui;
|
||||||
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace GHelper
|
namespace GHelper
|
||||||
@@ -38,6 +40,7 @@ namespace GHelper
|
|||||||
public static class AsusUSB
|
public static class AsusUSB
|
||||||
{
|
{
|
||||||
public const int HEATMAP = 20;
|
public const int HEATMAP = 20;
|
||||||
|
public const int GPUMODE = 21;
|
||||||
|
|
||||||
public const int ASUS_ID = 0x0b05;
|
public const int ASUS_ID = 0x0b05;
|
||||||
|
|
||||||
@@ -63,13 +66,14 @@ namespace GHelper
|
|||||||
static bool isTuf = AppConfig.IsTUF();
|
static bool isTuf = AppConfig.IsTUF();
|
||||||
static bool isStrix = AppConfig.IsStrix();
|
static bool isStrix = AppConfig.IsStrix();
|
||||||
|
|
||||||
|
static public bool isSingleColor = false;
|
||||||
|
|
||||||
static bool isOldHeatmap = AppConfig.Is("old_heatmap");
|
static bool isOldHeatmap = AppConfig.Is("old_heatmap");
|
||||||
|
|
||||||
|
|
||||||
static System.Timers.Timer timer = new System.Timers.Timer(2000);
|
static System.Timers.Timer timer = new System.Timers.Timer(2000);
|
||||||
static HidDevice? auraDevice = null;
|
static HidDevice? auraDevice = null;
|
||||||
|
|
||||||
static bool Manual = false;
|
|
||||||
|
|
||||||
static byte[] AuraPowerMessage(AuraPower flags)
|
static byte[] AuraPowerMessage(AuraPower flags)
|
||||||
{
|
{
|
||||||
@@ -115,6 +119,11 @@ namespace GHelper
|
|||||||
static AsusUSB()
|
static AsusUSB()
|
||||||
{
|
{
|
||||||
timer.Elapsed += Timer_Elapsed;
|
timer.Elapsed += Timer_Elapsed;
|
||||||
|
|
||||||
|
isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color
|
||||||
|
|
||||||
|
var device = GetDevice(AURA_HID_ID);
|
||||||
|
if (device is not null && device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X")) isSingleColor = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)
|
private static void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)
|
||||||
@@ -156,7 +165,8 @@ namespace GHelper
|
|||||||
{ 2, Properties.Strings.AuraColorCycle },
|
{ 2, Properties.Strings.AuraColorCycle },
|
||||||
{ 3, Properties.Strings.AuraRainbow },
|
{ 3, Properties.Strings.AuraRainbow },
|
||||||
{ 10, Properties.Strings.AuraStrobe },
|
{ 10, Properties.Strings.AuraStrobe },
|
||||||
{ HEATMAP, "Heatmap"}
|
{ HEATMAP, "Heatmap"},
|
||||||
|
{ GPUMODE, "GPU Mode" }
|
||||||
};
|
};
|
||||||
|
|
||||||
static Dictionary<int, string> _modesStrix = new Dictionary<int, string>
|
static Dictionary<int, string> _modesStrix = new Dictionary<int, string>
|
||||||
@@ -184,10 +194,12 @@ namespace GHelper
|
|||||||
_modes.Remove(3);
|
_modes.Remove(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AppConfig.NoAuraColor())
|
if (isSingleColor)
|
||||||
{
|
{
|
||||||
_modes.Remove(2);
|
_modes.Remove(2);
|
||||||
_modes.Remove(3);
|
_modes.Remove(3);
|
||||||
|
_modes.Remove(HEATMAP);
|
||||||
|
_modes.Remove(GPUMODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AppConfig.IsAdvantageEdition())
|
if (AppConfig.IsAdvantageEdition())
|
||||||
@@ -278,7 +290,7 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static byte[] AuraMessage(int mode, Color color, Color color2, int speed)
|
public static byte[] AuraMessage(int mode, Color color, Color color2, int speed, bool mono = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
byte[] msg = new byte[17];
|
byte[] msg = new byte[17];
|
||||||
@@ -286,15 +298,15 @@ namespace GHelper
|
|||||||
msg[1] = 0xb3;
|
msg[1] = 0xb3;
|
||||||
msg[2] = 0x00; // Zone
|
msg[2] = 0x00; // Zone
|
||||||
msg[3] = (byte)mode; // Aura Mode
|
msg[3] = (byte)mode; // Aura Mode
|
||||||
msg[4] = (byte)(color.R); // R
|
msg[4] = color.R; // R
|
||||||
msg[5] = (byte)(color.G); // G
|
msg[5] = mono ? (byte)0 : color.G; // G
|
||||||
msg[6] = (byte)(color.B); // B
|
msg[6] = mono ? (byte)0 : color.B; // B
|
||||||
msg[7] = (byte)speed; // aura.speed as u8;
|
msg[7] = (byte)speed; // aura.speed as u8;
|
||||||
msg[8] = 0; // aura.direction as u8;
|
msg[8] = 0; // aura.direction as u8;
|
||||||
msg[9] = (mode == 1) ? (byte)1 : (byte)0;
|
msg[9] = (mode == 1) ? (byte)1 : (byte)0;
|
||||||
msg[10] = (byte)(color2.R); // R
|
msg[10] = color2.R; // R
|
||||||
msg[11] = (byte)(color2.G); // G
|
msg[11] = mono ? (byte)0 : color2.G; // G
|
||||||
msg[12] = (byte)(color2.B); // B
|
msg[12] = mono ? (byte)0 : color2.B; // B
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -469,7 +481,7 @@ namespace GHelper
|
|||||||
if (isStrix && !isOldHeatmap)
|
if (isStrix && !isOldHeatmap)
|
||||||
{
|
{
|
||||||
byte[] msg = new byte[0x40];
|
byte[] msg = new byte[0x40];
|
||||||
|
|
||||||
byte start = 9;
|
byte start = 9;
|
||||||
byte maxLeds = 0x93;
|
byte maxLeds = 0x93;
|
||||||
|
|
||||||
@@ -497,7 +509,7 @@ namespace GHelper
|
|||||||
auraDevice.Write(LED_INIT3);
|
auraDevice.Write(LED_INIT3);
|
||||||
auraDevice.Write(LED_INIT4);
|
auraDevice.Write(LED_INIT4);
|
||||||
auraDevice.Write(LED_INIT5);
|
auraDevice.Write(LED_INIT5);
|
||||||
auraDevice.Write(new byte[] { AURA_HID_ID, 0xbc});
|
auraDevice.Write(new byte[] { AURA_HID_ID, 0xbc });
|
||||||
}
|
}
|
||||||
|
|
||||||
for (byte b = 0; b < maxLeds; b += 0x10)
|
for (byte b = 0; b < maxLeds; b += 0x10)
|
||||||
@@ -525,6 +537,25 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void ApplyGPUColor()
|
||||||
|
{
|
||||||
|
if (AppConfig.Get("aura_mode") != GPUMODE) return;
|
||||||
|
|
||||||
|
switch (GPUModeControl.GpuMode)
|
||||||
|
{
|
||||||
|
case AsusACPI.GPUModeUltimate:
|
||||||
|
ApplyColor(Color.Red, true);
|
||||||
|
break;
|
||||||
|
case AsusACPI.GPUModeEco:
|
||||||
|
ApplyColor(Color.Green, true);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
ApplyColor(Color.Yellow, true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void ApplyAura()
|
public static void ApplyAura()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -533,17 +564,22 @@ namespace GHelper
|
|||||||
SetColor(AppConfig.Get("aura_color"));
|
SetColor(AppConfig.Get("aura_color"));
|
||||||
SetColor2(AppConfig.Get("aura_color2"));
|
SetColor2(AppConfig.Get("aura_color2"));
|
||||||
|
|
||||||
|
timer.Enabled = false;
|
||||||
|
|
||||||
if (Mode == HEATMAP)
|
if (Mode == HEATMAP)
|
||||||
{
|
{
|
||||||
SetHeatmap(true);
|
SetHeatmap(true);
|
||||||
timer.Enabled = true;
|
timer.Enabled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (Mode == GPUMODE)
|
||||||
{
|
{
|
||||||
timer.Enabled = false;
|
ApplyGPUColor();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -563,7 +599,7 @@ namespace GHelper
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] msg = AuraMessage(Mode, Color1, Color2, _speed);
|
byte[] msg;
|
||||||
var devices = GetHidDevices(deviceIds);
|
var devices = GetHidDevices(deviceIds);
|
||||||
|
|
||||||
foreach (HidDevice device in devices)
|
foreach (HidDevice device in devices)
|
||||||
@@ -571,10 +607,11 @@ namespace GHelper
|
|||||||
device.OpenDevice();
|
device.OpenDevice();
|
||||||
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
|
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
|
||||||
{
|
{
|
||||||
|
msg = AuraMessage(Mode, Color1, Color2, _speed, isSingleColor);
|
||||||
device.WriteFeatureData(msg);
|
device.WriteFeatureData(msg);
|
||||||
device.WriteFeatureData(MESSAGE_APPLY);
|
device.WriteFeatureData(MESSAGE_APPLY);
|
||||||
device.WriteFeatureData(MESSAGE_SET);
|
device.WriteFeatureData(MESSAGE_SET);
|
||||||
Logger.WriteLine("USB-KB " + device.Capabilities.FeatureReportByteLength + "|" + device.Capabilities.InputReportByteLength + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
|
Logger.WriteLine("USB-KB " + device.Attributes.Version + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
|
||||||
}
|
}
|
||||||
device.CloseDevice();
|
device.CloseDevice();
|
||||||
}
|
}
|
||||||
|
|||||||
61
app/Extra.Designer.cs
generated
61
app/Extra.Designer.cs
generated
@@ -103,14 +103,12 @@ namespace GHelper
|
|||||||
labelSettings = new Label();
|
labelSettings = new Label();
|
||||||
panelSettings = new Panel();
|
panelSettings = new Panel();
|
||||||
checkAutoToggleClamshellMode = new CheckBox();
|
checkAutoToggleClamshellMode = new CheckBox();
|
||||||
checkAutoApplyWindowsPowerMode = new CheckBox();
|
|
||||||
checkTopmost = new CheckBox();
|
checkTopmost = new CheckBox();
|
||||||
checkNoOverdrive = new CheckBox();
|
checkNoOverdrive = new CheckBox();
|
||||||
checkUSBC = new CheckBox();
|
checkUSBC = new CheckBox();
|
||||||
checkVariBright = new CheckBox();
|
checkVariBright = new CheckBox();
|
||||||
checkGpuApps = new CheckBox();
|
checkGpuApps = new CheckBox();
|
||||||
checkGPUFix = new CheckBox();
|
checkGPUFix = new CheckBox();
|
||||||
checkFnLock = new CheckBox();
|
|
||||||
panelPower = new Panel();
|
panelPower = new Panel();
|
||||||
numericHibernateAfter = new NumericUpDown();
|
numericHibernateAfter = new NumericUpDown();
|
||||||
labelHibernateAfter = new Label();
|
labelHibernateAfter = new Label();
|
||||||
@@ -147,7 +145,7 @@ namespace GHelper
|
|||||||
panelServices.Controls.Add(labelServices);
|
panelServices.Controls.Add(labelServices);
|
||||||
panelServices.Controls.Add(buttonServices);
|
panelServices.Controls.Add(buttonServices);
|
||||||
panelServices.Dock = DockStyle.Top;
|
panelServices.Dock = DockStyle.Top;
|
||||||
panelServices.Location = new Point(15, 1383);
|
panelServices.Location = new Point(15, 1279);
|
||||||
panelServices.Name = "panelServices";
|
panelServices.Name = "panelServices";
|
||||||
panelServices.Size = new Size(983, 75);
|
panelServices.Size = new Size(983, 75);
|
||||||
panelServices.TabIndex = 5;
|
panelServices.TabIndex = 5;
|
||||||
@@ -1063,26 +1061,24 @@ namespace GHelper
|
|||||||
panelSettings.AutoSize = true;
|
panelSettings.AutoSize = true;
|
||||||
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
panelSettings.Controls.Add(checkAutoToggleClamshellMode);
|
panelSettings.Controls.Add(checkAutoToggleClamshellMode);
|
||||||
panelSettings.Controls.Add(checkAutoApplyWindowsPowerMode);
|
|
||||||
panelSettings.Controls.Add(checkTopmost);
|
panelSettings.Controls.Add(checkTopmost);
|
||||||
panelSettings.Controls.Add(checkNoOverdrive);
|
panelSettings.Controls.Add(checkNoOverdrive);
|
||||||
panelSettings.Controls.Add(checkUSBC);
|
panelSettings.Controls.Add(checkUSBC);
|
||||||
panelSettings.Controls.Add(checkVariBright);
|
panelSettings.Controls.Add(checkVariBright);
|
||||||
panelSettings.Controls.Add(checkGpuApps);
|
panelSettings.Controls.Add(checkGpuApps);
|
||||||
panelSettings.Controls.Add(checkGPUFix);
|
panelSettings.Controls.Add(checkGPUFix);
|
||||||
panelSettings.Controls.Add(checkFnLock);
|
|
||||||
panelSettings.Dock = DockStyle.Top;
|
panelSettings.Dock = DockStyle.Top;
|
||||||
panelSettings.Location = new Point(15, 921);
|
panelSettings.Location = new Point(15, 921);
|
||||||
panelSettings.Name = "panelSettings";
|
panelSettings.Name = "panelSettings";
|
||||||
panelSettings.Padding = new Padding(20, 5, 11, 5);
|
panelSettings.Padding = new Padding(20, 5, 11, 5);
|
||||||
panelSettings.Size = new Size(983, 388);
|
panelSettings.Size = new Size(983, 304);
|
||||||
panelSettings.TabIndex = 3;
|
panelSettings.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// checkAutoToggleClamshellMode
|
// checkAutoToggleClamshellMode
|
||||||
//
|
//
|
||||||
checkAutoToggleClamshellMode.AutoSize = true;
|
checkAutoToggleClamshellMode.AutoSize = true;
|
||||||
checkAutoToggleClamshellMode.Dock = DockStyle.Top;
|
checkAutoToggleClamshellMode.Dock = DockStyle.Top;
|
||||||
checkAutoToggleClamshellMode.Location = new Point(20, 341);
|
checkAutoToggleClamshellMode.Location = new Point(20, 257);
|
||||||
checkAutoToggleClamshellMode.Name = "checkAutoToggleClamshellMode";
|
checkAutoToggleClamshellMode.Name = "checkAutoToggleClamshellMode";
|
||||||
checkAutoToggleClamshellMode.Padding = new Padding(3);
|
checkAutoToggleClamshellMode.Padding = new Padding(3);
|
||||||
checkAutoToggleClamshellMode.Size = new Size(952, 42);
|
checkAutoToggleClamshellMode.Size = new Size(952, 42);
|
||||||
@@ -1090,24 +1086,11 @@ namespace GHelper
|
|||||||
checkAutoToggleClamshellMode.Text = "Auto Toggle Clamshell Mode";
|
checkAutoToggleClamshellMode.Text = "Auto Toggle Clamshell Mode";
|
||||||
checkAutoToggleClamshellMode.UseVisualStyleBackColor = true;
|
checkAutoToggleClamshellMode.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkAutoApplyWindowsPowerMode
|
|
||||||
//
|
|
||||||
checkAutoApplyWindowsPowerMode.AutoSize = true;
|
|
||||||
checkAutoApplyWindowsPowerMode.Dock = DockStyle.Top;
|
|
||||||
checkAutoApplyWindowsPowerMode.Location = new Point(20, 299);
|
|
||||||
checkAutoApplyWindowsPowerMode.Margin = new Padding(4, 3, 4, 3);
|
|
||||||
checkAutoApplyWindowsPowerMode.Name = "checkAutoApplyWindowsPowerMode";
|
|
||||||
checkAutoApplyWindowsPowerMode.Padding = new Padding(3);
|
|
||||||
checkAutoApplyWindowsPowerMode.Size = new Size(952, 42);
|
|
||||||
checkAutoApplyWindowsPowerMode.TabIndex = 7;
|
|
||||||
checkAutoApplyWindowsPowerMode.Text = "Auto Adjust Windows Power Mode";
|
|
||||||
checkAutoApplyWindowsPowerMode.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// checkTopmost
|
// checkTopmost
|
||||||
//
|
//
|
||||||
checkTopmost.AutoSize = true;
|
checkTopmost.AutoSize = true;
|
||||||
checkTopmost.Dock = DockStyle.Top;
|
checkTopmost.Dock = DockStyle.Top;
|
||||||
checkTopmost.Location = new Point(20, 257);
|
checkTopmost.Location = new Point(20, 215);
|
||||||
checkTopmost.Margin = new Padding(4, 3, 4, 3);
|
checkTopmost.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkTopmost.Name = "checkTopmost";
|
checkTopmost.Name = "checkTopmost";
|
||||||
checkTopmost.Padding = new Padding(3);
|
checkTopmost.Padding = new Padding(3);
|
||||||
@@ -1120,7 +1103,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
checkNoOverdrive.AutoSize = true;
|
checkNoOverdrive.AutoSize = true;
|
||||||
checkNoOverdrive.Dock = DockStyle.Top;
|
checkNoOverdrive.Dock = DockStyle.Top;
|
||||||
checkNoOverdrive.Location = new Point(20, 215);
|
checkNoOverdrive.Location = new Point(20, 173);
|
||||||
checkNoOverdrive.Margin = new Padding(4, 3, 4, 3);
|
checkNoOverdrive.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkNoOverdrive.Name = "checkNoOverdrive";
|
checkNoOverdrive.Name = "checkNoOverdrive";
|
||||||
checkNoOverdrive.Padding = new Padding(3);
|
checkNoOverdrive.Padding = new Padding(3);
|
||||||
@@ -1133,7 +1116,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
checkUSBC.AutoSize = true;
|
checkUSBC.AutoSize = true;
|
||||||
checkUSBC.Dock = DockStyle.Top;
|
checkUSBC.Dock = DockStyle.Top;
|
||||||
checkUSBC.Location = new Point(20, 173);
|
checkUSBC.Location = new Point(20, 131);
|
||||||
checkUSBC.Margin = new Padding(4, 3, 4, 3);
|
checkUSBC.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkUSBC.Name = "checkUSBC";
|
checkUSBC.Name = "checkUSBC";
|
||||||
checkUSBC.Padding = new Padding(3);
|
checkUSBC.Padding = new Padding(3);
|
||||||
@@ -1146,7 +1129,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
checkVariBright.AutoSize = true;
|
checkVariBright.AutoSize = true;
|
||||||
checkVariBright.Dock = DockStyle.Top;
|
checkVariBright.Dock = DockStyle.Top;
|
||||||
checkVariBright.Location = new Point(20, 131);
|
checkVariBright.Location = new Point(20, 89);
|
||||||
checkVariBright.Margin = new Padding(4, 3, 4, 3);
|
checkVariBright.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkVariBright.Name = "checkVariBright";
|
checkVariBright.Name = "checkVariBright";
|
||||||
checkVariBright.Padding = new Padding(3);
|
checkVariBright.Padding = new Padding(3);
|
||||||
@@ -1159,7 +1142,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
checkGpuApps.AutoSize = true;
|
checkGpuApps.AutoSize = true;
|
||||||
checkGpuApps.Dock = DockStyle.Top;
|
checkGpuApps.Dock = DockStyle.Top;
|
||||||
checkGpuApps.Location = new Point(20, 89);
|
checkGpuApps.Location = new Point(20, 47);
|
||||||
checkGpuApps.Margin = new Padding(4, 3, 4, 3);
|
checkGpuApps.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkGpuApps.Name = "checkGpuApps";
|
checkGpuApps.Name = "checkGpuApps";
|
||||||
checkGpuApps.Padding = new Padding(3);
|
checkGpuApps.Padding = new Padding(3);
|
||||||
@@ -1172,7 +1155,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
checkGPUFix.AutoSize = true;
|
checkGPUFix.AutoSize = true;
|
||||||
checkGPUFix.Dock = DockStyle.Top;
|
checkGPUFix.Dock = DockStyle.Top;
|
||||||
checkGPUFix.Location = new Point(20, 47);
|
checkGPUFix.Location = new Point(20, 5);
|
||||||
checkGPUFix.Margin = new Padding(4, 3, 4, 3);
|
checkGPUFix.Margin = new Padding(4, 3, 4, 3);
|
||||||
checkGPUFix.Name = "checkGPUFix";
|
checkGPUFix.Name = "checkGPUFix";
|
||||||
checkGPUFix.Padding = new Padding(3);
|
checkGPUFix.Padding = new Padding(3);
|
||||||
@@ -1181,29 +1164,15 @@ namespace GHelper
|
|||||||
checkGPUFix.Text = "Enable GPU on shutdown (prevents issue with Eco mode)";
|
checkGPUFix.Text = "Enable GPU on shutdown (prevents issue with Eco mode)";
|
||||||
checkGPUFix.UseVisualStyleBackColor = true;
|
checkGPUFix.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkFnLock
|
|
||||||
//
|
|
||||||
checkFnLock.AutoSize = true;
|
|
||||||
checkFnLock.Dock = DockStyle.Top;
|
|
||||||
checkFnLock.Location = new Point(20, 5);
|
|
||||||
checkFnLock.Margin = new Padding(4, 3, 4, 3);
|
|
||||||
checkFnLock.MaximumSize = new Size(800, 0);
|
|
||||||
checkFnLock.Name = "checkFnLock";
|
|
||||||
checkFnLock.Padding = new Padding(3);
|
|
||||||
checkFnLock.Size = new Size(800, 42);
|
|
||||||
checkFnLock.TabIndex = 1;
|
|
||||||
checkFnLock.Text = "Process Fn+F hotkeys without Fn";
|
|
||||||
checkFnLock.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// panelPower
|
// panelPower
|
||||||
//
|
//
|
||||||
panelPower.Controls.Add(numericHibernateAfter);
|
panelPower.Controls.Add(numericHibernateAfter);
|
||||||
panelPower.Controls.Add(labelHibernateAfter);
|
panelPower.Controls.Add(labelHibernateAfter);
|
||||||
panelPower.Controls.Add(pictureHibernate);
|
panelPower.Controls.Add(pictureHibernate);
|
||||||
panelPower.Dock = DockStyle.Top;
|
panelPower.Dock = DockStyle.Top;
|
||||||
panelPower.Location = new Point(15, 1309);
|
panelPower.Location = new Point(15, 1225);
|
||||||
panelPower.Name = "panelPower";
|
panelPower.Name = "panelPower";
|
||||||
panelPower.Size = new Size(983, 74);
|
panelPower.Size = new Size(983, 54);
|
||||||
panelPower.TabIndex = 4;
|
panelPower.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// numericHibernateAfter
|
// numericHibernateAfter
|
||||||
@@ -1211,7 +1180,7 @@ namespace GHelper
|
|||||||
numericHibernateAfter.AccessibleName = "Minutes till Hibernation in sleep";
|
numericHibernateAfter.AccessibleName = "Minutes till Hibernation in sleep";
|
||||||
numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 });
|
numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 });
|
||||||
numericHibernateAfter.Location = new Point(810, 21);
|
numericHibernateAfter.Location = new Point(810, 7);
|
||||||
numericHibernateAfter.Margin = new Padding(4, 3, 4, 3);
|
numericHibernateAfter.Margin = new Padding(4, 3, 4, 3);
|
||||||
numericHibernateAfter.Maximum = new decimal(new int[] { 3000000, 0, 0, 0 });
|
numericHibernateAfter.Maximum = new decimal(new int[] { 3000000, 0, 0, 0 });
|
||||||
numericHibernateAfter.Name = "numericHibernateAfter";
|
numericHibernateAfter.Name = "numericHibernateAfter";
|
||||||
@@ -1221,7 +1190,7 @@ namespace GHelper
|
|||||||
// labelHibernateAfter
|
// labelHibernateAfter
|
||||||
//
|
//
|
||||||
labelHibernateAfter.AutoSize = true;
|
labelHibernateAfter.AutoSize = true;
|
||||||
labelHibernateAfter.Location = new Point(59, 21);
|
labelHibernateAfter.Location = new Point(59, 10);
|
||||||
labelHibernateAfter.Margin = new Padding(4, 0, 4, 0);
|
labelHibernateAfter.Margin = new Padding(4, 0, 4, 0);
|
||||||
labelHibernateAfter.Name = "labelHibernateAfter";
|
labelHibernateAfter.Name = "labelHibernateAfter";
|
||||||
labelHibernateAfter.Size = new Size(457, 32);
|
labelHibernateAfter.Size = new Size(457, 32);
|
||||||
@@ -1232,7 +1201,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
pictureHibernate.BackgroundImage = Resources.icons8_hibernate_32;
|
pictureHibernate.BackgroundImage = Resources.icons8_hibernate_32;
|
||||||
pictureHibernate.BackgroundImageLayout = ImageLayout.Zoom;
|
pictureHibernate.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
pictureHibernate.Location = new Point(20, 21);
|
pictureHibernate.Location = new Point(20, 10);
|
||||||
pictureHibernate.Name = "pictureHibernate";
|
pictureHibernate.Name = "pictureHibernate";
|
||||||
pictureHibernate.Size = new Size(32, 32);
|
pictureHibernate.Size = new Size(32, 32);
|
||||||
pictureHibernate.TabIndex = 22;
|
pictureHibernate.TabIndex = 22;
|
||||||
@@ -1364,13 +1333,11 @@ namespace GHelper
|
|||||||
private PictureBox pictureSettings;
|
private PictureBox pictureSettings;
|
||||||
private Label labelSettings;
|
private Label labelSettings;
|
||||||
private Panel panelSettings;
|
private Panel panelSettings;
|
||||||
private CheckBox checkAutoApplyWindowsPowerMode;
|
|
||||||
private CheckBox checkTopmost;
|
private CheckBox checkTopmost;
|
||||||
private CheckBox checkNoOverdrive;
|
private CheckBox checkNoOverdrive;
|
||||||
private CheckBox checkUSBC;
|
private CheckBox checkUSBC;
|
||||||
private CheckBox checkVariBright;
|
private CheckBox checkVariBright;
|
||||||
private CheckBox checkGpuApps;
|
private CheckBox checkGpuApps;
|
||||||
private CheckBox checkFnLock;
|
|
||||||
private PictureBox pictureBacklight;
|
private PictureBox pictureBacklight;
|
||||||
private Label labelBacklightTitle;
|
private Label labelBacklightTitle;
|
||||||
private PictureBox pictureService;
|
private PictureBox pictureService;
|
||||||
|
|||||||
40
app/Extra.cs
40
app/Extra.cs
@@ -118,8 +118,6 @@ namespace GHelper
|
|||||||
checkNoOverdrive.Text = Properties.Strings.DisableOverdrive;
|
checkNoOverdrive.Text = Properties.Strings.DisableOverdrive;
|
||||||
checkTopmost.Text = Properties.Strings.WindowTop;
|
checkTopmost.Text = Properties.Strings.WindowTop;
|
||||||
checkUSBC.Text = Properties.Strings.OptimizedUSBC;
|
checkUSBC.Text = Properties.Strings.OptimizedUSBC;
|
||||||
checkAutoApplyWindowsPowerMode.Text = Properties.Strings.ApplyWindowsPowerPlan;
|
|
||||||
checkFnLock.Text = Properties.Strings.FnLock;
|
|
||||||
checkAutoToggleClamshellMode.Text = Properties.Strings.ToggleClamshellMode;
|
checkAutoToggleClamshellMode.Text = Properties.Strings.ToggleClamshellMode;
|
||||||
|
|
||||||
labelBacklightKeyboard.Text = Properties.Strings.Keyboard;
|
labelBacklightKeyboard.Text = Properties.Strings.Keyboard;
|
||||||
@@ -294,9 +292,6 @@ namespace GHelper
|
|||||||
checkUSBC.Checked = AppConfig.Is("optimized_usbc");
|
checkUSBC.Checked = AppConfig.Is("optimized_usbc");
|
||||||
checkUSBC.CheckedChanged += CheckUSBC_CheckedChanged;
|
checkUSBC.CheckedChanged += CheckUSBC_CheckedChanged;
|
||||||
|
|
||||||
checkAutoApplyWindowsPowerMode.Checked = (AppConfig.Get("auto_apply_power_plan") != 0);
|
|
||||||
checkAutoApplyWindowsPowerMode.CheckedChanged += checkAutoApplyWindowsPowerMode_CheckedChanged;
|
|
||||||
|
|
||||||
sliderBrightness.Value = InputDispatcher.GetBacklight();
|
sliderBrightness.Value = InputDispatcher.GetBacklight();
|
||||||
sliderBrightness.ValueChanged += SliderBrightness_ValueChanged;
|
sliderBrightness.ValueChanged += SliderBrightness_ValueChanged;
|
||||||
|
|
||||||
@@ -313,17 +308,13 @@ namespace GHelper
|
|||||||
checkGpuApps.Checked = AppConfig.Is("kill_gpu_apps");
|
checkGpuApps.Checked = AppConfig.Is("kill_gpu_apps");
|
||||||
checkGpuApps.CheckedChanged += CheckGpuApps_CheckedChanged;
|
checkGpuApps.CheckedChanged += CheckGpuApps_CheckedChanged;
|
||||||
|
|
||||||
checkFnLock.Checked = AppConfig.Is("fn_lock");
|
|
||||||
checkFnLock.CheckedChanged += CheckFnLock_CheckedChanged; ;
|
|
||||||
|
|
||||||
pictureHelp.Click += PictureHelp_Click;
|
pictureHelp.Click += PictureHelp_Click;
|
||||||
|
|
||||||
buttonServices.Click += ButtonServices_Click;
|
buttonServices.Click += ButtonServices_Click;
|
||||||
|
|
||||||
pictureLog.Click += PictureLog_Click;
|
pictureLog.Click += PictureLog_Click;
|
||||||
|
|
||||||
checkGPUFix.Visible = AppConfig.ContainsModel("GA402X");
|
checkGPUFix.Visible = AppConfig.IsGPUFixNeeded();
|
||||||
checkGPUFix.Checked = AppConfig.Get("gpu_fix") != 0;
|
checkGPUFix.Checked = AppConfig.IsGPUFix();
|
||||||
checkGPUFix.CheckedChanged += CheckGPUFix_CheckedChanged;
|
checkGPUFix.CheckedChanged += CheckGPUFix_CheckedChanged;
|
||||||
|
|
||||||
InitVariBright();
|
InitVariBright();
|
||||||
@@ -340,16 +331,10 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Task.Run(() =>
|
int hibernate = PowerNative.GetHibernateAfter();
|
||||||
{
|
if (hibernate < 0 || hibernate > numericHibernateAfter.Maximum) hibernate = 0;
|
||||||
int hibernate = PowerNative.GetHibernateAfter();
|
numericHibernateAfter.Value = hibernate;
|
||||||
if (hibernate < 0 || hibernate > numericHibernateAfter.Maximum) hibernate = 0;
|
numericHibernateAfter.ValueChanged += NumericHibernateAfter_ValueChanged;
|
||||||
BeginInvoke(delegate
|
|
||||||
{
|
|
||||||
numericHibernateAfter.Value = hibernate;
|
|
||||||
numericHibernateAfter.ValueChanged += NumericHibernateAfter_ValueChanged;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -480,15 +465,6 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CheckFnLock_CheckedChanged(object? sender, EventArgs e)
|
|
||||||
{
|
|
||||||
int fnLock = checkFnLock.Checked ? 1 : 0;
|
|
||||||
AppConfig.Set("fn_lock", fnLock);
|
|
||||||
Program.acpi.DeviceSet(AsusACPI.FnLock, (fnLock == 1) ? 0 : 1, "FnLock");
|
|
||||||
|
|
||||||
Program.inputDispatcher.RegisterKeys();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void CheckGpuApps_CheckedChanged(object? sender, EventArgs e)
|
private void CheckGpuApps_CheckedChanged(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
AppConfig.Set("kill_gpu_apps", (checkGpuApps.Checked ? 1 : 0));
|
AppConfig.Set("kill_gpu_apps", (checkGpuApps.Checked ? 1 : 0));
|
||||||
@@ -577,10 +553,6 @@ namespace GHelper
|
|||||||
Left = Program.settingsForm.Left - Width - 5;
|
Left = Program.settingsForm.Left - Width - 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkAutoApplyWindowsPowerMode_CheckedChanged(object? sender, EventArgs e)
|
|
||||||
{
|
|
||||||
AppConfig.Set("auto_apply_power_plan", checkAutoApplyWindowsPowerMode.Checked ? 1 : 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void checkAutoToggleClamshellMode_CheckedChanged(object? sender, EventArgs e)
|
private void checkAutoToggleClamshellMode_CheckedChanged(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|||||||
221
app/Fans.Designer.cs
generated
221
app/Fans.Designer.cs
generated
@@ -31,14 +31,14 @@ namespace GHelper
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
ChartArea chartArea1 = new ChartArea();
|
ChartArea chartArea9 = new ChartArea();
|
||||||
Title title1 = new Title();
|
Title title9 = new Title();
|
||||||
ChartArea chartArea2 = new ChartArea();
|
ChartArea chartArea10 = new ChartArea();
|
||||||
Title title2 = new Title();
|
Title title10 = new Title();
|
||||||
ChartArea chartArea3 = new ChartArea();
|
ChartArea chartArea11 = new ChartArea();
|
||||||
Title title3 = new Title();
|
Title title11 = new Title();
|
||||||
ChartArea chartArea4 = new ChartArea();
|
ChartArea chartArea12 = new ChartArea();
|
||||||
Title title4 = new Title();
|
Title title12 = new Title();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Fans));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Fans));
|
||||||
panelFans = new Panel();
|
panelFans = new Panel();
|
||||||
labelTip = new Label();
|
labelTip = new Label();
|
||||||
@@ -106,6 +106,11 @@ namespace GHelper
|
|||||||
panelBoostTitle = new Panel();
|
panelBoostTitle = new Panel();
|
||||||
pictureBoost = new PictureBox();
|
pictureBoost = new PictureBox();
|
||||||
labelBoost = new Label();
|
labelBoost = new Label();
|
||||||
|
panelPowerMode = new Panel();
|
||||||
|
comboPowerMode = new RComboBox();
|
||||||
|
panelPowerModeTItle = new Panel();
|
||||||
|
picturePowerMode = new PictureBox();
|
||||||
|
labelPowerModeTitle = new Label();
|
||||||
panelGPU = new Panel();
|
panelGPU = new Panel();
|
||||||
panelGPUTemp = new Panel();
|
panelGPUTemp = new Panel();
|
||||||
labelGPUTemp = new Label();
|
labelGPUTemp = new Label();
|
||||||
@@ -131,6 +136,10 @@ namespace GHelper
|
|||||||
buttonAdvanced = new RButton();
|
buttonAdvanced = new RButton();
|
||||||
buttonGPU = new RButton();
|
buttonGPU = new RButton();
|
||||||
buttonCPU = new RButton();
|
buttonCPU = new RButton();
|
||||||
|
panelGPUClockLimit = new Panel();
|
||||||
|
labelGPUClockLimit = new Label();
|
||||||
|
trackGPUClockLimit = new TrackBar();
|
||||||
|
labelGPUClockLimitTitle = new Label();
|
||||||
panelFans.SuspendLayout();
|
panelFans.SuspendLayout();
|
||||||
tableFanCharts.SuspendLayout();
|
tableFanCharts.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)chartGPU).BeginInit();
|
((System.ComponentModel.ISupportInitialize)chartGPU).BeginInit();
|
||||||
@@ -167,6 +176,9 @@ namespace GHelper
|
|||||||
panelBoost.SuspendLayout();
|
panelBoost.SuspendLayout();
|
||||||
panelBoostTitle.SuspendLayout();
|
panelBoostTitle.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureBoost).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureBoost).BeginInit();
|
||||||
|
panelPowerMode.SuspendLayout();
|
||||||
|
panelPowerModeTItle.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)picturePowerMode).BeginInit();
|
||||||
panelGPU.SuspendLayout();
|
panelGPU.SuspendLayout();
|
||||||
panelGPUTemp.SuspendLayout();
|
panelGPUTemp.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)trackGPUTemp).BeginInit();
|
((System.ComponentModel.ISupportInitialize)trackGPUTemp).BeginInit();
|
||||||
@@ -180,6 +192,8 @@ namespace GHelper
|
|||||||
((System.ComponentModel.ISupportInitialize)pictureGPU).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureGPU).BeginInit();
|
||||||
panelNav.SuspendLayout();
|
panelNav.SuspendLayout();
|
||||||
tableNav.SuspendLayout();
|
tableNav.SuspendLayout();
|
||||||
|
panelGPUClockLimit.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)trackGPUClockLimit).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// panelFans
|
// panelFans
|
||||||
@@ -236,8 +250,8 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// chartGPU
|
// chartGPU
|
||||||
//
|
//
|
||||||
chartArea1.Name = "ChartArea1";
|
chartArea9.Name = "ChartArea1";
|
||||||
chartGPU.ChartAreas.Add(chartArea1);
|
chartGPU.ChartAreas.Add(chartArea9);
|
||||||
chartGPU.Dock = DockStyle.Fill;
|
chartGPU.Dock = DockStyle.Fill;
|
||||||
chartGPU.Location = new Point(12, 491);
|
chartGPU.Location = new Point(12, 491);
|
||||||
chartGPU.Margin = new Padding(2, 10, 2, 10);
|
chartGPU.Margin = new Padding(2, 10, 2, 10);
|
||||||
@@ -245,13 +259,13 @@ namespace GHelper
|
|||||||
chartGPU.Size = new Size(782, 461);
|
chartGPU.Size = new Size(782, 461);
|
||||||
chartGPU.TabIndex = 17;
|
chartGPU.TabIndex = 17;
|
||||||
chartGPU.Text = "chartGPU";
|
chartGPU.Text = "chartGPU";
|
||||||
title1.Name = "Title1";
|
title9.Name = "Title1";
|
||||||
chartGPU.Titles.Add(title1);
|
chartGPU.Titles.Add(title9);
|
||||||
//
|
//
|
||||||
// chartCPU
|
// chartCPU
|
||||||
//
|
//
|
||||||
chartArea2.Name = "ChartArea1";
|
chartArea10.Name = "ChartArea1";
|
||||||
chartCPU.ChartAreas.Add(chartArea2);
|
chartCPU.ChartAreas.Add(chartArea10);
|
||||||
chartCPU.Dock = DockStyle.Fill;
|
chartCPU.Dock = DockStyle.Fill;
|
||||||
chartCPU.Location = new Point(12, 10);
|
chartCPU.Location = new Point(12, 10);
|
||||||
chartCPU.Margin = new Padding(2, 10, 2, 10);
|
chartCPU.Margin = new Padding(2, 10, 2, 10);
|
||||||
@@ -259,13 +273,13 @@ namespace GHelper
|
|||||||
chartCPU.Size = new Size(782, 461);
|
chartCPU.Size = new Size(782, 461);
|
||||||
chartCPU.TabIndex = 14;
|
chartCPU.TabIndex = 14;
|
||||||
chartCPU.Text = "chartCPU";
|
chartCPU.Text = "chartCPU";
|
||||||
title2.Name = "Title1";
|
title10.Name = "Title1";
|
||||||
chartCPU.Titles.Add(title2);
|
chartCPU.Titles.Add(title10);
|
||||||
//
|
//
|
||||||
// chartXGM
|
// chartXGM
|
||||||
//
|
//
|
||||||
chartArea3.Name = "ChartAreaXGM";
|
chartArea11.Name = "ChartAreaXGM";
|
||||||
chartXGM.ChartAreas.Add(chartArea3);
|
chartXGM.ChartAreas.Add(chartArea11);
|
||||||
chartXGM.Dock = DockStyle.Fill;
|
chartXGM.Dock = DockStyle.Fill;
|
||||||
chartXGM.Location = new Point(12, 1453);
|
chartXGM.Location = new Point(12, 1453);
|
||||||
chartXGM.Margin = new Padding(2, 10, 2, 10);
|
chartXGM.Margin = new Padding(2, 10, 2, 10);
|
||||||
@@ -273,14 +287,14 @@ namespace GHelper
|
|||||||
chartXGM.Size = new Size(782, 464);
|
chartXGM.Size = new Size(782, 464);
|
||||||
chartXGM.TabIndex = 14;
|
chartXGM.TabIndex = 14;
|
||||||
chartXGM.Text = "chartXGM";
|
chartXGM.Text = "chartXGM";
|
||||||
title3.Name = "Title4";
|
title11.Name = "Title4";
|
||||||
chartXGM.Titles.Add(title3);
|
chartXGM.Titles.Add(title11);
|
||||||
chartXGM.Visible = false;
|
chartXGM.Visible = false;
|
||||||
//
|
//
|
||||||
// chartMid
|
// chartMid
|
||||||
//
|
//
|
||||||
chartArea4.Name = "ChartArea3";
|
chartArea12.Name = "ChartArea3";
|
||||||
chartMid.ChartAreas.Add(chartArea4);
|
chartMid.ChartAreas.Add(chartArea12);
|
||||||
chartMid.Dock = DockStyle.Fill;
|
chartMid.Dock = DockStyle.Fill;
|
||||||
chartMid.Location = new Point(12, 972);
|
chartMid.Location = new Point(12, 972);
|
||||||
chartMid.Margin = new Padding(2, 10, 2, 10);
|
chartMid.Margin = new Padding(2, 10, 2, 10);
|
||||||
@@ -288,8 +302,8 @@ namespace GHelper
|
|||||||
chartMid.Size = new Size(782, 461);
|
chartMid.Size = new Size(782, 461);
|
||||||
chartMid.TabIndex = 14;
|
chartMid.TabIndex = 14;
|
||||||
chartMid.Text = "chartMid";
|
chartMid.Text = "chartMid";
|
||||||
title4.Name = "Title3";
|
title12.Name = "Title3";
|
||||||
chartMid.Titles.Add(title4);
|
chartMid.Titles.Add(title12);
|
||||||
chartMid.Visible = false;
|
chartMid.Visible = false;
|
||||||
//
|
//
|
||||||
// panelTitleFans
|
// panelTitleFans
|
||||||
@@ -491,7 +505,7 @@ namespace GHelper
|
|||||||
panelAdvanced.Controls.Add(panelTemperature);
|
panelAdvanced.Controls.Add(panelTemperature);
|
||||||
panelAdvanced.Controls.Add(panelTitleTemp);
|
panelAdvanced.Controls.Add(panelTitleTemp);
|
||||||
panelAdvanced.Dock = DockStyle.Top;
|
panelAdvanced.Dock = DockStyle.Top;
|
||||||
panelAdvanced.Location = new Point(10, 1272);
|
panelAdvanced.Location = new Point(10, 1520);
|
||||||
panelAdvanced.Name = "panelAdvanced";
|
panelAdvanced.Name = "panelAdvanced";
|
||||||
panelAdvanced.Size = new Size(520, 888);
|
panelAdvanced.Size = new Size(520, 888);
|
||||||
panelAdvanced.TabIndex = 14;
|
panelAdvanced.TabIndex = 14;
|
||||||
@@ -786,11 +800,13 @@ namespace GHelper
|
|||||||
panelPower.Controls.Add(panelTitleCPU);
|
panelPower.Controls.Add(panelTitleCPU);
|
||||||
panelPower.Controls.Add(panelBoost);
|
panelPower.Controls.Add(panelBoost);
|
||||||
panelPower.Controls.Add(panelBoostTitle);
|
panelPower.Controls.Add(panelBoostTitle);
|
||||||
|
panelPower.Controls.Add(panelPowerMode);
|
||||||
|
panelPower.Controls.Add(panelPowerModeTItle);
|
||||||
panelPower.Dock = DockStyle.Top;
|
panelPower.Dock = DockStyle.Top;
|
||||||
panelPower.Location = new Point(10, 640);
|
panelPower.Location = new Point(10, 764);
|
||||||
panelPower.Margin = new Padding(4);
|
panelPower.Margin = new Padding(4);
|
||||||
panelPower.Name = "panelPower";
|
panelPower.Name = "panelPower";
|
||||||
panelPower.Size = new Size(520, 632);
|
panelPower.Size = new Size(520, 756);
|
||||||
panelPower.TabIndex = 43;
|
panelPower.TabIndex = 43;
|
||||||
//
|
//
|
||||||
// panelApplyPower
|
// panelApplyPower
|
||||||
@@ -798,7 +814,7 @@ namespace GHelper
|
|||||||
panelApplyPower.AutoSize = true;
|
panelApplyPower.AutoSize = true;
|
||||||
panelApplyPower.Controls.Add(checkApplyPower);
|
panelApplyPower.Controls.Add(checkApplyPower);
|
||||||
panelApplyPower.Dock = DockStyle.Top;
|
panelApplyPower.Dock = DockStyle.Top;
|
||||||
panelApplyPower.Location = new Point(0, 556);
|
panelApplyPower.Location = new Point(0, 680);
|
||||||
panelApplyPower.Name = "panelApplyPower";
|
panelApplyPower.Name = "panelApplyPower";
|
||||||
panelApplyPower.Padding = new Padding(15);
|
panelApplyPower.Padding = new Padding(15);
|
||||||
panelApplyPower.Size = new Size(520, 76);
|
panelApplyPower.Size = new Size(520, 76);
|
||||||
@@ -825,7 +841,7 @@ namespace GHelper
|
|||||||
panelB0.Controls.Add(labelLeftB0);
|
panelB0.Controls.Add(labelLeftB0);
|
||||||
panelB0.Controls.Add(trackB0);
|
panelB0.Controls.Add(trackB0);
|
||||||
panelB0.Dock = DockStyle.Top;
|
panelB0.Dock = DockStyle.Top;
|
||||||
panelB0.Location = new Point(0, 432);
|
panelB0.Location = new Point(0, 556);
|
||||||
panelB0.Margin = new Padding(4);
|
panelB0.Margin = new Padding(4);
|
||||||
panelB0.MaximumSize = new Size(0, 124);
|
panelB0.MaximumSize = new Size(0, 124);
|
||||||
panelB0.Name = "panelB0";
|
panelB0.Name = "panelB0";
|
||||||
@@ -874,7 +890,7 @@ namespace GHelper
|
|||||||
panelC1.Controls.Add(labelLeftC1);
|
panelC1.Controls.Add(labelLeftC1);
|
||||||
panelC1.Controls.Add(trackC1);
|
panelC1.Controls.Add(trackC1);
|
||||||
panelC1.Dock = DockStyle.Top;
|
panelC1.Dock = DockStyle.Top;
|
||||||
panelC1.Location = new Point(0, 308);
|
panelC1.Location = new Point(0, 432);
|
||||||
panelC1.Margin = new Padding(4);
|
panelC1.Margin = new Padding(4);
|
||||||
panelC1.MaximumSize = new Size(0, 124);
|
panelC1.MaximumSize = new Size(0, 124);
|
||||||
panelC1.Name = "panelC1";
|
panelC1.Name = "panelC1";
|
||||||
@@ -923,7 +939,7 @@ namespace GHelper
|
|||||||
panelA0.Controls.Add(labelLeftA0);
|
panelA0.Controls.Add(labelLeftA0);
|
||||||
panelA0.Controls.Add(trackA0);
|
panelA0.Controls.Add(trackA0);
|
||||||
panelA0.Dock = DockStyle.Top;
|
panelA0.Dock = DockStyle.Top;
|
||||||
panelA0.Location = new Point(0, 184);
|
panelA0.Location = new Point(0, 308);
|
||||||
panelA0.Margin = new Padding(4);
|
panelA0.Margin = new Padding(4);
|
||||||
panelA0.MaximumSize = new Size(0, 124);
|
panelA0.MaximumSize = new Size(0, 124);
|
||||||
panelA0.Name = "panelA0";
|
panelA0.Name = "panelA0";
|
||||||
@@ -971,7 +987,7 @@ namespace GHelper
|
|||||||
panelTitleCPU.Controls.Add(pictureBoxCPU);
|
panelTitleCPU.Controls.Add(pictureBoxCPU);
|
||||||
panelTitleCPU.Controls.Add(labelPowerLimits);
|
panelTitleCPU.Controls.Add(labelPowerLimits);
|
||||||
panelTitleCPU.Dock = DockStyle.Top;
|
panelTitleCPU.Dock = DockStyle.Top;
|
||||||
panelTitleCPU.Location = new Point(0, 124);
|
panelTitleCPU.Location = new Point(0, 248);
|
||||||
panelTitleCPU.Margin = new Padding(4);
|
panelTitleCPU.Margin = new Padding(4);
|
||||||
panelTitleCPU.Name = "panelTitleCPU";
|
panelTitleCPU.Name = "panelTitleCPU";
|
||||||
panelTitleCPU.Size = new Size(520, 60);
|
panelTitleCPU.Size = new Size(520, 60);
|
||||||
@@ -1004,7 +1020,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
panelBoost.Controls.Add(comboBoost);
|
panelBoost.Controls.Add(comboBoost);
|
||||||
panelBoost.Dock = DockStyle.Top;
|
panelBoost.Dock = DockStyle.Top;
|
||||||
panelBoost.Location = new Point(0, 60);
|
panelBoost.Location = new Point(0, 184);
|
||||||
panelBoost.Margin = new Padding(4);
|
panelBoost.Margin = new Padding(4);
|
||||||
panelBoost.Name = "panelBoost";
|
panelBoost.Name = "panelBoost";
|
||||||
panelBoost.Size = new Size(520, 64);
|
panelBoost.Size = new Size(520, 64);
|
||||||
@@ -1017,7 +1033,7 @@ namespace GHelper
|
|||||||
panelBoostTitle.Controls.Add(pictureBoost);
|
panelBoostTitle.Controls.Add(pictureBoost);
|
||||||
panelBoostTitle.Controls.Add(labelBoost);
|
panelBoostTitle.Controls.Add(labelBoost);
|
||||||
panelBoostTitle.Dock = DockStyle.Top;
|
panelBoostTitle.Dock = DockStyle.Top;
|
||||||
panelBoostTitle.Location = new Point(0, 0);
|
panelBoostTitle.Location = new Point(0, 124);
|
||||||
panelBoostTitle.Margin = new Padding(4);
|
panelBoostTitle.Margin = new Padding(4);
|
||||||
panelBoostTitle.Name = "panelBoostTitle";
|
panelBoostTitle.Name = "panelBoostTitle";
|
||||||
panelBoostTitle.Size = new Size(520, 60);
|
panelBoostTitle.Size = new Size(520, 60);
|
||||||
@@ -1046,6 +1062,66 @@ namespace GHelper
|
|||||||
labelBoost.TabIndex = 39;
|
labelBoost.TabIndex = 39;
|
||||||
labelBoost.Text = "CPU Boost";
|
labelBoost.Text = "CPU Boost";
|
||||||
//
|
//
|
||||||
|
// panelPowerMode
|
||||||
|
//
|
||||||
|
panelPowerMode.Controls.Add(comboPowerMode);
|
||||||
|
panelPowerMode.Dock = DockStyle.Top;
|
||||||
|
panelPowerMode.Location = new Point(0, 60);
|
||||||
|
panelPowerMode.Margin = new Padding(4);
|
||||||
|
panelPowerMode.Name = "panelPowerMode";
|
||||||
|
panelPowerMode.Size = new Size(520, 64);
|
||||||
|
panelPowerMode.TabIndex = 49;
|
||||||
|
//
|
||||||
|
// comboPowerMode
|
||||||
|
//
|
||||||
|
comboPowerMode.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
comboPowerMode.BorderColor = Color.White;
|
||||||
|
comboPowerMode.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboPowerMode.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
|
comboPowerMode.FormattingEnabled = true;
|
||||||
|
comboPowerMode.Items.AddRange(new object[] { "Disabled", "Enabled", "Aggressive", "Efficient Enabled", "Efficient Aggressive", "Aggressive at Guaranteed", "Efficient at Guaranteed" });
|
||||||
|
comboPowerMode.Location = new Point(13, 12);
|
||||||
|
comboPowerMode.Margin = new Padding(4);
|
||||||
|
comboPowerMode.Name = "comboPowerMode";
|
||||||
|
comboPowerMode.Size = new Size(329, 40);
|
||||||
|
comboPowerMode.TabIndex = 42;
|
||||||
|
//
|
||||||
|
// panelPowerModeTItle
|
||||||
|
//
|
||||||
|
panelPowerModeTItle.AutoSize = true;
|
||||||
|
panelPowerModeTItle.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
|
panelPowerModeTItle.Controls.Add(picturePowerMode);
|
||||||
|
panelPowerModeTItle.Controls.Add(labelPowerModeTitle);
|
||||||
|
panelPowerModeTItle.Dock = DockStyle.Top;
|
||||||
|
panelPowerModeTItle.Location = new Point(0, 0);
|
||||||
|
panelPowerModeTItle.Margin = new Padding(4);
|
||||||
|
panelPowerModeTItle.Name = "panelPowerModeTItle";
|
||||||
|
panelPowerModeTItle.Size = new Size(520, 60);
|
||||||
|
panelPowerModeTItle.TabIndex = 50;
|
||||||
|
//
|
||||||
|
// picturePowerMode
|
||||||
|
//
|
||||||
|
picturePowerMode.BackgroundImage = Properties.Resources.icons8_gauge_32;
|
||||||
|
picturePowerMode.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
|
picturePowerMode.InitialImage = null;
|
||||||
|
picturePowerMode.Location = new Point(10, 18);
|
||||||
|
picturePowerMode.Margin = new Padding(4, 2, 4, 10);
|
||||||
|
picturePowerMode.Name = "picturePowerMode";
|
||||||
|
picturePowerMode.Size = new Size(32, 32);
|
||||||
|
picturePowerMode.TabIndex = 40;
|
||||||
|
picturePowerMode.TabStop = false;
|
||||||
|
//
|
||||||
|
// labelPowerModeTitle
|
||||||
|
//
|
||||||
|
labelPowerModeTitle.AutoSize = true;
|
||||||
|
labelPowerModeTitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
|
labelPowerModeTitle.Location = new Point(46, 18);
|
||||||
|
labelPowerModeTitle.Margin = new Padding(4, 0, 4, 0);
|
||||||
|
labelPowerModeTitle.Name = "labelPowerModeTitle";
|
||||||
|
labelPowerModeTitle.Size = new Size(271, 32);
|
||||||
|
labelPowerModeTitle.TabIndex = 39;
|
||||||
|
labelPowerModeTitle.Text = "Windows Power Mode";
|
||||||
|
//
|
||||||
// panelGPU
|
// panelGPU
|
||||||
//
|
//
|
||||||
panelGPU.AutoSize = true;
|
panelGPU.AutoSize = true;
|
||||||
@@ -1053,13 +1129,14 @@ namespace GHelper
|
|||||||
panelGPU.Controls.Add(panelGPUBoost);
|
panelGPU.Controls.Add(panelGPUBoost);
|
||||||
panelGPU.Controls.Add(panelGPUMemory);
|
panelGPU.Controls.Add(panelGPUMemory);
|
||||||
panelGPU.Controls.Add(panelGPUCore);
|
panelGPU.Controls.Add(panelGPUCore);
|
||||||
|
panelGPU.Controls.Add(panelGPUClockLimit);
|
||||||
panelGPU.Controls.Add(panelTitleGPU);
|
panelGPU.Controls.Add(panelTitleGPU);
|
||||||
panelGPU.Dock = DockStyle.Top;
|
panelGPU.Dock = DockStyle.Top;
|
||||||
panelGPU.Location = new Point(10, 66);
|
panelGPU.Location = new Point(10, 66);
|
||||||
panelGPU.Margin = new Padding(4);
|
panelGPU.Margin = new Padding(4);
|
||||||
panelGPU.Name = "panelGPU";
|
panelGPU.Name = "panelGPU";
|
||||||
panelGPU.Padding = new Padding(0, 0, 0, 18);
|
panelGPU.Padding = new Padding(0, 0, 0, 18);
|
||||||
panelGPU.Size = new Size(520, 574);
|
panelGPU.Size = new Size(520, 698);
|
||||||
panelGPU.TabIndex = 44;
|
panelGPU.TabIndex = 44;
|
||||||
panelGPU.Visible = false;
|
panelGPU.Visible = false;
|
||||||
//
|
//
|
||||||
@@ -1071,7 +1148,7 @@ namespace GHelper
|
|||||||
panelGPUTemp.Controls.Add(labelGPUTempTitle);
|
panelGPUTemp.Controls.Add(labelGPUTempTitle);
|
||||||
panelGPUTemp.Controls.Add(trackGPUTemp);
|
panelGPUTemp.Controls.Add(trackGPUTemp);
|
||||||
panelGPUTemp.Dock = DockStyle.Top;
|
panelGPUTemp.Dock = DockStyle.Top;
|
||||||
panelGPUTemp.Location = new Point(0, 432);
|
panelGPUTemp.Location = new Point(0, 556);
|
||||||
panelGPUTemp.Margin = new Padding(4);
|
panelGPUTemp.Margin = new Padding(4);
|
||||||
panelGPUTemp.MaximumSize = new Size(0, 124);
|
panelGPUTemp.MaximumSize = new Size(0, 124);
|
||||||
panelGPUTemp.Name = "panelGPUTemp";
|
panelGPUTemp.Name = "panelGPUTemp";
|
||||||
@@ -1120,7 +1197,7 @@ namespace GHelper
|
|||||||
panelGPUBoost.Controls.Add(labelGPUBoostTitle);
|
panelGPUBoost.Controls.Add(labelGPUBoostTitle);
|
||||||
panelGPUBoost.Controls.Add(trackGPUBoost);
|
panelGPUBoost.Controls.Add(trackGPUBoost);
|
||||||
panelGPUBoost.Dock = DockStyle.Top;
|
panelGPUBoost.Dock = DockStyle.Top;
|
||||||
panelGPUBoost.Location = new Point(0, 308);
|
panelGPUBoost.Location = new Point(0, 432);
|
||||||
panelGPUBoost.Margin = new Padding(4);
|
panelGPUBoost.Margin = new Padding(4);
|
||||||
panelGPUBoost.MaximumSize = new Size(0, 124);
|
panelGPUBoost.MaximumSize = new Size(0, 124);
|
||||||
panelGPUBoost.Name = "panelGPUBoost";
|
panelGPUBoost.Name = "panelGPUBoost";
|
||||||
@@ -1169,7 +1246,7 @@ namespace GHelper
|
|||||||
panelGPUMemory.Controls.Add(labelGPUMemoryTitle);
|
panelGPUMemory.Controls.Add(labelGPUMemoryTitle);
|
||||||
panelGPUMemory.Controls.Add(trackGPUMemory);
|
panelGPUMemory.Controls.Add(trackGPUMemory);
|
||||||
panelGPUMemory.Dock = DockStyle.Top;
|
panelGPUMemory.Dock = DockStyle.Top;
|
||||||
panelGPUMemory.Location = new Point(0, 184);
|
panelGPUMemory.Location = new Point(0, 308);
|
||||||
panelGPUMemory.Margin = new Padding(4);
|
panelGPUMemory.Margin = new Padding(4);
|
||||||
panelGPUMemory.MaximumSize = new Size(0, 124);
|
panelGPUMemory.MaximumSize = new Size(0, 124);
|
||||||
panelGPUMemory.Name = "panelGPUMemory";
|
panelGPUMemory.Name = "panelGPUMemory";
|
||||||
@@ -1218,7 +1295,7 @@ namespace GHelper
|
|||||||
panelGPUCore.Controls.Add(trackGPUCore);
|
panelGPUCore.Controls.Add(trackGPUCore);
|
||||||
panelGPUCore.Controls.Add(labelGPUCoreTitle);
|
panelGPUCore.Controls.Add(labelGPUCoreTitle);
|
||||||
panelGPUCore.Dock = DockStyle.Top;
|
panelGPUCore.Dock = DockStyle.Top;
|
||||||
panelGPUCore.Location = new Point(0, 60);
|
panelGPUCore.Location = new Point(0, 184);
|
||||||
panelGPUCore.Margin = new Padding(4);
|
panelGPUCore.Margin = new Padding(4);
|
||||||
panelGPUCore.MaximumSize = new Size(0, 124);
|
panelGPUCore.MaximumSize = new Size(0, 124);
|
||||||
panelGPUCore.Name = "panelGPUCore";
|
panelGPUCore.Name = "panelGPUCore";
|
||||||
@@ -1382,6 +1459,56 @@ namespace GHelper
|
|||||||
buttonCPU.TextImageRelation = TextImageRelation.ImageBeforeText;
|
buttonCPU.TextImageRelation = TextImageRelation.ImageBeforeText;
|
||||||
buttonCPU.UseVisualStyleBackColor = false;
|
buttonCPU.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
|
// panelGPUClockLimit
|
||||||
|
//
|
||||||
|
panelGPUClockLimit.AutoSize = true;
|
||||||
|
panelGPUClockLimit.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
|
panelGPUClockLimit.Controls.Add(labelGPUClockLimit);
|
||||||
|
panelGPUClockLimit.Controls.Add(trackGPUClockLimit);
|
||||||
|
panelGPUClockLimit.Controls.Add(labelGPUClockLimitTitle);
|
||||||
|
panelGPUClockLimit.Dock = DockStyle.Top;
|
||||||
|
panelGPUClockLimit.Location = new Point(0, 60);
|
||||||
|
panelGPUClockLimit.Margin = new Padding(4);
|
||||||
|
panelGPUClockLimit.MaximumSize = new Size(0, 124);
|
||||||
|
panelGPUClockLimit.Name = "panelGPUClockLimit";
|
||||||
|
panelGPUClockLimit.Size = new Size(520, 124);
|
||||||
|
panelGPUClockLimit.TabIndex = 48;
|
||||||
|
//
|
||||||
|
// labelGPUClockLimit
|
||||||
|
//
|
||||||
|
labelGPUClockLimit.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
|
labelGPUClockLimit.Location = new Point(326, 16);
|
||||||
|
labelGPUClockLimit.Margin = new Padding(4, 0, 4, 0);
|
||||||
|
labelGPUClockLimit.Name = "labelGPUClockLimit";
|
||||||
|
labelGPUClockLimit.Size = new Size(176, 32);
|
||||||
|
labelGPUClockLimit.TabIndex = 29;
|
||||||
|
labelGPUClockLimit.Text = "1500 MHz";
|
||||||
|
labelGPUClockLimit.TextAlign = ContentAlignment.TopRight;
|
||||||
|
//
|
||||||
|
// trackGPUClockLimit
|
||||||
|
//
|
||||||
|
trackGPUClockLimit.LargeChange = 100;
|
||||||
|
trackGPUClockLimit.Location = new Point(6, 48);
|
||||||
|
trackGPUClockLimit.Margin = new Padding(4, 2, 4, 2);
|
||||||
|
trackGPUClockLimit.Maximum = 3000;
|
||||||
|
trackGPUClockLimit.Name = "trackGPUClockLimit";
|
||||||
|
trackGPUClockLimit.RightToLeft = RightToLeft.No;
|
||||||
|
trackGPUClockLimit.Size = new Size(496, 90);
|
||||||
|
trackGPUClockLimit.SmallChange = 10;
|
||||||
|
trackGPUClockLimit.TabIndex = 18;
|
||||||
|
trackGPUClockLimit.TickFrequency = 50;
|
||||||
|
trackGPUClockLimit.TickStyle = TickStyle.TopLeft;
|
||||||
|
//
|
||||||
|
// labelGPUClockLimitTitle
|
||||||
|
//
|
||||||
|
labelGPUClockLimitTitle.AutoSize = true;
|
||||||
|
labelGPUClockLimitTitle.Location = new Point(10, 16);
|
||||||
|
labelGPUClockLimitTitle.Margin = new Padding(4, 0, 4, 0);
|
||||||
|
labelGPUClockLimitTitle.Name = "labelGPUClockLimitTitle";
|
||||||
|
labelGPUClockLimitTitle.Size = new Size(188, 32);
|
||||||
|
labelGPUClockLimitTitle.TabIndex = 17;
|
||||||
|
labelGPUClockLimitTitle.Text = "Core Clock Limit";
|
||||||
|
//
|
||||||
// Fans
|
// Fans
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(192F, 192F);
|
AutoScaleDimensions = new SizeF(192F, 192F);
|
||||||
@@ -1452,6 +1579,10 @@ namespace GHelper
|
|||||||
panelBoostTitle.ResumeLayout(false);
|
panelBoostTitle.ResumeLayout(false);
|
||||||
panelBoostTitle.PerformLayout();
|
panelBoostTitle.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureBoost).EndInit();
|
((System.ComponentModel.ISupportInitialize)pictureBoost).EndInit();
|
||||||
|
panelPowerMode.ResumeLayout(false);
|
||||||
|
panelPowerModeTItle.ResumeLayout(false);
|
||||||
|
panelPowerModeTItle.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)picturePowerMode).EndInit();
|
||||||
panelGPU.ResumeLayout(false);
|
panelGPU.ResumeLayout(false);
|
||||||
panelGPU.PerformLayout();
|
panelGPU.PerformLayout();
|
||||||
panelGPUTemp.ResumeLayout(false);
|
panelGPUTemp.ResumeLayout(false);
|
||||||
@@ -1471,6 +1602,9 @@ namespace GHelper
|
|||||||
((System.ComponentModel.ISupportInitialize)pictureGPU).EndInit();
|
((System.ComponentModel.ISupportInitialize)pictureGPU).EndInit();
|
||||||
panelNav.ResumeLayout(false);
|
panelNav.ResumeLayout(false);
|
||||||
tableNav.ResumeLayout(false);
|
tableNav.ResumeLayout(false);
|
||||||
|
panelGPUClockLimit.ResumeLayout(false);
|
||||||
|
panelGPUClockLimit.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)trackGPUClockLimit).EndInit();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
@@ -1568,5 +1702,14 @@ namespace GHelper
|
|||||||
private TrackBar trackTemp;
|
private TrackBar trackTemp;
|
||||||
private Panel panelAdvancedAlways;
|
private Panel panelAdvancedAlways;
|
||||||
private RCheckBox checkApplyUV;
|
private RCheckBox checkApplyUV;
|
||||||
|
private Panel panelPowerMode;
|
||||||
|
private RComboBox comboPowerMode;
|
||||||
|
private Panel panelPowerModeTItle;
|
||||||
|
private PictureBox picturePowerMode;
|
||||||
|
private Label labelPowerModeTitle;
|
||||||
|
private Panel panelGPUClockLimit;
|
||||||
|
private Label labelGPUClockLimit;
|
||||||
|
private TrackBar trackGPUClockLimit;
|
||||||
|
private Label labelGPUClockLimitTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
67
app/Fans.cs
67
app/Fans.cs
@@ -109,6 +109,9 @@ namespace GHelper
|
|||||||
checkApplyFans.Click += CheckApplyFans_Click;
|
checkApplyFans.Click += CheckApplyFans_Click;
|
||||||
checkApplyPower.Click += CheckApplyPower_Click;
|
checkApplyPower.Click += CheckApplyPower_Click;
|
||||||
|
|
||||||
|
trackGPUClockLimit.Minimum = NvidiaGpuControl.MinClockLimit;
|
||||||
|
trackGPUClockLimit.Maximum = NvidiaGpuControl.MaxClockLimit;
|
||||||
|
|
||||||
trackGPUCore.Minimum = NvidiaGpuControl.MinCoreOffset;
|
trackGPUCore.Minimum = NvidiaGpuControl.MinCoreOffset;
|
||||||
trackGPUCore.Maximum = NvidiaGpuControl.MaxCoreOffset;
|
trackGPUCore.Maximum = NvidiaGpuControl.MaxCoreOffset;
|
||||||
|
|
||||||
@@ -121,6 +124,7 @@ namespace GHelper
|
|||||||
trackGPUTemp.Minimum = AsusACPI.MinGPUTemp;
|
trackGPUTemp.Minimum = AsusACPI.MinGPUTemp;
|
||||||
trackGPUTemp.Maximum = AsusACPI.MaxGPUTemp;
|
trackGPUTemp.Maximum = AsusACPI.MaxGPUTemp;
|
||||||
|
|
||||||
|
trackGPUClockLimit.Scroll += trackGPUClockLimit_Scroll;
|
||||||
trackGPUCore.Scroll += trackGPU_Scroll;
|
trackGPUCore.Scroll += trackGPU_Scroll;
|
||||||
trackGPUMemory.Scroll += trackGPU_Scroll;
|
trackGPUMemory.Scroll += trackGPU_Scroll;
|
||||||
|
|
||||||
@@ -131,6 +135,7 @@ namespace GHelper
|
|||||||
trackGPUMemory.MouseUp += TrackGPU_MouseUp;
|
trackGPUMemory.MouseUp += TrackGPU_MouseUp;
|
||||||
trackGPUBoost.MouseUp += TrackGPU_MouseUp;
|
trackGPUBoost.MouseUp += TrackGPU_MouseUp;
|
||||||
trackGPUTemp.MouseUp += TrackGPU_MouseUp;
|
trackGPUTemp.MouseUp += TrackGPU_MouseUp;
|
||||||
|
trackGPUClockLimit.MouseUp += TrackGPU_MouseUp;
|
||||||
|
|
||||||
//labelInfo.MaximumSize = new Size(280, 0);
|
//labelInfo.MaximumSize = new Size(280, 0);
|
||||||
labelFansResult.Visible = false;
|
labelFansResult.Visible = false;
|
||||||
@@ -145,11 +150,17 @@ namespace GHelper
|
|||||||
trackTemp.Minimum = RyzenControl.MinTemp;
|
trackTemp.Minimum = RyzenControl.MinTemp;
|
||||||
trackTemp.Maximum = RyzenControl.MaxTemp;
|
trackTemp.Maximum = RyzenControl.MaxTemp;
|
||||||
|
|
||||||
|
comboPowerMode.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
|
comboPowerMode.DataSource = new BindingSource(PowerNative.powerModes, null);
|
||||||
|
comboPowerMode.DisplayMember = "Value";
|
||||||
|
comboPowerMode.ValueMember = "Key";
|
||||||
|
|
||||||
FillModes();
|
FillModes();
|
||||||
InitAll();
|
InitAll();
|
||||||
|
|
||||||
comboBoost.SelectedValueChanged += ComboBoost_Changed;
|
comboBoost.SelectedValueChanged += ComboBoost_Changed;
|
||||||
|
comboPowerMode.SelectedValueChanged += ComboPowerMode_Changed;
|
||||||
|
|
||||||
|
|
||||||
comboModes.SelectionChangeCommitted += ComboModes_SelectedValueChanged;
|
comboModes.SelectionChangeCommitted += ComboModes_SelectedValueChanged;
|
||||||
comboModes.TextChanged += ComboModes_TextChanged;
|
comboModes.TextChanged += ComboModes_TextChanged;
|
||||||
@@ -201,7 +212,7 @@ namespace GHelper
|
|||||||
InitMode();
|
InitMode();
|
||||||
InitFans();
|
InitFans();
|
||||||
InitPower();
|
InitPower();
|
||||||
InitBoost();
|
InitPowerPlan();
|
||||||
InitUV();
|
InitUV();
|
||||||
InitGPU();
|
InitGPU();
|
||||||
}
|
}
|
||||||
@@ -429,24 +440,29 @@ namespace GHelper
|
|||||||
|
|
||||||
int gpu_boost = AppConfig.GetMode("gpu_boost");
|
int gpu_boost = AppConfig.GetMode("gpu_boost");
|
||||||
int gpu_temp = AppConfig.GetMode("gpu_temp");
|
int gpu_temp = AppConfig.GetMode("gpu_temp");
|
||||||
|
|
||||||
int core = AppConfig.GetMode("gpu_core");
|
int core = AppConfig.GetMode("gpu_core");
|
||||||
int memory = AppConfig.GetMode("gpu_memory");
|
int memory = AppConfig.GetMode("gpu_memory");
|
||||||
|
int clock_limit = AppConfig.GetMode("gpu_clock_limit");
|
||||||
|
|
||||||
if (gpu_boost < 0) gpu_boost = AsusACPI.MaxGPUBoost;
|
if (gpu_boost < 0) gpu_boost = AsusACPI.MaxGPUBoost;
|
||||||
if (gpu_temp < 0) gpu_temp = AsusACPI.MaxGPUTemp;
|
if (gpu_temp < 0) gpu_temp = AsusACPI.MaxGPUTemp;
|
||||||
|
|
||||||
if (core == -1) core = 0;
|
if (core == -1) core = 0;
|
||||||
if (memory == -1) memory = 0;
|
if (memory == -1) memory = 0;
|
||||||
|
if (clock_limit == -1) clock_limit = NvidiaGpuControl.MaxClockLimit;
|
||||||
|
|
||||||
//if (readClocks)
|
if (nvControl.GetClocks(out int current_core, out int current_memory))
|
||||||
//{
|
|
||||||
int status = nvControl.GetClocks(out int current_core, out int current_memory);
|
|
||||||
if (status != -1)
|
|
||||||
{
|
{
|
||||||
core = current_core;
|
core = current_core;
|
||||||
memory = current_memory;
|
memory = current_memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int _clockLimit = nvControl.GetMaxGPUCLock();
|
||||||
|
|
||||||
|
if (_clockLimit == 0) clock_limit = NvidiaGpuControl.MaxClockLimit;
|
||||||
|
else if (_clockLimit > 0) clock_limit = _clockLimit;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
labelGPU.Text = nvControl.FullName;
|
labelGPU.Text = nvControl.FullName;
|
||||||
@@ -457,6 +473,7 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
//}
|
//}
|
||||||
|
trackGPUClockLimit.Value = Math.Max(Math.Min(clock_limit, NvidiaGpuControl.MaxClockLimit), NvidiaGpuControl.MinClockLimit);
|
||||||
|
|
||||||
trackGPUCore.Value = Math.Max(Math.Min(core, NvidiaGpuControl.MaxCoreOffset), NvidiaGpuControl.MinCoreOffset);
|
trackGPUCore.Value = Math.Max(Math.Min(core, NvidiaGpuControl.MaxCoreOffset), NvidiaGpuControl.MinCoreOffset);
|
||||||
trackGPUMemory.Value = Math.Max(Math.Min(memory, NvidiaGpuControl.MaxMemoryOffset), NvidiaGpuControl.MinMemoryOffset);
|
trackGPUMemory.Value = Math.Max(Math.Min(memory, NvidiaGpuControl.MaxMemoryOffset), NvidiaGpuControl.MinMemoryOffset);
|
||||||
@@ -482,8 +499,24 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
labelGPUCore.Text = $"{trackGPUCore.Value} MHz";
|
labelGPUCore.Text = $"{trackGPUCore.Value} MHz";
|
||||||
labelGPUMemory.Text = $"{trackGPUMemory.Value} MHz";
|
labelGPUMemory.Text = $"{trackGPUMemory.Value} MHz";
|
||||||
|
|
||||||
labelGPUBoost.Text = $"{trackGPUBoost.Value}W";
|
labelGPUBoost.Text = $"{trackGPUBoost.Value}W";
|
||||||
labelGPUTemp.Text = $"{trackGPUTemp.Value}°C";
|
labelGPUTemp.Text = $"{trackGPUTemp.Value}°C";
|
||||||
|
|
||||||
|
if (trackGPUClockLimit.Value >= NvidiaGpuControl.MaxClockLimit)
|
||||||
|
labelGPUClockLimit.Text = "Default";
|
||||||
|
else
|
||||||
|
labelGPUClockLimit.Text = $"{trackGPUClockLimit.Value} MHz";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void trackGPUClockLimit_Scroll(object? sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
int maxClock = (int)Math.Round((float)trackGPUClockLimit.Value / 50) * 50;
|
||||||
|
|
||||||
|
trackGPUClockLimit.Value = maxClock;
|
||||||
|
AppConfig.SetMode("gpu_clock_limit", maxClock);
|
||||||
|
VisualiseGPUSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void trackGPU_Scroll(object? sender, EventArgs e)
|
private void trackGPU_Scroll(object? sender, EventArgs e)
|
||||||
@@ -495,6 +528,7 @@ namespace GHelper
|
|||||||
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
|
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
|
||||||
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);
|
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);
|
||||||
|
|
||||||
|
|
||||||
VisualiseGPUSettings();
|
VisualiseGPUSettings();
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -512,7 +546,7 @@ namespace GHelper
|
|||||||
if (percentage == 0) return "OFF";
|
if (percentage == 0) return "OFF";
|
||||||
|
|
||||||
int Max = MaxRPM;
|
int Max = MaxRPM;
|
||||||
if (device == AsusFan.XGM ) Max = 72;
|
if (device == AsusFan.XGM) Max = 72;
|
||||||
|
|
||||||
return (200 * Math.Round((float)(MinRPM * 100 + (Max - MinRPM) * percentage) / 200)).ToString() + unit;
|
return (200 * Math.Round((float)(MinRPM * 100 + (Max - MinRPM) * percentage) / 200)).ToString() + unit;
|
||||||
}
|
}
|
||||||
@@ -594,11 +628,24 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void InitBoost()
|
public void InitPowerPlan()
|
||||||
{
|
{
|
||||||
int boost = PowerNative.GetCPUBoost();
|
int boost = PowerNative.GetCPUBoost();
|
||||||
if (boost >= 0)
|
if (boost >= 0)
|
||||||
comboBoost.SelectedIndex = Math.Min(boost, comboBoost.Items.Count - 1);
|
comboBoost.SelectedIndex = Math.Min(boost, comboBoost.Items.Count - 1);
|
||||||
|
|
||||||
|
string powerMode = PowerNative.GetPowerMode();
|
||||||
|
comboPowerMode.SelectedValue = powerMode;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ComboPowerMode_Changed(object? sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string powerMode = (string)comboPowerMode.SelectedValue;
|
||||||
|
PowerNative.SetPowerMode(powerMode);
|
||||||
|
|
||||||
|
if (PowerNative.GetDefaultPowerMode(Modes.GetCurrentBase()) != powerMode)
|
||||||
|
AppConfig.SetMode("powermode", powerMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ComboBoost_Changed(object? sender, EventArgs e)
|
private void ComboBoost_Changed(object? sender, EventArgs e)
|
||||||
@@ -871,18 +918,24 @@ namespace GHelper
|
|||||||
|
|
||||||
modeControl.ResetPerformanceMode();
|
modeControl.ResetPerformanceMode();
|
||||||
|
|
||||||
|
InitPowerPlan();
|
||||||
|
|
||||||
if (Program.acpi.IsXGConnected()) AsusUSB.ResetXGM();
|
if (Program.acpi.IsXGConnected()) AsusUSB.ResetXGM();
|
||||||
|
|
||||||
|
|
||||||
if (gpuVisible)
|
if (gpuVisible)
|
||||||
{
|
{
|
||||||
|
trackGPUClockLimit.Value = NvidiaGpuControl.MaxClockLimit;
|
||||||
trackGPUCore.Value = 0;
|
trackGPUCore.Value = 0;
|
||||||
trackGPUMemory.Value = 0;
|
trackGPUMemory.Value = 0;
|
||||||
trackGPUBoost.Value = AsusACPI.MaxGPUBoost;
|
trackGPUBoost.Value = AsusACPI.MaxGPUBoost;
|
||||||
trackGPUTemp.Value = AsusACPI.MaxGPUTemp;
|
trackGPUTemp.Value = AsusACPI.MaxGPUTemp;
|
||||||
|
|
||||||
|
AppConfig.SetMode("gpu_clock_limit", trackGPUClockLimit.Value);
|
||||||
|
|
||||||
AppConfig.SetMode("gpu_boost", trackGPUBoost.Value);
|
AppConfig.SetMode("gpu_boost", trackGPUBoost.Value);
|
||||||
AppConfig.SetMode("gpu_temp", trackGPUTemp.Value);
|
AppConfig.SetMode("gpu_temp", trackGPUTemp.Value);
|
||||||
|
|
||||||
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
|
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
|
||||||
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);
|
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>0.108</AssemblyVersion>
|
<AssemblyVersion>0.110</AssemblyVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ namespace GHelper.Gpu
|
|||||||
SettingsForm settings;
|
SettingsForm settings;
|
||||||
ScreenControl screenControl = new ScreenControl();
|
ScreenControl screenControl = new ScreenControl();
|
||||||
|
|
||||||
|
public static int GpuMode;
|
||||||
|
|
||||||
public GPUModeControl(SettingsForm settingsForm)
|
public GPUModeControl(SettingsForm settingsForm)
|
||||||
{
|
{
|
||||||
settings = settingsForm;
|
settings = settingsForm;
|
||||||
@@ -23,8 +25,6 @@ namespace GHelper.Gpu
|
|||||||
Logger.WriteLine("Eco flag : " + eco);
|
Logger.WriteLine("Eco flag : " + eco);
|
||||||
Logger.WriteLine("Mux flag : " + mux);
|
Logger.WriteLine("Mux flag : " + mux);
|
||||||
|
|
||||||
int GpuMode;
|
|
||||||
|
|
||||||
if (mux == 0)
|
if (mux == 0)
|
||||||
{
|
{
|
||||||
GpuMode = AsusACPI.GPUModeUltimate;
|
GpuMode = AsusACPI.GPUModeUltimate;
|
||||||
@@ -131,7 +131,6 @@ namespace GHelper.Gpu
|
|||||||
|
|
||||||
if (eco == 1)
|
if (eco == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (NvidiaSmi.GetDisplayActiveStatus())
|
if (NvidiaSmi.GetDisplayActiveStatus())
|
||||||
{
|
{
|
||||||
@@ -190,7 +189,7 @@ namespace GHelper.Gpu
|
|||||||
{
|
{
|
||||||
|
|
||||||
bool GpuAuto = AppConfig.Is("gpu_auto");
|
bool GpuAuto = AppConfig.Is("gpu_auto");
|
||||||
bool ForceGPU = AppConfig.ContainsModel("503") || AppConfig.Is("gpu_fix");
|
bool ForceGPU = AppConfig.ContainsModel("503");
|
||||||
|
|
||||||
int GpuMode = AppConfig.Get("gpu_mode");
|
int GpuMode = AppConfig.Get("gpu_mode");
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ public class NvidiaGpuControl : IGpuControl
|
|||||||
public const int MinCoreOffset = -250;
|
public const int MinCoreOffset = -250;
|
||||||
public const int MinMemoryOffset = -250;
|
public const int MinMemoryOffset = -250;
|
||||||
|
|
||||||
|
public const int MinClockLimit = 1000;
|
||||||
|
public const int MaxClockLimit = 3000;
|
||||||
|
|
||||||
private static PhysicalGPU? _internalGpu;
|
private static PhysicalGPU? _internalGpu;
|
||||||
|
|
||||||
public NvidiaGpuControl()
|
public NvidiaGpuControl()
|
||||||
@@ -76,7 +79,7 @@ public class NvidiaGpuControl : IGpuControl
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public int GetClocks(out int core, out int memory)
|
public bool GetClocks(out int core, out int memory)
|
||||||
{
|
{
|
||||||
PhysicalGPU internalGpu = _internalGpu!;
|
PhysicalGPU internalGpu = _internalGpu!;
|
||||||
|
|
||||||
@@ -95,28 +98,24 @@ public class NvidiaGpuControl : IGpuControl
|
|||||||
Logger.WriteLine("GPU VOLT:" + delta.IsEditable + " - " + delta.ValueDeltaInMicroVolt.DeltaValue);
|
Logger.WriteLine("GPU VOLT:" + delta.IsEditable + " - " + delta.ValueDeltaInMicroVolt.DeltaValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Logger.WriteLine("GET GPU CLOCKS:" + ex.Message);
|
Logger.WriteLine("GET GPU CLOCKS:" + ex.Message);
|
||||||
core = memory = 0;
|
core = memory = 0;
|
||||||
return -1;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public bool RestartGPU()
|
private bool RunPowershellCommand(string script)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
string script = @"$device = Get-PnpDevice | Where-Object { $_.FriendlyName -imatch 'NVIDIA' -and $_.Class -eq 'Display' }; Disable-PnpDevice $device.InstanceId -Confirm:$false; Start-Sleep -Seconds 5; Enable-PnpDevice $device.InstanceId -Confirm:$false";
|
|
||||||
Logger.WriteLine(script);
|
|
||||||
ProcessHelper.RunCMD("powershell", script);
|
ProcessHelper.RunCMD("powershell", script);
|
||||||
//Thread.Sleep(2000);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -124,27 +123,71 @@ public class NvidiaGpuControl : IGpuControl
|
|||||||
Logger.WriteLine(ex.ToString());
|
Logger.WriteLine(ex.ToString());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int SetClocksFromConfig()
|
public int GetMaxGPUCLock()
|
||||||
{
|
{
|
||||||
int core = AppConfig.Get("gpu_core", 0);
|
PhysicalGPU internalGpu = _internalGpu!;
|
||||||
int memory = AppConfig.Get("gpu_memory", 0);
|
try
|
||||||
int status = SetClocks(core, memory);
|
{
|
||||||
return status;
|
PrivateClockBoostLockV2 data = GPUApi.GetClockBoostLock(internalGpu.Handle);
|
||||||
|
int limit = (int)data.ClockBoostLocks[0].VoltageInMicroV / 1000;
|
||||||
|
Logger.WriteLine("GET CLOCK LIMIT: " + limit);
|
||||||
|
return limit;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.WriteLine("GET CLOCK LIMIT: " + ex.Message);
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int SetClocks(int core, int memory, int voltage = 0)
|
|
||||||
|
public int SetMaxGPUClock(int clock)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (clock < MinClockLimit || clock >= MaxClockLimit) clock = 0;
|
||||||
|
|
||||||
|
int _clockLimit = GetMaxGPUCLock();
|
||||||
|
|
||||||
|
if (_clockLimit != clock)
|
||||||
|
{
|
||||||
|
if (clock > 0) RunPowershellCommand($"nvidia-smi -lgc 0,{clock}");
|
||||||
|
else RunPowershellCommand($"nvidia-smi -rgc");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool RestartGPU()
|
||||||
|
{
|
||||||
|
return RunPowershellCommand(@"$device = Get-PnpDevice | Where-Object { $_.FriendlyName -imatch 'NVIDIA' -and $_.Class -eq 'Display' }; Disable-PnpDevice $device.InstanceId -Confirm:$false; Start-Sleep -Seconds 5; Enable-PnpDevice $device.InstanceId -Confirm:$false");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public int SetClocks(int core, int memory)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (core < MinCoreOffset || core > MaxCoreOffset) return 0;
|
if (core < MinCoreOffset || core > MaxCoreOffset) return 0;
|
||||||
if (memory < MinMemoryOffset || memory > MaxMemoryOffset) return 0;
|
if (memory < MinMemoryOffset || memory > MaxMemoryOffset) return 0;
|
||||||
|
|
||||||
|
if (GetClocks(out int currentCore, out int currentMemory))
|
||||||
|
{
|
||||||
|
if (Math.Abs(core - currentCore) < 5 && Math.Abs(memory - currentMemory) < 5) return 0;
|
||||||
|
}
|
||||||
|
|
||||||
PhysicalGPU internalGpu = _internalGpu!;
|
PhysicalGPU internalGpu = _internalGpu!;
|
||||||
|
|
||||||
var coreClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Graphics, new PerformanceStates20ParameterDelta(core * 1000));
|
var coreClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Graphics, new PerformanceStates20ParameterDelta(core * 1000));
|
||||||
var memoryClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Memory, new PerformanceStates20ParameterDelta(memory * 1000));
|
var memoryClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Memory, new PerformanceStates20ParameterDelta(memory * 1000));
|
||||||
var voltageEntry = new PerformanceStates20BaseVoltageEntryV1(PerformanceVoltageDomain.Core, new PerformanceStates20ParameterDelta(voltage));
|
//var voltageEntry = new PerformanceStates20BaseVoltageEntryV1(PerformanceVoltageDomain.Core, new PerformanceStates20ParameterDelta(voltage));
|
||||||
|
|
||||||
PerformanceStates20ClockEntryV1[] clocks = { coreClock, memoryClock };
|
PerformanceStates20ClockEntryV1[] clocks = { coreClock, memoryClock };
|
||||||
PerformanceStates20BaseVoltageEntryV1[] voltages = { };
|
PerformanceStates20BaseVoltageEntryV1[] voltages = { };
|
||||||
@@ -164,8 +207,6 @@ public class NvidiaGpuControl : IGpuControl
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -132,7 +132,12 @@ namespace GHelper.Helpers
|
|||||||
cmd.StartInfo.FileName = name;
|
cmd.StartInfo.FileName = name;
|
||||||
cmd.StartInfo.Arguments = args;
|
cmd.StartInfo.Arguments = args;
|
||||||
cmd.Start();
|
cmd.Start();
|
||||||
Logger.WriteLine(cmd.StandardOutput.ReadToEnd());
|
|
||||||
|
string result = cmd.StandardOutput.ReadToEnd().Replace(Environment.NewLine, " ").Trim(' ');
|
||||||
|
|
||||||
|
Logger.WriteLine(args);
|
||||||
|
Logger.WriteLine(result);
|
||||||
|
|
||||||
cmd.WaitForExit();
|
cmd.WaitForExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -401,7 +401,7 @@ namespace GHelper.Input
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ToggleFnLock()
|
public static void ToggleFnLock()
|
||||||
{
|
{
|
||||||
int fnLock = AppConfig.Is("fn_lock") ? 0 : 1;
|
int fnLock = AppConfig.Is("fn_lock") ? 0 : 1;
|
||||||
AppConfig.Set("fn_lock", fnLock);
|
AppConfig.Set("fn_lock", fnLock);
|
||||||
@@ -411,6 +411,8 @@ namespace GHelper.Input
|
|||||||
else
|
else
|
||||||
Program.settingsForm.BeginInvoke(Program.inputDispatcher.RegisterKeys);
|
Program.settingsForm.BeginInvoke(Program.inputDispatcher.RegisterKeys);
|
||||||
|
|
||||||
|
Program.settingsForm.BeginInvoke(Program.settingsForm.VisualiseFnLock);
|
||||||
|
|
||||||
Program.toast.RunToast("Fn-Lock " + (fnLock == 1 ? "On" : "Off"), ToastIcon.FnLock);
|
Program.toast.RunToast("Fn-Lock " + (fnLock == 1 ? "On" : "Off"), ToastIcon.FnLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,12 @@ namespace GHelper.Mode
|
|||||||
public void ResetPerformanceMode()
|
public void ResetPerformanceMode()
|
||||||
{
|
{
|
||||||
ResetRyzen();
|
ResetRyzen();
|
||||||
|
|
||||||
Program.acpi.DeviceSet(AsusACPI.PerformanceMode, Modes.GetCurrentBase(), "Mode");
|
Program.acpi.DeviceSet(AsusACPI.PerformanceMode, Modes.GetCurrentBase(), "Mode");
|
||||||
|
|
||||||
|
// Default power mode
|
||||||
|
AppConfig.RemoveMode("powermode");
|
||||||
|
PowerNative.SetPowerMode(Modes.GetCurrentBase());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetPerformanceMode(int mode = -1, bool notify = false)
|
public void SetPerformanceMode(int mode = -1, bool notify = false)
|
||||||
@@ -76,18 +81,21 @@ namespace GHelper.Mode
|
|||||||
AutoFans();
|
AutoFans();
|
||||||
AutoPower(1000);
|
AutoPower(1000);
|
||||||
|
|
||||||
if (AppConfig.Get("auto_apply_power_plan") != 0)
|
// Power plan from config or defaulting to balanced
|
||||||
{
|
if (AppConfig.GetModeString("scheme") is not null)
|
||||||
if (AppConfig.GetModeString("scheme") is not null)
|
PowerNative.SetPowerPlan(AppConfig.GetModeString("scheme"));
|
||||||
PowerNative.SetPowerScheme(AppConfig.GetModeString("scheme"));
|
else
|
||||||
else
|
PowerNative.SetBalancedPowerPlan();
|
||||||
PowerNative.SetPowerScheme(Modes.GetBase(mode));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// Windows power mode
|
||||||
|
if (AppConfig.GetModeString("powermode") is not null)
|
||||||
|
PowerNative.SetPowerMode(AppConfig.GetModeString("powermode"));
|
||||||
|
else
|
||||||
|
PowerNative.SetPowerMode(Modes.GetBase(mode));
|
||||||
|
|
||||||
|
// CPU Boost setting override
|
||||||
if (AppConfig.GetMode("auto_boost") != -1)
|
if (AppConfig.GetMode("auto_boost") != -1)
|
||||||
{
|
|
||||||
PowerNative.SetCPUBoost(AppConfig.GetMode("auto_boost"));
|
PowerNative.SetCPUBoost(AppConfig.GetMode("auto_boost"));
|
||||||
}
|
|
||||||
|
|
||||||
//BatteryControl.SetBatteryChargeLimit();
|
//BatteryControl.SetBatteryChargeLimit();
|
||||||
|
|
||||||
@@ -280,35 +288,35 @@ namespace GHelper.Mode
|
|||||||
|
|
||||||
public void SetGPUClocks(bool launchAsAdmin = true)
|
public void SetGPUClocks(bool launchAsAdmin = true)
|
||||||
{
|
{
|
||||||
|
Task.Run(() =>
|
||||||
int gpu_core = AppConfig.GetMode("gpu_core");
|
|
||||||
int gpu_memory = AppConfig.GetMode("gpu_memory");
|
|
||||||
|
|
||||||
if (gpu_core == -1 && gpu_memory == -1) return;
|
|
||||||
|
|
||||||
//if ((gpu_core > -5 && gpu_core < 5) && (gpu_memory > -5 && gpu_memory < 5)) launchAsAdmin = false;
|
|
||||||
|
|
||||||
if (Program.acpi.DeviceGet(AsusACPI.GPUEco) == 1) return;
|
|
||||||
if (HardwareControl.GpuControl is null) return;
|
|
||||||
if (!HardwareControl.GpuControl!.IsNvidia) return;
|
|
||||||
|
|
||||||
using NvidiaGpuControl nvControl = (NvidiaGpuControl)HardwareControl.GpuControl;
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
int getStatus = nvControl.GetClocks(out int current_core, out int current_memory);
|
|
||||||
if (getStatus != -1)
|
int core = AppConfig.GetMode("gpu_core");
|
||||||
|
int memory = AppConfig.GetMode("gpu_memory");
|
||||||
|
int clock_limit = AppConfig.GetMode("gpu_clock_limit");
|
||||||
|
|
||||||
|
if (core == -1 && memory == -1) return;
|
||||||
|
|
||||||
|
//if ((gpu_core > -5 && gpu_core < 5) && (gpu_memory > -5 && gpu_memory < 5)) launchAsAdmin = false;
|
||||||
|
|
||||||
|
if (Program.acpi.DeviceGet(AsusACPI.GPUEco) == 1) return;
|
||||||
|
if (HardwareControl.GpuControl is null) return;
|
||||||
|
if (!HardwareControl.GpuControl!.IsNvidia) return;
|
||||||
|
|
||||||
|
using NvidiaGpuControl nvControl = (NvidiaGpuControl)HardwareControl.GpuControl;
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if (Math.Abs(gpu_core - current_core) < 5 && Math.Abs(gpu_memory - current_memory) < 5) return;
|
int statusLimit = nvControl.SetMaxGPUClock(clock_limit);
|
||||||
|
int statusClocks = nvControl.SetClocks(core, memory);
|
||||||
|
if ((statusLimit != 0 || statusClocks != 0) && launchAsAdmin) ProcessHelper.RunAsAdmin("gpu");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Logger.WriteLine(ex.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
int setStatus = nvControl.SetClocks(gpu_core, gpu_memory);
|
settings.GPUInit();
|
||||||
if (launchAsAdmin && setStatus == -1) ProcessHelper.RunAsAdmin("gpu");
|
});
|
||||||
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Logger.WriteLine(ex.ToString());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetGPUPower()
|
public void SetGPUPower()
|
||||||
|
|||||||
@@ -51,7 +51,8 @@
|
|||||||
"gpu_memory",
|
"gpu_memory",
|
||||||
"auto_boost",
|
"auto_boost",
|
||||||
"auto_apply",
|
"auto_apply",
|
||||||
"auto_apply_power"
|
"auto_apply_power",
|
||||||
|
"powermode"
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (string clean in cleanup)
|
foreach (string clean in cleanup)
|
||||||
|
|||||||
@@ -72,7 +72,24 @@ namespace GHelper.Mode
|
|||||||
[DllImportAttribute("powrprof.dll", EntryPoint = "PowerSetActiveOverlayScheme")]
|
[DllImportAttribute("powrprof.dll", EntryPoint = "PowerSetActiveOverlayScheme")]
|
||||||
public static extern uint PowerSetActiveOverlayScheme(Guid OverlaySchemeGuid);
|
public static extern uint PowerSetActiveOverlayScheme(Guid OverlaySchemeGuid);
|
||||||
|
|
||||||
|
const string POWER_SILENT = "961cc777-2547-4f9d-8174-7d86181b8a7a";
|
||||||
|
const string POWER_BALANCED = "00000000-0000-0000-0000-000000000000";
|
||||||
|
const string POWER_TURBO = "ded574b5-45a0-4f42-8737-46345c09c238";
|
||||||
|
const string POWER_BETTERPERFORMANCE = "ded574b5-45a0-4f42-8737-46345c09c238";
|
||||||
|
|
||||||
|
static List<string> overlays = new() {
|
||||||
|
POWER_BALANCED,
|
||||||
|
POWER_TURBO,
|
||||||
|
POWER_SILENT,
|
||||||
|
POWER_BETTERPERFORMANCE
|
||||||
|
};
|
||||||
|
|
||||||
|
public static Dictionary<string, string> powerModes = new Dictionary<string, string>
|
||||||
|
{
|
||||||
|
{ POWER_SILENT, "Best Power Efficiency" },
|
||||||
|
{ POWER_BALANCED, "Balanced" },
|
||||||
|
{ POWER_TURBO, "Best Performance" },
|
||||||
|
};
|
||||||
static Guid GetActiveScheme()
|
static Guid GetActiveScheme()
|
||||||
{
|
{
|
||||||
IntPtr pActiveSchemeGuid;
|
IntPtr pActiveSchemeGuid;
|
||||||
@@ -122,51 +139,67 @@ namespace GHelper.Mode
|
|||||||
Logger.WriteLine("Boost " + boost);
|
Logger.WriteLine("Boost " + boost);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetPowerScheme(string scheme)
|
public static string GetPowerMode()
|
||||||
{
|
{
|
||||||
List<string> overlays = new() {
|
PowerGetEffectiveOverlayScheme(out Guid activeScheme);
|
||||||
"00000000-0000-0000-0000-000000000000",
|
return activeScheme.ToString();
|
||||||
"ded574b5-45a0-4f42-8737-46345c09c238",
|
}
|
||||||
"961cc777-2547-4f9d-8174-7d86181b8a7a",
|
|
||||||
"3af9B8d9-7c97-431d-ad78-34a8bfea439f"
|
public static void SetPowerMode(string scheme)
|
||||||
};
|
{
|
||||||
|
|
||||||
|
if (!overlays.Contains(scheme)) return;
|
||||||
|
|
||||||
Guid guidScheme = new Guid(scheme);
|
Guid guidScheme = new Guid(scheme);
|
||||||
|
|
||||||
if (overlays.Contains(scheme))
|
uint status = PowerGetEffectiveOverlayScheme(out Guid activeScheme);
|
||||||
|
if (status != 0 || activeScheme != guidScheme)
|
||||||
{
|
{
|
||||||
uint status = PowerGetEffectiveOverlayScheme(out Guid activeScheme);
|
status = PowerSetActiveOverlayScheme(guidScheme);
|
||||||
if (status != 0 || activeScheme != guidScheme)
|
Logger.WriteLine("Power Mode " + scheme + ":" + (status == 0 ? "OK" : status));
|
||||||
{
|
|
||||||
PowerSetActiveOverlayScheme(guidScheme);
|
|
||||||
Logger.WriteLine("Power mode: " + scheme);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
PowerSetActiveScheme(IntPtr.Zero, guidScheme);
|
|
||||||
Logger.WriteLine("Power plan: " + scheme);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetPowerScheme(int mode)
|
public static void SetBalancedPowerPlan()
|
||||||
|
{
|
||||||
|
Guid activeSchemeGuid = GetActiveScheme();
|
||||||
|
string balanced = "381b4222-f694-41f0-9685-ff5bb260df2e";
|
||||||
|
|
||||||
|
if (activeSchemeGuid.ToString() != balanced && !AppConfig.Is("skip_power_plan"))
|
||||||
|
{
|
||||||
|
SetPowerPlan(balanced);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void SetPowerPlan(string scheme)
|
||||||
|
{
|
||||||
|
// Skipping power modes
|
||||||
|
if (overlays.Contains(scheme)) return;
|
||||||
|
|
||||||
|
Guid guidScheme = new Guid(scheme);
|
||||||
|
uint status = PowerSetActiveScheme(IntPtr.Zero, guidScheme);
|
||||||
|
Logger.WriteLine("Power Plan " + scheme + ":" + (status == 0 ? "OK" : status));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string GetDefaultPowerMode(int mode)
|
||||||
{
|
{
|
||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case 0: // balanced
|
|
||||||
SetPowerScheme("00000000-0000-0000-0000-000000000000");
|
|
||||||
break;
|
|
||||||
case 1: // turbo
|
case 1: // turbo
|
||||||
SetPowerScheme("ded574b5-45a0-4f42-8737-46345c09c238");
|
return POWER_TURBO;
|
||||||
break;
|
|
||||||
case 2: //silent
|
case 2: //silent
|
||||||
SetPowerScheme("961cc777-2547-4f9d-8174-7d86181b8a7a");
|
return POWER_SILENT;
|
||||||
break;
|
default: // balanced
|
||||||
|
return POWER_BALANCED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void SetPowerMode(int mode)
|
||||||
|
{
|
||||||
|
SetPowerMode(GetDefaultPowerMode(mode));
|
||||||
|
}
|
||||||
|
|
||||||
public static int GetLidAction(bool ac)
|
public static int GetLidAction(bool ac)
|
||||||
{
|
{
|
||||||
Guid activeSchemeGuid = GetActiveScheme();
|
Guid activeSchemeGuid = GetActiveScheme();
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ namespace GHelper
|
|||||||
private static void SystemEvents_SessionEnding(object sender, SessionEndingEventArgs e)
|
private static void SystemEvents_SessionEnding(object sender, SessionEndingEventArgs e)
|
||||||
{
|
{
|
||||||
gpuControl.StandardModeFix();
|
gpuControl.StandardModeFix();
|
||||||
|
BatteryControl.SetBatteryChargeLimit();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void SystemEvents_SessionSwitch(object sender, SessionSwitchEventArgs e)
|
private static void SystemEvents_SessionSwitch(object sender, SessionSwitchEventArgs e)
|
||||||
@@ -198,10 +199,12 @@ namespace GHelper
|
|||||||
|
|
||||||
private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
|
private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
|
||||||
{
|
{
|
||||||
Logger.WriteLine("Power Mode:" + e.Mode.ToString());
|
|
||||||
|
|
||||||
|
|
||||||
if (e.Mode == PowerModes.Suspend) gpuControl.StandardModeFix();
|
if (e.Mode == PowerModes.Suspend)
|
||||||
|
{
|
||||||
|
Logger.WriteLine("Power Mode:" + e.Mode.ToString());
|
||||||
|
gpuControl.StandardModeFix();
|
||||||
|
}
|
||||||
|
|
||||||
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
|
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
|
||||||
SetAutoModes(true);
|
SetAutoModes(true);
|
||||||
|
|||||||
4
app/Properties/Strings.Designer.cs
generated
4
app/Properties/Strings.Designer.cs
generated
@@ -565,7 +565,7 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Download Update.
|
/// Looks up a localized string similar to Download.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string DownloadUpdate {
|
internal static string DownloadUpdate {
|
||||||
get {
|
get {
|
||||||
@@ -1323,7 +1323,7 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk..
|
/// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string RestartGPU {
|
internal static string RestartGPU {
|
||||||
get {
|
get {
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Entlädt</value>
|
<value>Entlädt</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Updates herunterladen</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Treiber und Software</value>
|
<value>Treiber und Software</value>
|
||||||
@@ -374,6 +374,9 @@ Trotzdem fortfahren?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Maximale GPU Temperatur</value>
|
<value>Maximale GPU Temperatur</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>Hoch</value>
|
<value>Hoch</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Trotzdem fortfahren?</value>
|
|||||||
<value>Schließen</value>
|
<value>Schließen</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Ein Prozess verhindert den Wechsel in den Eco-Modus. dGPU neu starten? Fortfahren auf eigene Gefahr.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>U/Min</value>
|
<value>U/Min</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Descargando</value>
|
<value>Descargando</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Descargar actualización</value>
|
<value>Descargar</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers y Software</value>
|
<value>Drivers y Software</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperatura objetivo</value>
|
<value>Temperatura objetivo</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutos hasta hibernación en suspensión con batería (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>Alto</value>
|
<value>Alto</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>Quitar</value>
|
<value>Quitar</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Algo está usando la dGPU e impide usar Modo Eco. ¿Reiniciar dGPU en administrador de dispositivos? * Proceda bajo su propio riesgo.</value>
|
<value>Algo está usando la dGPU e impide el modo Eco. ¿Reiniciar dGPU en el administrador de dispositivos? (Proceda bajo su propio riesgo)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Taux décharge </value>
|
<value>Taux décharge </value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Télécharger la mise à jour</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Pilotes et Logiciels</value>
|
<value>Pilotes et Logiciels</value>
|
||||||
@@ -374,6 +374,9 @@ Voulez-vous continuer ?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Température cible</value>
|
<value>Température cible</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Voulez-vous continuer ?</value>
|
|||||||
<value>Quitter</value>
|
<value>Quitter</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Un processus utilisant le dGPU empêche le passage en mode Éco. Redémarrer le dGPU ? * Procédez à vos risques.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value> RPM</value>
|
<value> RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Merülés</value>
|
<value>Merülés</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Frissítés letöltése</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Illesztőprogramok és alkalmazások</value>
|
<value>Illesztőprogramok és alkalmazások</value>
|
||||||
@@ -374,6 +374,9 @@ Do you still want to continue?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Célhőmérséklet</value>
|
<value>Célhőmérséklet</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Do you still want to continue?</value>
|
|||||||
<value>Bezárás</value>
|
<value>Bezárás</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Valami használja még a dGPU-t, ezzel megakadályozva az Eco móda lépést. Újraindítsuk a dGPU-t eszközkezelőben? * Kérjük, saját felelősségére folytassa.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>Fordulatszám</value>
|
<value>Fordulatszám</value>
|
||||||
|
|||||||
@@ -163,28 +163,28 @@
|
|||||||
<value>Servizi Asus in Esecuzione</value>
|
<value>Servizi Asus in Esecuzione</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraBatteryState" xml:space="preserve">
|
<data name="AuraBatteryState" xml:space="preserve">
|
||||||
<value>Battery State</value>
|
<value>Stato Batteria</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraBreathe" xml:space="preserve">
|
<data name="AuraBreathe" xml:space="preserve">
|
||||||
<value>Respiro</value>
|
<value>Respiro</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraClockwise" xml:space="preserve">
|
<data name="AuraClockwise" xml:space="preserve">
|
||||||
<value>Clockwise</value>
|
<value>Senso Orario</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraColorCycle" xml:space="preserve">
|
<data name="AuraColorCycle" xml:space="preserve">
|
||||||
<value>Ciclo Colori</value>
|
<value>Ciclo Colori</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraComet" xml:space="preserve">
|
<data name="AuraComet" xml:space="preserve">
|
||||||
<value>Comet</value>
|
<value>Cometa</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraCounterClockwise" xml:space="preserve">
|
<data name="AuraCounterClockwise" xml:space="preserve">
|
||||||
<value>Counterclockwise</value>
|
<value>Senso Antiorario</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraFast" xml:space="preserve">
|
<data name="AuraFast" xml:space="preserve">
|
||||||
<value>Veloce</value>
|
<value>Veloce</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraLightingMode" xml:space="preserve">
|
<data name="AuraLightingMode" xml:space="preserve">
|
||||||
<value>Lighting Mode</value>
|
<value>Modalità Illuminazione</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraNormal" xml:space="preserve">
|
<data name="AuraNormal" xml:space="preserve">
|
||||||
<value>Normale</value>
|
<value>Normale</value>
|
||||||
@@ -193,10 +193,10 @@
|
|||||||
<value>Arcobaleno</value>
|
<value>Arcobaleno</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraRandomColor" xml:space="preserve">
|
<data name="AuraRandomColor" xml:space="preserve">
|
||||||
<value>Random</value>
|
<value>Casuale</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraReact" xml:space="preserve">
|
<data name="AuraReact" xml:space="preserve">
|
||||||
<value>React</value>
|
<value>Reazione</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraSlow" xml:space="preserve">
|
<data name="AuraSlow" xml:space="preserve">
|
||||||
<value>Lenta</value>
|
<value>Lenta</value>
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
<value>Strobo</value>
|
<value>Strobo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraZoneAll" xml:space="preserve">
|
<data name="AuraZoneAll" xml:space="preserve">
|
||||||
<value>All</value>
|
<value>Tutte</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraZoneDock" xml:space="preserve">
|
<data name="AuraZoneDock" xml:space="preserve">
|
||||||
<value>Dock</value>
|
<value>Dock</value>
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
<value>Logo</value>
|
<value>Logo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraZoneScroll" xml:space="preserve">
|
<data name="AuraZoneScroll" xml:space="preserve">
|
||||||
<value>Scrollwheel</value>
|
<value>Rotellina</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AuraZoneUnderglow" xml:space="preserve">
|
<data name="AuraZoneUnderglow" xml:space="preserve">
|
||||||
<value>Underglow</value>
|
<value>Underglow</value>
|
||||||
@@ -241,7 +241,7 @@
|
|||||||
<value>Bilanciato</value>
|
<value>Bilanciato</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BatteryCharge" xml:space="preserve">
|
<data name="BatteryCharge" xml:space="preserve">
|
||||||
<value>Charge</value>
|
<value>Carica</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BatteryChargeLimit" xml:space="preserve">
|
<data name="BatteryChargeLimit" xml:space="preserve">
|
||||||
<value>Limite Ricarica Batteria</value>
|
<value>Limite Ricarica Batteria</value>
|
||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Scaricamento</value>
|
<value>Scaricamento</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Scarica aggiornamento</value>
|
<value>Scarica</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Driver e Software</value>
|
<value>Driver e Software</value>
|
||||||
@@ -306,7 +306,7 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>Modalità schermo NVIDIA non impostata su Optimus</value>
|
<value>Modalità schermo NVIDIA non impostata su Optimus</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="EnergySettings" xml:space="preserve">
|
<data name="EnergySettings" xml:space="preserve">
|
||||||
<value>Energy Settings</value>
|
<value>Risparmio Energia</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Extra" xml:space="preserve">
|
<data name="Extra" xml:space="preserve">
|
||||||
<value>Extra</value>
|
<value>Extra</value>
|
||||||
@@ -374,8 +374,11 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperatura Target</value>
|
<value>Temperatura Target</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Iberna dopo X minuti se alimentato a batteria (0 - ACCESO)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>Elevato</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="KeyBindings" xml:space="preserve">
|
<data name="KeyBindings" xml:space="preserve">
|
||||||
<value>Associazione Tasti</value>
|
<value>Associazione Tasti</value>
|
||||||
@@ -402,13 +405,13 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>Barra Luminosa</value>
|
<value>Barra Luminosa</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Lighting" xml:space="preserve">
|
<data name="Lighting" xml:space="preserve">
|
||||||
<value>Lighting</value>
|
<value>Illuminazione</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Logo" xml:space="preserve">
|
<data name="Logo" xml:space="preserve">
|
||||||
<value>Logo</value>
|
<value>Logo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Low" xml:space="preserve">
|
<data name="Low" xml:space="preserve">
|
||||||
<value>Low</value>
|
<value>Basso</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MatrixAudio" xml:space="preserve">
|
<data name="MatrixAudio" xml:space="preserve">
|
||||||
<value>Visualizzatore Audio</value>
|
<value>Visualizzatore Audio</value>
|
||||||
@@ -444,31 +447,31 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>60Hz refresh rate per risparmiare batteria</value>
|
<value>60Hz refresh rate per risparmiare batteria</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Minute" xml:space="preserve">
|
<data name="Minute" xml:space="preserve">
|
||||||
<value>Minute</value>
|
<value>Minuto</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Minutes" xml:space="preserve">
|
<data name="Minutes" xml:space="preserve">
|
||||||
<value>Minutes</value>
|
<value>Minuti</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseAngleSnapping" xml:space="preserve">
|
<data name="MouseAngleSnapping" xml:space="preserve">
|
||||||
<value>Angle Snapping</value>
|
<value>Angle Snapping</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseAutoPowerOff" xml:space="preserve">
|
<data name="MouseAutoPowerOff" xml:space="preserve">
|
||||||
<value>Auto Power Off After</value>
|
<value>Auto-disattivazione dopo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseButtonResponse" xml:space="preserve">
|
<data name="MouseButtonResponse" xml:space="preserve">
|
||||||
<value>Button Response</value>
|
<value>Risposta Tasto Mouse</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseLiftOffDistance" xml:space="preserve">
|
<data name="MouseLiftOffDistance" xml:space="preserve">
|
||||||
<value>Lift Off Distance</value>
|
<value>Lift Off Distance</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseLowBatteryWarning" xml:space="preserve">
|
<data name="MouseLowBatteryWarning" xml:space="preserve">
|
||||||
<value>Low Battery Warning at</value>
|
<value>Avviso Batteria Mouse in Esaurimento</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MousePerformance" xml:space="preserve">
|
<data name="MousePerformance" xml:space="preserve">
|
||||||
<value>Performance</value>
|
<value>Prestazioni</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MouseSynchronize" xml:space="preserve">
|
<data name="MouseSynchronize" xml:space="preserve">
|
||||||
<value>Synchronize with mouse</value>
|
<value>Sincronizza con Mouse</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Multizone" xml:space="preserve">
|
<data name="Multizone" xml:space="preserve">
|
||||||
<value>Multizona</value>
|
<value>Multizona</value>
|
||||||
@@ -477,7 +480,7 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>Silenzia microfono</value>
|
<value>Silenzia microfono</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Never" xml:space="preserve">
|
<data name="Never" xml:space="preserve">
|
||||||
<value>Never</value>
|
<value>Mai</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="NewUpdates" xml:space="preserve">
|
<data name="NewUpdates" xml:space="preserve">
|
||||||
<value>Nuovi aggiornamenti</value>
|
<value>Nuovi aggiornamenti</value>
|
||||||
@@ -486,7 +489,7 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>Sistema aggiornato</value>
|
<value>Sistema aggiornato</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="NotConnected" xml:space="preserve">
|
<data name="NotConnected" xml:space="preserve">
|
||||||
<value>Not Connected</value>
|
<value>Non Connesso</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="OpenGHelper" xml:space="preserve">
|
<data name="OpenGHelper" xml:space="preserve">
|
||||||
<value>Apri G-Helper</value>
|
<value>Apri G-Helper</value>
|
||||||
@@ -510,7 +513,7 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>Profilo</value>
|
<value>Profilo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Peripherals" xml:space="preserve">
|
<data name="Peripherals" xml:space="preserve">
|
||||||
<value>Peripherals</value>
|
<value>Periferiche</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PictureGif" xml:space="preserve">
|
<data name="PictureGif" xml:space="preserve">
|
||||||
<value>Immagine / Gif</value>
|
<value>Immagine / Gif</value>
|
||||||
@@ -531,13 +534,13 @@ Sei sicuro di voler continuare?</value>
|
|||||||
<value>PrintScreen</value>
|
<value>PrintScreen</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile" xml:space="preserve">
|
<data name="Profile" xml:space="preserve">
|
||||||
<value>Profile</value>
|
<value>Profilo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Quit" xml:space="preserve">
|
<data name="Quit" xml:space="preserve">
|
||||||
<value>Esci</value>
|
<value>Esci</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Qualcosa sta utilizzando la dGPU e impedendo la modalità Eco. Riavviare la dGPU da Gestione dispositivi? * Procedere a proprio rischio e pericolo.</value>
|
<value>Qualcosa sta utilizzando la dGPU e impedisce il passaggio alla modalità Eco. Vuoi che G-Helper provi a riavviare la dGPU in gestione dispositivi? (Procedi a tuo rischio)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>방전 중</value>
|
<value>방전 중</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>업데이트 다운로드</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>드라이버와 소프트웨어</value>
|
<value>드라이버와 소프트웨어</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>목표 온도</value>
|
<value>목표 온도</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>종료</value>
|
<value>종료</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>dGPU가 사용중이기 때문에 Eco 모드로 전환할 수 없습니다. 장치 관리자에서 dGPU를 재시작하시겠습니까?</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Iškrovimas</value>
|
<value>Iškrovimas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Atsisiųsti naujinimą</value>
|
<value>Atsisiųsti</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Tvarkyklės ir programinė įranga</value>
|
<value>Tvarkyklės ir programinė įranga</value>
|
||||||
@@ -374,6 +374,9 @@ Vis tiek norite tęsti?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperatūros tikslas</value>
|
<value>Temperatūros tikslas</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutės iki miego su akumuliatoriumi (0 – IŠJUNGTA)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>Aukštas</value>
|
<value>Aukštas</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Vis tiek norite tęsti?</value>
|
|||||||
<value>Išeiti</value>
|
<value>Išeiti</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Kažkas naudoja dGPU ir neleidžia nustatyti ekonomiško režimo. Iš naujo paleisti dGPU įrenginių tvarkytuvėje? * Tęskite savo rizika.</value>
|
<value>Kažkas naudoja dGPU ir neleidžia įjungti ekonomiško režimo. Norite leisti G-Helper bandyti iš naujo paleisti dGPU įrenginių tvarkytuvėje? (Tęskite savo rizika)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Zużycie mocy</value>
|
<value>Zużycie mocy</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Pobierz aktualizację</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Sterowniki i oprogramowanie</value>
|
<value>Sterowniki i oprogramowanie</value>
|
||||||
@@ -374,6 +374,9 @@ Nadal chcesz kontynuować?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperatura docelowa</value>
|
<value>Temperatura docelowa</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>Wysoka</value>
|
<value>Wysoka</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Nadal chcesz kontynuować?</value>
|
|||||||
<value>Zamknij</value>
|
<value>Zamknij</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Coś korzysta z dedykowanego GPU i uniemożliwia włączenie trybu Eco. Zresetować dedykowany GPU w Menadżerze Urządzeń? * Używaj na własną odpowiedzialność</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Descarregando</value>
|
<value>Descarregando</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Baixar a atualização</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers and Software</value>
|
<value>Drivers and Software</value>
|
||||||
@@ -374,6 +374,9 @@ Do you still want to continue?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Alvo de temperatura</value>
|
<value>Alvo de temperatura</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Do you still want to continue?</value>
|
|||||||
<value>Sair</value>
|
<value>Sair</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Algum processo está usando o dGPU e impedindo o modo Econômico. Reinicialize o dGPU no gerenciador de dispositivos. Por favor, proceda por sua conta e risco. </value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Discharging</value>
|
<value>Discharging</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Download Update</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers and Software</value>
|
<value>Drivers and Software</value>
|
||||||
@@ -540,7 +540,7 @@ Do you still want to continue?</value>
|
|||||||
<value>Quit</value>
|
<value>Quit</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Se descarcă</value>
|
<value>Se descarcă</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Descărcați actualizarea</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers și Aplicații</value>
|
<value>Drivers și Aplicații</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperatura țintă</value>
|
<value>Temperatura țintă</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>Închide</value>
|
<value>Închide</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>O aplicație folosește dGPU și previne pornirea modului Eco. Reporniți dGPU în device manager? * Continuați pe propriul risc.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Pil boşalıyor</value>
|
<value>Pil boşalıyor</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Güncelleştirmeyi İndir</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers and Software</value>
|
<value>Drivers and Software</value>
|
||||||
@@ -374,6 +374,9 @@ Do you still want to continue?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperature Target</value>
|
<value>Temperature Target</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Do you still want to continue?</value>
|
|||||||
<value>Çıkış Yap</value>
|
<value>Çıkış Yap</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>RPM</value>
|
<value>RPM</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Розрядка</value>
|
<value>Розрядка</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Завантажити</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Драйвери та програми</value>
|
<value>Драйвери та програми</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Temperature Target</value>
|
<value>Temperature Target</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>Висока</value>
|
<value>Висока</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>Вихід</value>
|
<value>Вихід</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Щось використовує dGPU та не дає перейти в режимі Еко. Перезапустити dGPU у менеджері пристроїв? * Будь ласка, продовжуйте на свій страх і ризик.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>Оберти</value>
|
<value>Оберти</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Đang không sạc</value>
|
<value>Đang không sạc</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Tải xuống bản cập nhật</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Driver và phần mềm</value>
|
<value>Driver và phần mềm</value>
|
||||||
@@ -374,6 +374,9 @@ Do you still want to continue?</value>
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>Nhiệt độ đích</value>
|
<value>Nhiệt độ đích</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>High</value>
|
<value>High</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@ Do you still want to continue?</value>
|
|||||||
<value>Thoát</value>
|
<value>Thoát</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>Không thể chuyển về Chế độ Tiết kiệm do có gì đó đang dùng GPU rời. Khởi động lại GPU rời trong Quản lý Thiết bị? * Bạn sẽ chịu mọi rủi ro.</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>VTP</value>
|
<value>VTP</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>正在放电</value>
|
<value>正在放电</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>下载更新</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>驱动程序和软件</value>
|
<value>驱动程序和软件</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>温度目标</value>
|
<value>温度目标</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>在使用电池时几分钟后进入休眠状态 (0 - 关闭)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>高</value>
|
<value>高</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>退出</value>
|
<value>退出</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>有程序正在使用独立显卡阻止进入节能模式。要在设备管理器中重新启动dGPU 吗?* 请自行承担风险。</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>转/分钟</value>
|
<value>转/分钟</value>
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>正在釋放電力</value>
|
<value>正在釋放電力</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>下載更新</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>驅動程式與軟體</value>
|
<value>驅動程式與軟體</value>
|
||||||
@@ -374,6 +374,9 @@
|
|||||||
<data name="GPUTempTarget" xml:space="preserve">
|
<data name="GPUTempTarget" xml:space="preserve">
|
||||||
<value>GPU溫度上限</value>
|
<value>GPU溫度上限</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="HibernateAfter" xml:space="preserve">
|
||||||
|
<value>使用電池下何時進入休眠(0=關閉此功能)</value>
|
||||||
|
</data>
|
||||||
<data name="High" xml:space="preserve">
|
<data name="High" xml:space="preserve">
|
||||||
<value>高</value>
|
<value>高</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -537,7 +540,7 @@
|
|||||||
<value>退出</value>
|
<value>退出</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RestartGPU" xml:space="preserve">
|
<data name="RestartGPU" xml:space="preserve">
|
||||||
<value>有其他程式正在使用獨顯導致無法切換至節能模式. 是否在裝置管理員中重啟獨顯? * 請自行評估風險</value>
|
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="RPM" xml:space="preserve">
|
<data name="RPM" xml:space="preserve">
|
||||||
<value>每分鐘轉數</value>
|
<value>每分鐘轉數</value>
|
||||||
|
|||||||
28
app/Settings.Designer.cs
generated
28
app/Settings.Designer.cs
generated
@@ -94,6 +94,7 @@ namespace GHelper
|
|||||||
buttonKeyboardColor = new RButton();
|
buttonKeyboardColor = new RButton();
|
||||||
comboKeyboard = new RComboBox();
|
comboKeyboard = new RComboBox();
|
||||||
panelKeyboardTitle = new Panel();
|
panelKeyboardTitle = new Panel();
|
||||||
|
buttonFnLock = new RButton();
|
||||||
pictureKeyboard = new PictureBox();
|
pictureKeyboard = new PictureBox();
|
||||||
labelKeyboard = new Label();
|
labelKeyboard = new Label();
|
||||||
panelVersion = new Panel();
|
panelVersion = new Panel();
|
||||||
@@ -1173,15 +1174,37 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// panelKeyboardTitle
|
// panelKeyboardTitle
|
||||||
//
|
//
|
||||||
|
panelKeyboardTitle.Controls.Add(buttonFnLock);
|
||||||
panelKeyboardTitle.Controls.Add(pictureKeyboard);
|
panelKeyboardTitle.Controls.Add(pictureKeyboard);
|
||||||
panelKeyboardTitle.Controls.Add(labelKeyboard);
|
panelKeyboardTitle.Controls.Add(labelKeyboard);
|
||||||
panelKeyboardTitle.Dock = DockStyle.Top;
|
panelKeyboardTitle.Dock = DockStyle.Top;
|
||||||
panelKeyboardTitle.Location = new Point(20, 20);
|
panelKeyboardTitle.Location = new Point(20, 20);
|
||||||
panelKeyboardTitle.Margin = new Padding(4);
|
panelKeyboardTitle.Margin = new Padding(0);
|
||||||
panelKeyboardTitle.Name = "panelKeyboardTitle";
|
panelKeyboardTitle.Name = "panelKeyboardTitle";
|
||||||
|
panelKeyboardTitle.Padding = new Padding(0, 2, 4, 2);
|
||||||
panelKeyboardTitle.Size = new Size(787, 40);
|
panelKeyboardTitle.Size = new Size(787, 40);
|
||||||
panelKeyboardTitle.TabIndex = 40;
|
panelKeyboardTitle.TabIndex = 40;
|
||||||
//
|
//
|
||||||
|
// buttonFnLock
|
||||||
|
//
|
||||||
|
buttonFnLock.Activated = false;
|
||||||
|
buttonFnLock.BackColor = SystemColors.ControlLight;
|
||||||
|
buttonFnLock.BorderColor = Color.Transparent;
|
||||||
|
buttonFnLock.BorderRadius = 2;
|
||||||
|
buttonFnLock.Dock = DockStyle.Right;
|
||||||
|
buttonFnLock.FlatAppearance.BorderSize = 0;
|
||||||
|
buttonFnLock.FlatStyle = FlatStyle.Flat;
|
||||||
|
buttonFnLock.Font = new Font("Segoe UI", 7.125F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
|
buttonFnLock.ForeColor = SystemColors.ControlDark;
|
||||||
|
buttonFnLock.Location = new Point(676, 2);
|
||||||
|
buttonFnLock.Margin = new Padding(0);
|
||||||
|
buttonFnLock.Name = "buttonFnLock";
|
||||||
|
buttonFnLock.Secondary = true;
|
||||||
|
buttonFnLock.Size = new Size(107, 36);
|
||||||
|
buttonFnLock.TabIndex = 4;
|
||||||
|
buttonFnLock.Text = "FN-Lock";
|
||||||
|
buttonFnLock.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
// pictureKeyboard
|
// pictureKeyboard
|
||||||
//
|
//
|
||||||
pictureKeyboard.BackgroundImage = Properties.Resources.icons8_keyboard_32__1_;
|
pictureKeyboard.BackgroundImage = Properties.Resources.icons8_keyboard_32__1_;
|
||||||
@@ -1197,7 +1220,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
labelKeyboard.AutoSize = true;
|
labelKeyboard.AutoSize = true;
|
||||||
labelKeyboard.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
labelKeyboard.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
||||||
labelKeyboard.Location = new Point(44, 0);
|
labelKeyboard.Location = new Point(40, -2);
|
||||||
labelKeyboard.Margin = new Padding(8, 0, 8, 0);
|
labelKeyboard.Margin = new Padding(8, 0, 8, 0);
|
||||||
labelKeyboard.Name = "labelKeyboard";
|
labelKeyboard.Name = "labelKeyboard";
|
||||||
labelKeyboard.Size = new Size(210, 32);
|
labelKeyboard.Size = new Size(210, 32);
|
||||||
@@ -1526,5 +1549,6 @@ namespace GHelper
|
|||||||
private RButton buttonKeyboard;
|
private RButton buttonKeyboard;
|
||||||
private RButton buttonUpdates;
|
private RButton buttonUpdates;
|
||||||
private Label labelCharge;
|
private Label labelCharge;
|
||||||
|
private RButton buttonFnLock;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -196,9 +196,13 @@ namespace GHelper
|
|||||||
this.Resize += SettingsForm_Resize;
|
this.Resize += SettingsForm_Resize;
|
||||||
SetContextMenu();
|
SetContextMenu();
|
||||||
|
|
||||||
|
VisualiseFnLock();
|
||||||
|
buttonFnLock.Click += ButtonFnLock_Click;
|
||||||
|
|
||||||
panelPerformance.Focus();
|
panelPerformance.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void SettingsForm_Resize(object? sender, EventArgs e)
|
private void SettingsForm_Resize(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Left = Screen.FromControl(this).WorkingArea.Width - 10 - Width;
|
Left = Screen.FromControl(this).WorkingArea.Width - 10 - Width;
|
||||||
@@ -578,6 +582,14 @@ namespace GHelper
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void GPUInit()
|
||||||
|
{
|
||||||
|
Invoke(delegate
|
||||||
|
{
|
||||||
|
if (fans != null && fans.Text != "") fans.InitGPU();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public void FansToggle(int index = 0)
|
public void FansToggle(int index = 0)
|
||||||
{
|
{
|
||||||
if (fans == null || fans.Text == "")
|
if (fans == null || fans.Text == "")
|
||||||
@@ -633,7 +645,7 @@ namespace GHelper
|
|||||||
comboKeyboard.SelectedValueChanged += ComboKeyboard_SelectedValueChanged;
|
comboKeyboard.SelectedValueChanged += ComboKeyboard_SelectedValueChanged;
|
||||||
|
|
||||||
|
|
||||||
if (AppConfig.NoAuraColor())
|
if (AppConfig.IsSingleColor())
|
||||||
{
|
{
|
||||||
panelColor.Visible = false;
|
panelColor.Visible = false;
|
||||||
}
|
}
|
||||||
@@ -1194,6 +1206,28 @@ namespace GHelper
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void VisualiseFnLock()
|
||||||
|
{
|
||||||
|
|
||||||
|
if (AppConfig.Is("fn_lock"))
|
||||||
|
{
|
||||||
|
buttonFnLock.BackColor = colorStandard;
|
||||||
|
buttonFnLock.ForeColor = SystemColors.ControlLightLight;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
buttonFnLock.BackColor = buttonSecond;
|
||||||
|
buttonFnLock.ForeColor = SystemColors.ControlDark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void ButtonFnLock_Click(object? sender, EventArgs e)
|
||||||
|
{
|
||||||
|
InputDispatcher.ToggleFnLock();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# G-Helper - Lightweight control tool for Asus laptops
|
# G-Helper - Lightweight control tool for Asus laptops
|
||||||
[](https://u24.gov.ua/)
|
[](https://u24.gov.ua/)
|
||||||
[](https://GitHub.com/seerge/g-helper/releases/)
|
[](https://GitHub.com/seerge/g-helper/releases/)
|
||||||
[](https://GitHub.com/seerge/g-helper/releases/) [](https://GitHub.com/seerge/g-helper/stargazers/) <sup> Language: English | <a href="https://github.com/seerge/g-helper/blob/main/docs/README.zh-CN.md">[中文]</a></sup>
|
[](https://GitHub.com/seerge/g-helper/releases/) [](https://GitHub.com/seerge/g-helper/stargazers/) <sup> Language: English | <a href="https://github.com/seerge/g-helper/blob/main/docs/README.zh-CN.md">[中文]</a></sup>
|
||||||
|
|
||||||
Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on all popular models, such as ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, Flow Z13, TUF Series, Strix / Scar Series, ProArt, VivoBook and many more!
|
Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on all popular models, such as ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, Flow Z13, TUF Series, Strix / Scar Series, ProArt, VivoBook and many more!
|
||||||
|
|
||||||
@@ -52,13 +52,15 @@ _To keep auto switching and hotkeys working the app needs to stay running in the
|
|||||||
|
|
||||||
### :rocket: Performance Modes
|
### :rocket: Performance Modes
|
||||||
|
|
||||||
<img align="right" width="200" src="https://github.com/seerge/g-helper/assets/5920850/3e119674-db8d-486b-aa65-2bf9b61f9aa6">
|
<img align="right" width="300" src="https://github.com/seerge/g-helper/assets/5920850/3e119674-db8d-486b-aa65-2bf9b61f9aa6">
|
||||||
|
|
||||||
All Modes are **baked in BIOS** along with default fan curves and power limits. They are the **same** as in the Armoury Crate.
|
All Modes are **baked in BIOS** along with default fan curves and power limits and they are the **same** as in the Armoury Crate.
|
||||||
|
|
||||||
1. **Silent** in BIOS + **Best power efficiency** setting in Windows
|
Each BIOS mode is paired with matching Windows Power Mode. You can adjust this setting under ``Fans + Power``
|
||||||
2. **Balanced** (or Performance as it's called in AC) in BIOS + **Balanced** setting in Windows
|
|
||||||
3. **Turbo** in BIOS + **Best performance** setting in Windows
|
1. **Silent** in BIOS + **Best power efficiency** power mode
|
||||||
|
2. **Balanced** (Performance in AC) in BIOS + **Balanced** power mode
|
||||||
|
3. **Turbo** in BIOS + **Best performance** power mode
|
||||||
|
|
||||||
|
|
||||||
### :video_game: GPU Modes
|
### :video_game: GPU Modes
|
||||||
@@ -218,39 +220,23 @@ _Make sure to keep json structure (i.e. not to break it with extra or missing co
|
|||||||
|
|
||||||
By default the app will use your windows language setting. But you can set language manually (if it supported of course)
|
By default the app will use your windows language setting. But you can set language manually (if it supported of course)
|
||||||
|
|
||||||
``"language" : "en"`` (by replacing "en" with language of your choice)
|
```
|
||||||
|
"language" : "en",
|
||||||
|
```
|
||||||
|
(by replacing "en" with language of your choice)
|
||||||
|
|
||||||
### Custom windows power plans with each mode
|
### Custom windows power plans with each mode
|
||||||
|
|
||||||
You can manually assign a custom power plan (or power mode) GUID to each mode. It can be either "real" power plan that can be switched or "overlay" power plan like the ones g-helper sets by default.
|
You can manually assign a custom power plan GUID to each mode.
|
||||||
|
|
||||||
Format is following : ``"scheme_<mode>" : "GUID" ``
|
Format is following : ``"scheme_<mode>" : "GUID" ``
|
||||||
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
|
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
|
||||||
|
|
||||||
Default behavior is :
|
Example (for default windows "balanced" power plan):
|
||||||
```
|
```
|
||||||
"scheme_0": "00000000-0000-0000-0000-000000000000",
|
"scheme_0": "381b4222-f694-41f0-9685-ff5bb260df2e",
|
||||||
"scheme_1": "ded574b5-45a0-4f42-8737-46345c09c238",
|
"scheme_1": "381b4222-f694-41f0-9685-ff5bb260df2e",
|
||||||
"scheme_2": "961cc777-2547-4f9d-8174-7d86181b8a7a",
|
"scheme_2": "381b4222-f694-41f0-9685-ff5bb260df2e",
|
||||||
```
|
|
||||||
|
|
||||||
### Custom hotkey actions
|
|
||||||
|
|
||||||
Select ``Custom`` next to appropriate hotkey under ``Extra`` settings and do one of the following:
|
|
||||||
|
|
||||||
1. To run any custom application - put a full path to exe into "action" text field, for example:
|
|
||||||
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
|
|
||||||
|
|
||||||
2. To simulate any windows key - put appropriate keycode into the "action" field, for example ``0x2C`` for Print Screen.
|
|
||||||
Full list of keycodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
### Force Standard mode on shutdown / hibernation
|
|
||||||
|
|
||||||
In some rare cases G14 2023 seem to have issues with enabling / disabling dGPU - i.e. Eco mode. Till we wait for a fix from asus on BIOS level, one of the proposed solutions is to always shutdown the laptop in Standard mode (then everything seems to work fine). To enable "forced" Standard mode on shutdown add following line config
|
|
||||||
```
|
|
||||||
"gpu_fix" : 1,
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Disable OSD
|
### Disable OSD
|
||||||
@@ -265,11 +251,41 @@ Disable app's OSD (for performance modes, keyboard backlight, etc.)
|
|||||||
- ``Ctrl + M1 / M2`` - Screen brightness Down / Up
|
- ``Ctrl + M1 / M2`` - Screen brightness Down / Up
|
||||||
- ``Shift + M1 / M2`` - Backlight brightness Down / Up
|
- ``Shift + M1 / M2`` - Backlight brightness Down / Up
|
||||||
|
|
||||||
If you don't want this bindings to work you can add ``"skip_hotkeys":1,``
|
If you don't want this bindings to work you can add
|
||||||
|
```
|
||||||
|
"skip_hotkeys":1,
|
||||||
|
```
|
||||||
|
|
||||||
### Keybinding to toggle performance modes (on external keyboards)
|
### Toggle Performance Mode key binding
|
||||||
|
|
||||||
By default the app will toggle performance modes with Ctr+Shift+F5. You can change this binding by adding ``"keybind_profile": 116`` in config.json (under ``%AppData%\GHelper``), where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
|
To change binding for Toggle Performance Modes to ``Ctrl + Shift + KEY``
|
||||||
|
|
||||||
|
```
|
||||||
|
"keybind_profile": 116,
|
||||||
|
```
|
||||||
|
|
||||||
|
Where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
|
||||||
|
|
||||||
|
|
||||||
|
### Higher Maximum GPU Clock / Memory Offsets
|
||||||
|
|
||||||
|
By default under GPU section you can set up to +250/+250 for Core and Memory Clock Offset. To increase this value:
|
||||||
|
```
|
||||||
|
"max_gpu_core": 300,
|
||||||
|
"max_gpu_memory": 1500,
|
||||||
|
```
|
||||||
|
|
||||||
|
### Custom hotkey actions
|
||||||
|
|
||||||
|
Select ``Custom`` next to appropriate hotkey under ``Extra`` settings and do one of the following:
|
||||||
|
|
||||||
|
1. To run any custom application - put a full path to exe into "action" text field, for example:
|
||||||
|
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
|
||||||
|
|
||||||
|
2. To simulate any windows key - put appropriate keycode into the "action" field, for example ``0x2C`` for Print Screen.
|
||||||
|
Full list of keycodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user