Artemis-RGB / Artemis.Plugins

Repository containing official Artemis plugins
Other
30 stars 38 forks source link

[BUG] Logitech G HUB update 2023.2.376231 broke DeviceProviderPlugin #167

Closed motabass closed 1 year ago

motabass commented 1 year ago

[2023-02-26 08:46:43.666] [VRB] [Artemis.Core.Services.PluginManagementService] Enabling plugin feature Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider - Logitech Devices v1.0.1.818 - 62a45c0c-884c-4868-9fd7-3c5987fe07ca [2023-02-26 08:46:43.666] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Pausing rendering to add LogitechDeviceProvider [2023-02-26 08:46:43.677] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Removing 0 old device(s) [2023-02-26 08:46:43.677] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Initializing device provider [2023-02-26 08:46:44.770] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Attaching devices of device provider [2023-02-26 08:46:44.771] [ERR] [Artemis.Core.Services.RgbService] Exception during device loading for device provider LogitechDeviceProvider Artemis.Core.ArtemisPluginException: RGB.NET threw exception: Failed to initialize Logitech-SDK. ---> RGB.NET.Core.RGBDeviceException: Failed to initialize Logitech-SDK. --- End of inner exception stack trace --- at Artemis.Core.Services.RgbService.AddDeviceProvider(IRGBDeviceProvider deviceProvider) in D:\a\1\s\Artemis\src\Artemis.Core\Services\RgbService.cs:line 206 at Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider.Enable() in D:\a\1\s\Artemis.Plugins\src\Devices\Artemis.Plugins.Devices.Logitech\LogitechDeviceProvider.cs:line 38 at Artemis.Core.PluginFeature.InternalEnable() in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 178 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) [2023-02-26 08:46:44.771] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Updating the LED group [2023-02-26 08:46:44.771] [VRB] [Artemis.Core.Services.RgbService] [AddDeviceProvider] Resuming rendering after adding LogitechDeviceProvider [2023-02-26 08:46:44.771] [DBG] [Artemis.Core.Services.RgbService] Creating SKTexture with software-based graphics context [2023-02-26 08:46:44.772] [WRN] [Artemis.Core.Services.PluginManagementService] Plugin feature 'Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider - Logitech Devices v1.0.1.818 - 62a45c0c-884c-4868-9fd7-3c5987fe07ca' failed to enable during attempt (3/3), scheduling a retry in "00:00:30". System.AggregateException: One or more errors occurred. (RGB.NET threw exception: Failed to initialize Logitech-SDK.) ---> Artemis.Core.ArtemisPluginException: RGB.NET threw exception: Failed to initialize Logitech-SDK. ---> RGB.NET.Core.RGBDeviceException: Failed to initialize Logitech-SDK. --- End of inner exception stack trace --- at Artemis.Core.Services.RgbService.AddDeviceProvider(IRGBDeviceProvider deviceProvider) in D:\a\1\s\Artemis\src\Artemis.Core\Services\RgbService.cs:line 206 at Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider.Enable() in D:\a\1\s\Artemis.Plugins\src\Devices\Artemis.Plugins.Devices.Logitech\LogitechDeviceProvider.cs:line 38 at Artemis.Core.PluginFeature.InternalEnable() in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 178 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait(TimeSpan timeout) at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 151 at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 664

motabass commented 1 year ago

Restarting G HUB and the Artemis solved the Issue...