Rem0o / FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.
Other
14.35k stars 450 forks source link

Initialization failed. Retry count (2) exceeded. #2738

Open majornukke opened 1 month ago

majornukke commented 1 month ago

I recently noticed that FanControl hasn't been working as intended so I tried to launch it but it keeps on crashing. I downloaded and installed V202 and set-up everything, everything's looking good. The next day (today), FanControl keeps crashing again.

FanControl Fan Control failed to initialize.. Retrying.. Expected 28 sensors, found 25..

Application: FanControl.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at ADLXWrapper.Bindings.ADLXPINVOKE.delete_ADLXHelper(System.Runtime.InteropServices.HandleRef)
   at ADLXWrapper.Bindings.ADLXHelper.Dispose(Boolean)
   at ADLXWrapper.Bindings.ADLXHelper.Finalize()
Faulting application name: FanControl.exe, version: 202.0.0.0, time stamp: 0xf65f8f69
Faulting module name: amdadlx64.dll, version: 31.0.22044.1, time stamp: 0x6594547b
Exception code: 0xc0000005
Fault offset: 0x0000000000091d56
Faulting process id: 0x0x3D80
Faulting application start time: 0x0x1DB098E6EFCD30E
Faulting application path: C:\Program Files (x86)\FanControl\FanControl.exe
Faulting module path: C:\Windows\SYSTEM32\amdadlx64.dll
Report Id: bd816f05-4d2e-4910-b957-e8fe17c468c9
Faulting package full name: 
Faulting package-relative application ID: 

Initialization failed. Retry count (2) exceeded.

YakudzaKY commented 1 month ago

same for me 202 doesnt work. rollback to 201 works well. btw 201 have error on start but at least it works изображение

godzinilla commented 1 month ago

I am forcing the same issue.

SkyDiver7199 commented 1 month ago

same issue here. Used to have it and fixed. But now it's back.

Rem0o commented 1 month ago

V203 should not throw an error if no sensor were found with ADLX.

YakudzaKY commented 1 month ago

V203 should not throw an error if no sensor were found with ADLX.

thanks very much!! <3

789cn commented 1 month ago

lnitialization retry failed (lnitialization failed. Retry count ( 6 ) exceeded.)

mufflon101 commented 1 month ago

same lnitialization retry failed (lnitialization failed. Retry count ( 6 ) exceeded.) Screenshot 2024-09-22 112920

rknauber commented 1 month ago

Getting the same error every day now. The only thing that has changed aside from Fan Control updates is I update my video drivers on the 15th which is shown with the Nv errors in the log. Let me know if there is anything else I can provide to assist.

5900X MSI MPG Edge Max Wifi - MSI-7D53 EVGA RTX 3080 FTW3 Ultra Gaming - 10G-P5-3897

9/9/2024 10:24:49 AM: Initialization failed. Retry count (6) exceeded. 9/12/2024 10:10:09 AM: Initialization failed. Retry count (6) exceeded. 9/15/2024 4:15:23 PM: Update - NvAPIWrapper.Native.Exceptions.NVIDIAApiException: NVAPI_NVIDIA_DEVICE_NOT_FOUND at NvAPIWrapper.Native.GPUApi.GetThermalSettings(PhysicalGPUHandle physicalGPUHandle, ThermalSettingsTarget sensorTarget) at NvAPIWrapper.GPU.GPUThermalInformation.get_ThermalSensors() at FanControl.Domain.BackendProviders.NVApiWrapper.NVApiTempSensor.Update() at FanControl.Domain.BackendProviders.NVApiWrapper.NVApiWrapperBackendProvider.Update() 9/15/2024 4:15:23 PM: NvAPI failed. A complete refresh is required. 9/15/2024 4:17:24 PM: Initialization failed. Retry count (6) exceeded. 9/18/2024 9:30:55 AM: Initialization failed. Retry count (6) exceeded. 9/19/2024 6:41:49 AM: Initialization failed. Retry count (6) exceeded. 9/20/2024 11:43:09 AM: Initialization failed. Retry count (6) exceeded. 9/21/2024 10:17:39 AM: Initialization failed. Retry count (6) exceeded. 9/22/2024 9:59:05 AM: Initialization failed. Retry count (6) exceeded.

Rem0o commented 1 month ago

These errors means one of the sensor sources failed to initialize. Either LHM, NVApiWrapper, ADLXWrapper, or a plugin.

This information is missing from the current error log, will be adding more details in the next release.

Post what sensor sources you got checked and your hardware (GPU, fan controllers...), so we can identify which one is problematic.

JKizaru commented 1 month ago

Getting the same error randomly on startup.

imagen

Corsair Plugin is installed and all sensors detected. I've checked all sensors and they are detected and controllable.

5800X3D RTX4090FE Asus ROG Crosshair VIII HERO WIFI Corsair H150i ELITE LCD (Commander Core) Corsair Commander Core with 6 fans

faiezyacob commented 1 month ago

I also have this issue and im on the latest version.

24/9/2024 12:02:28 AM: Open - System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.ADLX.ADLXPlugin.DisposeAll()
   at FanControl.ADLX.ADLXPlugin.Initialize()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
24/9/2024 12:02:29 AM: Initialization failed. Retry count (2) exceeded.

Ryzen 5 4500 Rx6600 Asus Tuf b550m wifi ii

image

phdzor commented 1 month ago

{F5984437-9140-4D1D-B6C9-F4FCDD0AC49F} Please add option to hide/ignore this warning.

ShadowSingularity commented 1 month ago

Screenshot_1

AMD 7800X3D RTX 4090 Asrock X670E Steel Legend

abcdehc commented 1 month ago

same problem at V204 log.txt file is attached log.txt

doreori commented 1 month ago

image ADLXWrapper enabled

image ADLXWrapper disabled

Here are the logs : log.txt

rknauber commented 1 month ago

Getting the same error every day now. The only thing that has changed aside from Fan Control updates is I update my video drivers on the 15th which is shown with the Nv errors in the log. Let me know if there is anything else I can provide to assist.

5900X MSI MPG Edge Max Wifi - MSI-7D53 EVGA RTX 3080 FTW3 Ultra Gaming - 10G-P5-3897

9/9/2024 10:24:49 AM: Initialization failed. Retry count (6) exceeded. 9/12/2024 10:10:09 AM: Initialization failed. Retry count (6) exceeded. 9/15/2024 4:15:23 PM: Update - NvAPIWrapper.Native.Exceptions.NVIDIAApiException: NVAPI_NVIDIA_DEVICE_NOT_FOUND at NvAPIWrapper.Native.GPUApi.GetThermalSettings(PhysicalGPUHandle physicalGPUHandle, ThermalSettingsTarget sensorTarget) at NvAPIWrapper.GPU.GPUThermalInformation.get_ThermalSensors() at FanControl.Domain.BackendProviders.NVApiWrapper.NVApiTempSensor.Update() at FanControl.Domain.BackendProviders.NVApiWrapper.NVApiWrapperBackendProvider.Update() 9/15/2024 4:15:23 PM: NvAPI failed. A complete refresh is required. 9/15/2024 4:17:24 PM: Initialization failed. Retry count (6) exceeded. 9/18/2024 9:30:55 AM: Initialization failed. Retry count (6) exceeded. 9/19/2024 6:41:49 AM: Initialization failed. Retry count (6) exceeded. 9/20/2024 11:43:09 AM: Initialization failed. Retry count (6) exceeded. 9/21/2024 10:17:39 AM: Initialization failed. Retry count (6) exceeded. 9/22/2024 9:59:05 AM: Initialization failed. Retry count (6) exceeded.

This is no longer causing an error message every day on my computer. Resolved for my case.

Rem0o commented 1 month ago

@doreori if you swapped from the plugin which you disabled to the built-in ADLX, there isn't any "conversion" between the two. You need to setup the ADLX sensors again in your config with the "new" sensors from the new source..

phantum29 commented 3 weeks ago

I have the same issue with Initialization failed. Retry count exceeded seemingly due to NvAPIWrapper. I have not changed sensors for at least a year now. Noticed this since I believe v205 - this is a recent occurrence. No plugins installed. Updated GPU drivers since the error popped up, and no change log Screenshot 2024-10-14 085327