From c361d5d9d8741f268c42b0ae58570bcdbc64457a Mon Sep 17 00:00:00 2001 From: Lesueur Benjamin Date: Thu, 20 May 2021 08:16:04 +0200 Subject: [PATCH] added a few delays on wrmsr commands --- DockerForm/Form1.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DockerForm/Form1.cs b/DockerForm/Form1.cs index 810c9d2..6b4c6dd 100644 --- a/DockerForm/Form1.cs +++ b/DockerForm/Form1.cs @@ -164,7 +164,7 @@ private static void SetPowerProfile(PowerProfile profile) if (CurrentProfile.Equals(profile)) return; - string command = "/Min /Nologo /Stdout /command=\""; + string command = "/Min /Nologo /Stdout /command=\"Delay 100;"; if (profile.HasLongPowerMax()) { @@ -192,7 +192,8 @@ private static void SetPowerProfile(PowerProfile profile) if (profile.HasPowerBalanceGPU()) command += "wrmsr 0x63a 0x00000000 0x000000" + profile.GetPowerBalanceGPU() + ";"; - command += "rwexit\""; + // command += "w " + MCHBAR + "94 0xFF;"; + command += "Delay 100;rwexit\""; ProcessStartInfo RWInfo = new ProcessStartInfo {