Compare commits

...

12 Commits

Author SHA1 Message Date
Serge
e58a396cbd CPU power limits for old devices 2023-06-22 15:53:35 +02:00
Serge
40ecdf0d35 Max GPU core/memory config settings 2023-06-20 16:20:14 +02:00
Serge
f31b05dcd1 Aura cleanup 2023-06-20 13:48:32 +02:00
Serge
d778838ad4 Release script 2023-06-19 16:15:33 +02:00
Serge
b177dacf8b Merge branch 'main' of https://github.com/seerge/g-helper 2023-06-19 13:53:09 +02:00
Serge
6e9cc51a5f G15 Advantage Edition TDP 2023-06-19 13:53:07 +02:00
Serge
e2a6b770a0 Update README.md 2023-06-18 17:32:16 +02:00
Serge
055e83e976 Default temp fix 2023-06-18 15:28:52 +02:00
Serge
40be93b60d UV/Temp reset fix 2023-06-18 15:23:29 +02:00
Serge
2c2eed4fe2 Temp limit and update checker 2023-06-18 14:59:37 +02:00
Serge
8d6b277fda Merge branch 'main' of https://github.com/seerge/g-helper 2023-06-17 13:24:16 +02:00
Serge
8e6f54e833 Update README.md 2023-06-17 10:39:06 +02:00
20 changed files with 351 additions and 124 deletions

View File

@@ -20,9 +20,9 @@ jobs:
- name: Publish
run: |
dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained
powershell Compress-Archive app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/GHelper.exe GHelper.zip
powershell Compress-Archive app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/* GHelper.zip
- name: Upload
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ github.ref_name }} app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/GHelper.exe GHelper.zip
gh release upload ${{ github.ref_name }} GHelper.zip

View File

@@ -106,8 +106,7 @@ public class AsusACPI
public const int GPUModeStandard = 1;
public const int GPUModeUltimate = 2;
public const int MaxTotal = 150;
public static int MaxTotal => AppConfig.ContainsModel("G513QY") ? 250 : 150;
public const int MinTotal = 5;
public const int DefaultTotal = 125;
@@ -428,6 +427,7 @@ public class AsusACPI
return DeviceGet(PPT_CPUB0) >= 0 && DeviceGet(PPT_GPUC0) < 0;
}
public void ScanRange()
{
int value;

View File

@@ -179,13 +179,11 @@ namespace GHelper
}
private static IEnumerable<HidDevice> GetHidDevices(int[] deviceIds, int minInput = 18, int minFeatures = 1)
private static IEnumerable<HidDevice> GetHidDevices(int[] deviceIds, int minFeatures = 1)
{
HidDevice[] HidDeviceList = HidDevices.Enumerate(ASUS_ID, deviceIds).ToArray();
foreach (HidDevice device in HidDeviceList)
if (device.IsConnected
&& device.Capabilities.FeatureReportByteLength >= minFeatures
&& device.Capabilities.InputReportByteLength >= minInput)
if (device.IsConnected && device.Capabilities.FeatureReportByteLength >= minFeatures)
yield return device;
}
@@ -235,7 +233,7 @@ namespace GHelper
{
Task.Run(async () =>
{
var devices = GetHidDevices(deviceIds, 0);
var devices = GetHidDevices(deviceIds);
foreach (HidDevice device in devices)
{
device.OpenDevice();
@@ -263,7 +261,7 @@ namespace GHelper
byte[] msg = { AURA_HID_ID, 0xba, 0xc5, 0xc4, (byte)brightness };
byte[] msgBackup = { INPUT_HID_ID, 0xba, 0xc5, 0xc4, (byte)brightness };
var devices = GetHidDevices(deviceIds, 0);
var devices = GetHidDevices(deviceIds);
foreach (HidDevice device in devices)
{
device.OpenDevice();
@@ -289,7 +287,7 @@ namespace GHelper
{
byte[] msgBackup = { INPUT_HID_ID, 0xba, 0xc5, 0xc4, (byte)brightness };
var devicesBackup = GetHidDevices(deviceIds, 0);
var devicesBackup = GetHidDevices(deviceIds);
foreach (HidDevice device in devicesBackup)
{
device.OpenDevice();
@@ -312,13 +310,15 @@ namespace GHelper
var devices = GetHidDevices(deviceIds);
//Logger.WriteLine("USB-KB = " + BitConverter.ToString(msg));
foreach (HidDevice device in devices)
{
device.OpenDevice();
device.WriteFeatureData(msg);
Logger.WriteLine("USB-KB " + device.Attributes.ProductHexId + ":" + BitConverter.ToString(msg));
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
device.WriteFeatureData(msg);
Logger.WriteLine("USB-KB " + device.Attributes.ProductHexId + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
}
@@ -351,23 +351,19 @@ namespace GHelper
}
byte[] msg = AuraMessage(Mode, Color1, Color2, _speed);
var devices = GetHidDevices(deviceIds);
if (devices.Count() == 0)
{
Logger.WriteLine("USB-KB : not found");
devices = GetHidDevices(deviceIds, 1);
}
foreach (HidDevice device in devices)
{
device.OpenDevice();
device.WriteFeatureData(msg);
device.WriteFeatureData(MESSAGE_SET);
device.WriteFeatureData(MESSAGE_APPLY);
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
device.WriteFeatureData(msg);
//device.WriteFeatureData(MESSAGE_SET);
device.WriteFeatureData(MESSAGE_APPLY);
Logger.WriteLine("USB-KB " + device.Capabilities.FeatureReportByteLength + "|" + device.Capabilities.InputReportByteLength + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
Logger.WriteLine("USB-KB " + device.Capabilities.FeatureReportByteLength + "|" + device.Capabilities.InputReportByteLength + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
}
if (AppConfig.ContainsModel("TUF"))
@@ -385,7 +381,7 @@ namespace GHelper
var payload = new byte[300];
Array.Copy(msg, payload, msg.Length);
foreach (HidDevice device in GetHidDevices(new int[] { 0x1970 }, 0, 300))
foreach (HidDevice device in GetHidDevices(new int[] { 0x1970 }, 300))
{
device.OpenDevice();
Logger.WriteLine("XGM " + device.Attributes.ProductHexId + "|" + device.Capabilities.FeatureReportByteLength + ":" + BitConverter.ToString(msg));

180
app/Fans.Designer.cs generated
View File

@@ -74,8 +74,15 @@ namespace GHelper
labelLeftUV = new Label();
trackUV = new TrackBar();
panelTitleAdvanced = new Panel();
pictureAdvanced = new PictureBox();
labelAdvanced = new Label();
pictureUV = new PictureBox();
labelTitleUV = new Label();
panelTemperature = new Panel();
labelTemp = new Label();
labelLeftTemp = new Label();
trackTemp = new TrackBar();
panelTitleTemp = new Panel();
pictureTemp = new PictureBox();
labelTempLimit = new Label();
panelPower = new Panel();
panelApplyPower = new Panel();
checkApplyPower = new RCheckBox();
@@ -140,7 +147,11 @@ namespace GHelper
panelUV.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackUV).BeginInit();
panelTitleAdvanced.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureAdvanced).BeginInit();
((System.ComponentModel.ISupportInitialize)pictureUV).BeginInit();
panelTemperature.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackTemp).BeginInit();
panelTitleTemp.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureTemp).BeginInit();
panelPower.SuspendLayout();
panelApplyPower.SuspendLayout();
panelB0.SuspendLayout();
@@ -474,10 +485,12 @@ namespace GHelper
panelAdvanced.Controls.Add(panelUViGPU);
panelAdvanced.Controls.Add(panelUV);
panelAdvanced.Controls.Add(panelTitleAdvanced);
panelAdvanced.Controls.Add(panelTemperature);
panelAdvanced.Controls.Add(panelTitleTemp);
panelAdvanced.Dock = DockStyle.Top;
panelAdvanced.Location = new Point(10, 1284);
panelAdvanced.Name = "panelAdvanced";
panelAdvanced.Size = new Size(520, 588);
panelAdvanced.Size = new Size(520, 778);
panelAdvanced.TabIndex = 14;
panelAdvanced.Visible = false;
//
@@ -486,7 +499,7 @@ namespace GHelper
panelAdvancedApply.Controls.Add(checkApplyUV);
panelAdvancedApply.Controls.Add(buttonApplyAdvanced);
panelAdvancedApply.Dock = DockStyle.Top;
panelAdvancedApply.Location = new Point(0, 512);
panelAdvancedApply.Location = new Point(0, 702);
panelAdvancedApply.Name = "panelAdvancedApply";
panelAdvancedApply.Size = new Size(520, 76);
panelAdvancedApply.TabIndex = 47;
@@ -524,11 +537,14 @@ namespace GHelper
//
// labelRisky
//
labelRisky.BackColor = Color.IndianRed;
labelRisky.Dock = DockStyle.Top;
labelRisky.Location = new Point(0, 314);
labelRisky.ForeColor = SystemColors.ControlLightLight;
labelRisky.Location = new Point(0, 504);
labelRisky.Margin = new Padding(0, 0, 0, 0);
labelRisky.Name = "labelRisky";
labelRisky.Padding = new Padding(10, 10, 10, 5);
labelRisky.Size = new Size(520, 198);
labelRisky.Size = new Size(520, 220);
labelRisky.TabIndex = 46;
labelRisky.Text = resources.GetString("labelRisky.Text");
//
@@ -540,7 +556,7 @@ namespace GHelper
panelUViGPU.Controls.Add(labelLeftUViGPU);
panelUViGPU.Controls.Add(trackUViGPU);
panelUViGPU.Dock = DockStyle.Top;
panelUViGPU.Location = new Point(0, 190);
panelUViGPU.Location = new Point(0, 380);
panelUViGPU.Margin = new Padding(4);
panelUViGPU.MaximumSize = new Size(0, 124);
panelUViGPU.Name = "panelUViGPU";
@@ -588,7 +604,7 @@ namespace GHelper
panelUV.Controls.Add(labelLeftUV);
panelUV.Controls.Add(trackUV);
panelUV.Dock = DockStyle.Top;
panelUV.Location = new Point(0, 66);
panelUV.Location = new Point(0, 256);
panelUV.Margin = new Padding(4);
panelUV.MaximumSize = new Size(0, 124);
panelUV.Name = "panelUV";
@@ -630,36 +646,117 @@ namespace GHelper
//
// panelTitleAdvanced
//
panelTitleAdvanced.Controls.Add(pictureAdvanced);
panelTitleAdvanced.Controls.Add(labelAdvanced);
panelTitleAdvanced.Controls.Add(pictureUV);
panelTitleAdvanced.Controls.Add(labelTitleUV);
panelTitleAdvanced.Dock = DockStyle.Top;
panelTitleAdvanced.Location = new Point(0, 0);
panelTitleAdvanced.Location = new Point(0, 190);
panelTitleAdvanced.Name = "panelTitleAdvanced";
panelTitleAdvanced.Size = new Size(520, 66);
panelTitleAdvanced.TabIndex = 48;
//
// pictureAdvanced
// pictureUV
//
pictureAdvanced.BackgroundImage = Properties.Resources.icons8_voltage_60;
pictureAdvanced.BackgroundImageLayout = ImageLayout.Zoom;
pictureAdvanced.InitialImage = null;
pictureAdvanced.Location = new Point(10, 18);
pictureAdvanced.Margin = new Padding(4, 2, 4, 10);
pictureAdvanced.Name = "pictureAdvanced";
pictureAdvanced.Size = new Size(36, 38);
pictureAdvanced.TabIndex = 48;
pictureAdvanced.TabStop = false;
pictureUV.BackgroundImage = Properties.Resources.icons8_voltage_60;
pictureUV.BackgroundImageLayout = ImageLayout.Zoom;
pictureUV.InitialImage = null;
pictureUV.Location = new Point(10, 18);
pictureUV.Margin = new Padding(4, 2, 4, 10);
pictureUV.Name = "pictureUV";
pictureUV.Size = new Size(36, 38);
pictureUV.TabIndex = 48;
pictureUV.TabStop = false;
//
// labelAdvanced
// labelTitleUV
//
labelAdvanced.AutoSize = true;
labelAdvanced.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelAdvanced.Location = new Point(51, 20);
labelAdvanced.Margin = new Padding(4, 0, 4, 0);
labelAdvanced.Name = "labelAdvanced";
labelAdvanced.Size = new Size(166, 32);
labelAdvanced.TabIndex = 47;
labelAdvanced.Text = "Undervolting";
labelTitleUV.AutoSize = true;
labelTitleUV.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelTitleUV.Location = new Point(51, 20);
labelTitleUV.Margin = new Padding(4, 0, 4, 0);
labelTitleUV.Name = "labelTitleUV";
labelTitleUV.Size = new Size(166, 32);
labelTitleUV.TabIndex = 47;
labelTitleUV.Text = "Undervolting";
//
// panelTemperature
//
panelTemperature.AutoSize = true;
panelTemperature.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelTemperature.Controls.Add(labelTemp);
panelTemperature.Controls.Add(labelLeftTemp);
panelTemperature.Controls.Add(trackTemp);
panelTemperature.Dock = DockStyle.Top;
panelTemperature.Location = new Point(0, 66);
panelTemperature.Margin = new Padding(4);
panelTemperature.MaximumSize = new Size(0, 124);
panelTemperature.Name = "panelTemperature";
panelTemperature.Size = new Size(520, 124);
panelTemperature.TabIndex = 51;
//
// labelTemp
//
labelTemp.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelTemp.Location = new Point(347, 13);
labelTemp.Margin = new Padding(4, 0, 4, 0);
labelTemp.Name = "labelTemp";
labelTemp.Size = new Size(148, 32);
labelTemp.TabIndex = 13;
labelTemp.Text = "T";
labelTemp.TextAlign = ContentAlignment.TopRight;
//
// labelLeftTemp
//
labelLeftTemp.AutoSize = true;
labelLeftTemp.Location = new Point(10, 10);
labelLeftTemp.Margin = new Padding(4, 0, 4, 0);
labelLeftTemp.Name = "labelLeftTemp";
labelLeftTemp.Size = new Size(183, 32);
labelLeftTemp.TabIndex = 12;
labelLeftTemp.Text = "CPU Temp Limit";
//
// trackTemp
//
trackTemp.Location = new Point(6, 48);
trackTemp.Margin = new Padding(4, 2, 4, 2);
trackTemp.Maximum = 0;
trackTemp.Minimum = -40;
trackTemp.Name = "trackTemp";
trackTemp.Size = new Size(508, 90);
trackTemp.TabIndex = 11;
trackTemp.TickFrequency = 5;
trackTemp.TickStyle = TickStyle.TopLeft;
//
// panelTitleTemp
//
panelTitleTemp.Controls.Add(pictureTemp);
panelTitleTemp.Controls.Add(labelTempLimit);
panelTitleTemp.Dock = DockStyle.Top;
panelTitleTemp.Location = new Point(0, 0);
panelTitleTemp.Name = "panelTitleTemp";
panelTitleTemp.Size = new Size(520, 66);
panelTitleTemp.TabIndex = 50;
//
// pictureTemp
//
pictureTemp.BackgroundImage = Properties.Resources.icons8_temperature_48;
pictureTemp.BackgroundImageLayout = ImageLayout.Zoom;
pictureTemp.InitialImage = null;
pictureTemp.Location = new Point(10, 18);
pictureTemp.Margin = new Padding(4, 2, 4, 10);
pictureTemp.Name = "pictureTemp";
pictureTemp.Size = new Size(36, 38);
pictureTemp.TabIndex = 48;
pictureTemp.TabStop = false;
//
// labelTempLimit
//
labelTempLimit.AutoSize = true;
labelTempLimit.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelTempLimit.Location = new Point(51, 20);
labelTempLimit.Margin = new Padding(4, 0, 4, 0);
labelTempLimit.Name = "labelTempLimit";
labelTempLimit.Size = new Size(140, 32);
labelTempLimit.TabIndex = 47;
labelTempLimit.Text = "Temp Limit";
//
// panelPower
//
@@ -695,7 +792,7 @@ namespace GHelper
checkApplyPower.Margin = new Padding(0);
checkApplyPower.Name = "checkApplyPower";
checkApplyPower.Padding = new Padding(16, 6, 16, 6);
checkApplyPower.Size = new Size(329, 46);
checkApplyPower.Size = new Size(489, 46);
checkApplyPower.TabIndex = 45;
checkApplyPower.Text = "Apply Power Limits";
checkApplyPower.UseVisualStyleBackColor = false;
@@ -1308,7 +1405,13 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)trackUV).EndInit();
panelTitleAdvanced.ResumeLayout(false);
panelTitleAdvanced.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureAdvanced).EndInit();
((System.ComponentModel.ISupportInitialize)pictureUV).EndInit();
panelTemperature.ResumeLayout(false);
panelTemperature.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackTemp).EndInit();
panelTitleTemp.ResumeLayout(false);
panelTitleTemp.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureTemp).EndInit();
panelPower.ResumeLayout(false);
panelPower.PerformLayout();
panelApplyPower.ResumeLayout(false);
@@ -1416,8 +1519,8 @@ namespace GHelper
private Label labelUV;
private Label labelLeftUV;
private TrackBar trackUV;
private PictureBox pictureAdvanced;
private Label labelAdvanced;
private PictureBox pictureUV;
private Label labelTitleUV;
private RButton buttonApplyAdvanced;
private Panel panelApplyPower;
private Panel panelAdvanced;
@@ -1436,5 +1539,12 @@ namespace GHelper
private PictureBox pictureBoost;
private Label labelBoostTitle;
private Label labelRisky;
private Panel panelTitleTemp;
private PictureBox pictureTemp;
private Label labelTempLimit;
private Panel panelTemperature;
private Label labelTemp;
private Label labelLeftTemp;
private TrackBar trackTemp;
}
}

View File

@@ -1,10 +1,7 @@
using CustomControls;
using GHelper.Gpu;
using Ryzen;
using System;
using System.Diagnostics;
using System.Net.Sockets;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
namespace GHelper
@@ -53,6 +50,8 @@ namespace GHelper
labelGPUBoostTitle.Text = Properties.Strings.GPUBoost;
labelGPUTempTitle.Text = Properties.Strings.GPUTempTarget;
labelRisky.Text = Properties.Strings.UndervoltingRisky;
InitTheme(true);
MinRPM = 18;
@@ -132,6 +131,17 @@ namespace GHelper
//labelInfo.MaximumSize = new Size(280, 0);
labelFansResult.Visible = false;
trackUV.Minimum = Undervolter.MinCPUUV;
trackUV.Maximum = Undervolter.MaxCPUUV;
trackUViGPU.Minimum = Undervolter.MinIGPUUV;
trackUViGPU.Maximum = Undervolter.MaxIGPUUV;
trackTemp.Minimum = Undervolter.MinTemp;
trackTemp.Maximum = Undervolter.MaxTemp;
FillModes();
InitAll();
@@ -147,14 +157,10 @@ namespace GHelper
buttonRemove.Click += ButtonRemove_Click;
buttonRename.Click += ButtonRename_Click;
trackUV.Minimum = -30;
trackUV.Maximum = 0;
trackUViGPU.Minimum = -20;
trackUViGPU.Maximum = 0;
trackUV.Scroll += TrackUV_Scroll;
trackUViGPU.Scroll += TrackUV_Scroll;
trackTemp.Scroll += TrackUV_Scroll;
buttonApplyAdvanced.Click += ButtonApplyAdvanced_Click;
@@ -249,6 +255,9 @@ namespace GHelper
int cpuUV = Math.Max(trackUV.Minimum, Math.Min(trackUV.Maximum, AppConfig.GetMode("cpu_uv", 0)));
int igpuUV = Math.Max(trackUViGPU.Minimum, Math.Min(trackUViGPU.Maximum, AppConfig.GetMode("igpu_uv", 0)));
int temp = AppConfig.GetMode("cpu_temp");
if (temp < trackTemp.Minimum || temp > trackTemp.Maximum) temp = 96;
checkApplyUV.Enabled = checkApplyUV.Checked = AppConfig.IsMode("auto_uv");
trackUV.Value = cpuUV;
@@ -257,22 +266,32 @@ namespace GHelper
trackUViGPU.Value = igpuUV;
labelUViGPU.Text = trackUViGPU.Value.ToString();
trackTemp.Value = temp;
labelTemp.Text = trackTemp.Value.ToString() + "°C";
buttonAdvanced.Visible = Undervolter.IsAMD();
}
private void TrackUV_Scroll(object? sender, EventArgs e)
private void AdvancedScroll()
{
AppConfig.SetMode("auto_uv", 0);
checkApplyUV.Enabled = checkApplyUV.Checked = false;
labelUV.Text = trackUV.Value.ToString();
labelUViGPU.Text = trackUViGPU.Value.ToString();
labelTemp.Text = trackTemp.Value.ToString() + "°C";
AppConfig.SetMode("cpu_temp", trackTemp.Value);
AppConfig.SetMode("cpu_uv", trackUV.Value);
AppConfig.SetMode("igpu_uv", trackUViGPU.Value);
}
private void TrackUV_Scroll(object? sender, EventArgs e)
{
AdvancedScroll();
}
private void ComboModes_KeyPress(object? sender, KeyPressEventArgs e)
@@ -603,7 +622,7 @@ namespace GHelper
public void InitPower(bool changed = false)
{
bool modeA0 = Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0;
bool modeA0 = Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0 || Undervolter.IsAMD();
bool modeB0 = Program.acpi.IsAllAmdPPT();
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
@@ -814,8 +833,10 @@ namespace GHelper
trackUV.Value = 0;
trackUViGPU.Value = 0;
AppConfig.SetMode("cpu_uv", 0);
AppConfig.SetMode("igpu_uv", 0);
trackTemp.Value = 96;
AdvancedScroll();
AppConfig.SetMode("cpu_temp", -1);
if (gpuVisible)
{

View File

@@ -16,7 +16,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<AssemblyVersion>0.87</AssemblyVersion>
<AssemblyVersion>0.90</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@@ -11,8 +11,8 @@ namespace GHelper.Gpu;
public class NvidiaGpuControl : IGpuControl
{
public const int MaxCoreOffset = 250;
public const int MaxMemoryOffset = 250;
public static int MaxCoreOffset => AppConfig.Get("max_gpu_core", 250);
public static int MaxMemoryOffset => AppConfig.Get("max_gpu_memory", 250);
public const int MinCoreOffset = -250;
public const int MinMemoryOffset = -250;
@@ -79,6 +79,12 @@ public class NvidiaGpuControl : IGpuControl
core = states.Clocks[PerformanceStateId.P0_3DPerformance][0].FrequencyDeltaInkHz.DeltaValue / 1000;
memory = states.Clocks[PerformanceStateId.P0_3DPerformance][1].FrequencyDeltaInkHz.DeltaValue / 1000;
Logger.WriteLine($"GET GPU CLOCKS: {core}, {memory}");
foreach (var delta in states.Voltages[PerformanceStateId.P0_3DPerformance])
{
Logger.WriteLine("GPU VOLT:" + delta.IsEditable + " - " + delta.ValueDeltaInMicroVolt.DeltaValue);
}
return 0;
}
@@ -117,7 +123,7 @@ public class NvidiaGpuControl : IGpuControl
return status;
}
public int SetClocks(int core, int memory)
public int SetClocks(int core, int memory, int voltage = 0)
{
if (core < MinCoreOffset || core > MaxCoreOffset) return 0;
@@ -127,9 +133,10 @@ public class NvidiaGpuControl : IGpuControl
var coreClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Graphics, new PerformanceStates20ParameterDelta(core * 1000));
var memoryClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Memory, new PerformanceStates20ParameterDelta(memory * 1000));
var voltageEntry = new PerformanceStates20BaseVoltageEntryV1(PerformanceVoltageDomain.Core, new PerformanceStates20ParameterDelta(voltage));
PerformanceStates20ClockEntryV1[] clocks = { coreClock, memoryClock };
PerformanceStates20BaseVoltageEntryV1[] voltages = { };
PerformanceStates20BaseVoltageEntryV1[] voltages = { };
PerformanceState20[] performanceStates = { new PerformanceState20(PerformanceStateId.P0_3DPerformance, clocks, voltages) };

View File

@@ -193,6 +193,10 @@ namespace GHelper
switch (action)
{
case "cpu":
Startup.ReScheduleAdmin();
settingsForm.FansToggle();
break;
case "gpu":
Startup.ReScheduleAdmin();
settingsForm.FansToggle(1);

View File

@@ -480,6 +480,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_temperature_48 {
get {
object obj = ResourceManager.GetObject("icons8-temperature-48", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@@ -118,6 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="icons8-video-card-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-card-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="brightness_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\brightness-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -157,9 +160,6 @@
<data name="icons8-processor-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-processor-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-fan-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_add_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-add-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -169,9 +169,6 @@
<data name="icons8-spa-flower-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-spa-flower-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_share_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-share-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -190,9 +187,6 @@
<data name="brightness_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\brightness-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-save-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-save-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-fan-speed-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-speed-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -214,14 +208,17 @@
<data name="icons8-charging-battery-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-charging-battery-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="backlight_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-spa-flower-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-spa-flower-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-speed-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-speed-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-save-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-save-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_function" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-function-mac-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -229,8 +226,8 @@
<data name="icons8-balance-symbol-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-balance-symbol-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-organic-food-961" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-organic-food-961.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-fan-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-matrix-desktop-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-matrix-desktop-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -238,15 +235,18 @@
<data name="icons8_remove_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-remove-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-speed-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-speed-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-xbox-controller-96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-xbox-controller-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-organic-food-961" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-organic-food-961.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-project-management-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-project-management-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-video-card-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-card-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-leaf-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-leaf-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -256,13 +256,16 @@
<data name="backlight_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-boost-30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-boost-30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-speed-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-speed-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_video_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-boost-30" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-boost-30.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-temperature-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-temperature-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@@ -160,7 +160,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Looks up a localized string similar to Apply.
/// Looks up a localized string similar to Apply Power Limits.
/// </summary>
internal static string ApplyPowerLimits {
get {
@@ -1176,6 +1176,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Undervolting is experimental and risky feature. If applied values are too low for your hardware, it can become unstable, shut down or cause data corruption. If you want to try - start from small values first, click Apply and test what works for you..
/// </summary>
internal static string UndervoltingRisky {
get {
return ResourceManager.GetString("UndervoltingRisky", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Updates.
/// </summary>

View File

@@ -403,7 +403,7 @@
<value>Overdrive</value>
</data>
<data name="PerformanceMode" xml:space="preserve">
<value>Modo de rendimiento</value>
<value>Modo</value>
</data>
<data name="PictureGif" xml:space="preserve">
<value>Imagen / Gif</value>

View File

@@ -489,6 +489,9 @@
<data name="UltimateMode" xml:space="preserve">
<value>Ultimate</value>
</data>
<data name="UndervoltingRisky" xml:space="preserve">
<value>Undervolting is experimental and risky feature. If applied values are too low for your hardware, it can become unstable, shut down or cause data corruption. If you want to try - start from small values first, click Apply and test what works for you.</value>
</data>
<data name="Updates" xml:space="preserve">
<value>Updates</value>
</data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

View File

@@ -135,12 +135,16 @@ namespace Ryzen
public Status SendMp1(uint message, ref uint[] arguments)
{
return SendMsg(MP1_ADDR_MSG, MP1_ADDR_RSP, MP1_ADDR_ARG, message, ref arguments);
var result = SendMsg(MP1_ADDR_MSG, MP1_ADDR_RSP, MP1_ADDR_ARG, message, ref arguments);
Logger.WriteLine($"RyzenMP1:{message} {arguments[0]} {result}");
return result;
}
public Status SendPsmu(uint message, ref uint[] arguments)
{
return SendMsg(PSMU_ADDR_MSG, PSMU_ADDR_RSP, PSMU_ADDR_ARG, message, ref arguments);
var result = SendMsg(PSMU_ADDR_MSG, PSMU_ADDR_RSP, PSMU_ADDR_ARG, message, ref arguments);
Logger.WriteLine($"RyzenPSMU:{message} {arguments[0]} {result}");
return result;
}

View File

@@ -195,15 +195,17 @@ namespace Ryzen
uint[] Args = new uint[6];
Args[0] = value;
Smu.Status? result = null;
switch (FAMID)
{
case -1:
RyzenAccess.SendPsmu(0x68, ref Args);
result = RyzenAccess.SendPsmu(0x68, ref Args);
break;
case 0:
case 1:
case 2:
RyzenAccess.SendMp1(0x1f, ref Args);
result = RyzenAccess.SendMp1(0x1f, ref Args);
break;
case 3:
case 5:
@@ -211,19 +213,22 @@ namespace Ryzen
case 8:
case 9:
case 11:
RyzenAccess.SendMp1(0x19, ref Args);
result = RyzenAccess.SendMp1(0x19, ref Args);
break;
case 4:
case 6:
RyzenAccess.SendMp1(0x23, ref Args);
RyzenAccess.SendPsmu(0x56, ref Args);
result = RyzenAccess.SendPsmu(0x56, ref Args);
break;
case 10:
RyzenAccess.SendPsmu(0x59, ref Args);
result = RyzenAccess.SendPsmu(0x59, ref Args);
break;
default:
break;
}
Logger.WriteLine($"CPU Temp: {value} {result}");
RyzenAccess.Deinitialize();
}
@@ -262,21 +267,26 @@ namespace Ryzen
uint[] Args = new uint[6];
Args[0] = value;
Smu.Status? result = null;
switch (FAMID)
{
case 5:
case 8:
case 9:
case 11:
RyzenAccess.SendMp1(0x33, ref Args);
result = RyzenAccess.SendMp1(0x33, ref Args);
break;
case 3:
case 7:
RyzenAccess.SendMp1(0x38, ref Args);
result = RyzenAccess.SendMp1(0x38, ref Args);
break;
default:
break;
}
Logger.WriteLine($"APU Temp: {value} {result}");
RyzenAccess.Deinitialize();
}

View File

@@ -10,6 +10,16 @@ namespace Ryzen
{
internal class Undervolter
{
public const int MinCPUUV = -30;
public const int MaxCPUUV = 0;
public const int MinIGPUUV = -20;
public const int MaxIGPUUV = 0;
public const int MinTemp = 75;
public const int MaxTemp = 98;
public static string[] FAM = { "RAVEN", "PICASSO", "DALI", "RENOIR/LUCIENNE", "MATISSE", "VANGOGH", "VERMEER", "CEZANNE/BARCELO", "REMBRANDT", "PHOENIX", "RAPHAEL/DRAGON RANGE" };
public static int FAMID { get; protected set; }
@@ -116,11 +126,14 @@ namespace Ryzen
public static bool IsAMD()
{
if (CPUName.Length == 0) Init();
return CPUName.Contains("AMD") || CPUName.Contains("Ryzen") || CPUName.Contains("Athlon") || CPUName.Contains("Radeon") || CPUName.Contains("AMD Custom APU 0405");
}
public static bool IsRyzen9()
{
if (CPUName.Length == 0) Init();
return CPUName.Contains("Ryzen 9");
}
public static void SetAddresses()

View File

@@ -31,6 +31,7 @@ namespace GHelper
public Extra keyb;
public Updates updates;
static long lastUpdate;
static long lastRefresh;
private bool customFans = false;
@@ -182,11 +183,6 @@ namespace GHelper
SetContextMenu();
Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromSeconds(1));
CheckForUpdatesAsync();
});
}
@@ -197,6 +193,17 @@ namespace GHelper
{
InitScreen();
InitXGM();
// Run update once per 12 hours
if (Math.Abs(DateTimeOffset.Now.ToUnixTimeSeconds() - lastUpdate) < 43200) return;
lastUpdate = DateTimeOffset.Now.ToUnixTimeSeconds();
Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromSeconds(1));
CheckForUpdatesAsync();
});
}
}
@@ -1029,7 +1036,7 @@ namespace GHelper
labelPerf.Text = Properties.Strings.PerformanceMode + ": " + Modes.GetCurrentName() + (customFans ? "+" : "") + ((customPower > 0) ? " " + customPower + "W" : "");
}
public void SetPower()
public void SetPower(bool launchAsAdmin = false)
{
int limit_total = AppConfig.GetMode("limit_total");
@@ -1051,6 +1058,21 @@ namespace GHelper
Program.acpi.DeviceSet(AsusACPI.PPT_TotalA0, limit_total, "PowerLimit A0");
Program.acpi.DeviceSet(AsusACPI.PPT_APUA3, limit_total, "PowerLimit A3");
customPower = limit_total;
} else if (Undervolter.IsAMD())
{
if (ProcessHelper.IsUserAdministrator())
{
SendCommand.set_stapm_limit((uint)limit_total * 1000);
SendCommand.set_stapm2_limit((uint)limit_total * 1000);
SendCommand.set_slow_limit((uint)limit_total * 1000);
SendCommand.set_fast_limit((uint)limit_total * 1000);
customPower = limit_total;
} else if (launchAsAdmin)
{
ProcessHelper.RunAsAdmin("cpu");
return;
}
}
if (Program.acpi.IsAllAmdPPT()) // CPU limit all amd models
@@ -1145,19 +1167,28 @@ namespace GHelper
int cpuUV = AppConfig.GetMode("cpu_uv", 0);
int igpuUV = AppConfig.GetMode("igpu_uv", 0);
int cpuTemp = AppConfig.GetMode("cpu_temp");
try
{
if (cpuUV >= -40 && cpuUV <= 0)
if (cpuUV >= Undervolter.MinCPUUV && cpuUV <= Undervolter.MaxCPUUV)
{
SendCommand.set_coall(cpuUV);
}
if (igpuUV >= -40 && igpuUV <= 0)
if (igpuUV >= Undervolter.MinIGPUUV && igpuUV <= Undervolter.MaxIGPUUV)
{
SendCommand.set_cogfx(igpuUV);
}
} catch (Exception ex)
if (cpuTemp >= Undervolter.MinTemp && cpuTemp <= Undervolter.MaxTemp)
{
SendCommand.set_tctl_temp((uint)cpuTemp);
SendCommand.set_apu_skin_temp_limit((uint)cpuTemp);
}
}
catch (Exception ex)
{
Logger.WriteLine("UV Error: " + ex.ToString());
}
@@ -1277,7 +1308,7 @@ namespace GHelper
}
else
{
if (applyPower) SetPower();
if (applyPower) SetPower(true);
SetGPUPower();
AutoUV();
}

View File

@@ -1,5 +1,4 @@
using CustomControls;
using HidSharp;
using System.Diagnostics;
using System.Management;
using System.Net;
@@ -90,7 +89,8 @@ namespace GHelper
{
model = results[0];
bios = results[1];
} else
}
else
{
model = obj["SMBIOSBIOSVersion"].ToString();
}
@@ -118,7 +118,7 @@ namespace GHelper
var groups = data.GetProperty("Result").GetProperty("Obj");
List<string> skipList = new() { "Armoury Crate & Aura Creator Installer", "MyASUS", "ASUS Smart Display Control", "Aura Wallpaper", "Virtual Pet","ROG Font V1.5" };
List<string> skipList = new() { "Armoury Crate & Aura Creator Installer", "MyASUS", "ASUS Smart Display Control", "Aura Wallpaper", "Virtual Pet", "ROG Font V1.5" };
List<DriverDownload> drivers = new();
for (int i = 0; i < groups.GetArrayLength(); i++)

View File

@@ -73,7 +73,7 @@ _PPTs are shown for G14 2022, for other models PPTs will be different as they ar
## :question: FAQ
#### How do I stop the Armory Crate install popup appearing every time I press the M4 / Rog key?
Delete or move somewhere following file ``C:\Windows\System32\ASUSACCI\ArmouryCrateKeyControl.exe``.
Stop ``ArmouryCrateControlInterface`` service under windows Services app.
If it still appears - Go to BIOS (F2 on boot), open Advanced Settings and disable "Armory Control Interface".
#### Why is Ultimate GPU mode not available on my laptop?
@@ -222,6 +222,12 @@ Ctrl + Shift + F12
------------
**Libraries / projects used**
- [Linux Kernel](https://github.com/torvalds/linux/blob/master/drivers/platform/x86/asus-wmi.c) for some basic endpoints in ASUS ACPI/WMI interface
- [NvAPIWrapper](https://github.com/falahati/NvAPIWrapper) for accessing Nvidia API
- [Starlight](https://github.com/vddCore/Starlight) for anime matrix communication protocol
- [UXTU](https://github.com/JamesCJ60/Universal-x86-Tuning-Utility) for undervolting using Ryzen System Management Unit
**Disclaimers**
"ROG", "TUF", and "Armoury Crate" are trademarked by and belong to AsusTek Computer, Inc. I make no claims to these or any assets belonging to AsusTek Computer and use them purely for informational purposes only.