seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://seerge.github.io/g-helper/
GNU General Public License v3.0
7.02k stars 255 forks source link

Unhandled exception preventing launch #108

Closed jstri114 closed 1 year ago

jstri114 commented 1 year ago

Describe the bug Was working as normal, laptop went into hibernate, and then showed this error when woken back up. Issue persists after a full reboot, and the app will not launch.

To Reproduce Attempt to run the program. Unsure if hibernate is the issue, but the app is now broken without going into hibernate.

Expected behavior The app to launch as normal.

Screenshots

image

Desktop (please complete the following information):

Additional context See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.DllNotFoundException: Unable to load DLL 'atiadlxx.dll' or one of its dependencies: The specified module could not be found. (0x8007007E) at AmdAdl2.Adl2.NativeMethods.ADL2_Main_Control_Create(ADL_Main_Memory_Alloc callback, Int32 enumConnectedAdapters, IntPtr& adlContextHandle) at AmdAdl2.Adl2.ADL2_Main_Control_Create(Int32 enumConnectedAdapters, IntPtr& adlContextHandle) at GHelper.Gpu.AmdGpuTemperatureProvider..ctor() at HardwareMonitor.RecreateGpuTemperatureProvider() at HardwareMonitor.RecreateGpuTemperatureProviderWithRetry() at GHelper.SettingsForm.<>c__DisplayClass61_0.b__1() at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Private.CoreLib.dll

GHelper Assembly Version: 0.28.0.0 Win32 Version: n/a CodeBase:

System.Runtime Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Runtime.dll

System.Windows.Forms Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11707 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/System.Windows.Forms.dll

System.ComponentModel.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.ComponentModel.Primitives.dll

System.Windows.Forms.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11707 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/System.Windows.Forms.Primitives.dll

System.Runtime.InteropServices Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Runtime.InteropServices.dll

System.Drawing.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Drawing.Primitives.dll

System.Collections.Specialized Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Collections.Specialized.dll

System.Management Assembly Version: 4.0.0.0 Win32 Version: n/a CodeBase:

Microsoft.Win32.SystemEvents Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/Microsoft.Win32.SystemEvents.dll

System.Diagnostics.Process Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.Process.dll

System.Drawing.Common Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/System.Drawing.Common.dll

System.Diagnostics.TraceSource Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.TraceSource.dll

System.Collections Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Collections.dll

System.Threading Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Threading.dll

System.Resources.Extensions Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/System.Resources.Extensions.dll

System.Memory Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Memory.dll

System.Drawing Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11707 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/System.Drawing.dll

Microsoft.Win32.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/Microsoft.Win32.Primitives.dll

System.Text.Json Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Text.Json.dll

System.Collections.Concurrent Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Collections.Concurrent.dll

System.Private.Uri Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Private.Uri.dll

System.Text.Encodings.Web Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Text.Encodings.Web.dll

System.Reflection.Emit.Lightweight Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Reflection.Emit.Lightweight.dll

System.Reflection.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Reflection.Primitives.dll

System.Reflection.Emit.ILGeneration Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Reflection.Emit.ILGeneration.dll

System.Text.Encoding.Extensions Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Text.Encoding.Extensions.dll

System.Numerics.Vectors Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Numerics.Vectors.dll

System.ComponentModel.EventBasedAsync Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.ComponentModel.EventBasedAsync.dll

System.Threading.Thread Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Threading.Thread.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 7.0.423.11707 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.4/Accessibility.dll

System.ComponentModel.TypeConverter Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.ComponentModel.TypeConverter.dll

System.ComponentModel Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.ComponentModel.dll

System.ObjectModel Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.ObjectModel.dll

Microsoft.Win32.Registry Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/Microsoft.Win32.Registry.dll

System.Runtime.Intrinsics Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Runtime.Intrinsics.dll

HidSharpCore Assembly Version: 2.1.0.0 Win32 Version: n/a CodeBase:

System.Linq Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Linq.dll

System.Threading.ThreadPool Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Threading.ThreadPool.dll

Microsoft.Win32.TaskScheduler Assembly Version: 2.10.1.0 Win32 Version: n/a CodeBase:

System.Diagnostics.FileVersionInfo Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.FileVersionInfo.dll

System.Text.RegularExpressions Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Text.RegularExpressions.dll

System.Xml.ReaderWriter Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Xml.ReaderWriter.dll

System.Private.Xml Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Private.Xml.dll

NvAPIWrapper Assembly Version: 0.8.1.100 Win32 Version: n/a CodeBase:

netstandard Assembly Version: 2.1.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/netstandard.dll

System.Net.Http Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.Http.dll

System.Net.Primitives Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.Primitives.dll

System.Diagnostics.Tracing Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.Tracing.dll

System.Diagnostics.DiagnosticSource Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.DiagnosticSource.dll

System.Net.Security Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.Security.dll

System.Security.Cryptography Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Security.Cryptography.dll

System.Net.Quic Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.Quic.dll

System.Net.Sockets Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.Sockets.dll

System.Threading.Overlapped Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Threading.Overlapped.dll

System.Net.NameResolution Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Net.NameResolution.dll

System.Runtime.Loader Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Runtime.Loader.dll

System.Diagnostics.StackTrace Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Diagnostics.StackTrace.dll

System.Reflection.Metadata Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Reflection.Metadata.dll

System.Collections.Immutable Assembly Version: 7.0.0.0 Win32 Version: 7.0.423.11508 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.4/System.Collections.Immutable.dll

** JIT Debugging **

seerge commented 1 year ago

@jstri114 can you check this build ?

GHelper.zip

HamzaYslmn commented 1 year ago

C:\Windows\System32\atiadlxx.dll C:\Windows\SysWOW64\atiadlxx.dll check this locations. if file is not here, download, duplicate dll

jstri114 commented 1 year ago

Yep, that worked a treat, and yes the DLLs are there as far as I checked initially. I was using the pre-ui update accidently I believe. Thanks!

seerge commented 1 year ago

Ok, great. I have pushed your fix into v.033 among others :)