Open NicTanghe opened 1 year ago
Might be similar to #786
after installing the wooting package from: https://github.com/WootingKb/wooting-analog-sdk/releases
I get the following output on my console.
❯ ./Artemis.UI.Linux
[22:13:52 VRB] Error in binding to Avalonia.Controls.TrayIcon.Command: Null value in expression '{empty}' at ''.
[22:13:52 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[22:13:52 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[22:13:52 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[22:13:52 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[22:13:52 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[22:13:53 INF] Performing auto-update check
[22:13:53 ERR] Interface 'org.kde.StatusNotifierWatcher' is unavailable.
[22:13:53 INF] Update service initialized for master channel
[22:13:53 INF] Initializing Artemis Core version 1.2023.0827.2
[22:13:53 INF] Startup arguments: []
[22:13:53 INF] Elevated permissions: False
[22:13:53 INF] Stopwatch high resolution: True
[22:13:53 INF] Setting logging level to Debug
[22:13:53 DBG] Forcing plugins to use HidSharp 2.1.0.0
[22:13:53 DBG] Loaded 22 plugin(s)
[22:13:53 INF] There are one or more profiles. No new default profiles will be created
[22:13:53 WRN] Skipped enabling plugin JetBrains Profiling v1.0.0.0 - 27d124e3-48e8-4b0a-8a5e-d5e337a88d4a because not all prerequisites are met
[22:13:53 WRN] Skipped enabling plugin JavaScript Scripting Provider v1.0.0.0 - dd35f1b7-3d3f-4f90-a60f-40354783049b because not all prerequisites are met
[22:13:53 WRN] Device provider DebugDeviceProvider has no devices
[22:13:53 WRN] Device provider DMXDeviceProvider has no devices
[22:13:53 DBG] OpenRGB Exception: Connection refused
System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
at OpenRGB.NET.OpenRgbClient.Connect()
at RGB.NET.Devices.OpenRGB.OpenRGBDeviceProvider.InitializeSDK()
[22:13:53 WRN] Device provider OpenRGBDeviceProvider threw non-critical exception
System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
at OpenRGB.NET.OpenRgbClient.Connect()
at RGB.NET.Devices.OpenRGB.OpenRGBDeviceProvider.InitializeSDK()
[22:13:53 WRN] Device provider OpenRGBDeviceProvider has no devices
[22:13:53 ERR] OpenRGB server 127.0.0.1:6742 failed to connect: Connection refused
[22:13:53 INF] Failed to connect to at least one OpenRGB server. Retrying in 30secs...
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] No plugins found in "/usr/local/share/WootingAnalogPlugins"
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Loading plugin: "/usr/local/share/WootingAnalogPlugins/wooting-analog-plugin/libwooting_analog_plugin.so"
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Plugin and SDK are compatible!
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Loaded plugin: "Wooting Official Plugin"
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Loading plugin: "/usr/local/share/WootingAnalogPlugins/wooting-test-plugin/libwooting_analog_test_plugin.so"
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Plugin and SDK are compatible!
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] Loaded plugin: "Wooting Analog Test Plugin"
[2023-08-30T20:13:53Z INFO wooting_analog_sdk::sdk] 2 plugins successfully initialised
[22:13:53 WRN] Plugin feature 'Artemis.Plugins.Devices.Wooting.Modules.WootingProfileModule - Wooting Devices v1.0.0.0 - e70fd5ba-9881-480a-8ff6-078ed5f747fa' failed to enable during attempt (1/3), scheduling a retry in 00:00:10.
System.AggregateException: One or more errors occurred. (Wooting SDK is not connected)
---> Artemis.Core.ArtemisPluginException: Wooting SDK is not connected
at Artemis.Plugins.Devices.Wooting.Services.ProfileService.WootingProfileService.Activate() in /home/runner/work/Artemis/Artemis/Artemis.Plugins/src/Devices/Artemis.Plugins.Devices.Wooting/Services/ProfileService/WootingProfileService.cs:line 54
at Artemis.Plugins.Devices.Wooting.Services.ReusableService.ActivateInternal() in /home/runner/work/Artemis/Artemis/Artemis.Plugins/src/Devices/Artemis.Plugins.Devices.Wooting/Services/ReusableService.cs:line 40
at Artemis.Plugins.Devices.Wooting.Services.ReusableService.RegisterUse() in /home/runner/work/Artemis/Artemis/Artemis.Plugins/src/Devices/Artemis.Plugins.Devices.Wooting/Services/ReusableService.cs:line 17
at Artemis.Plugins.Devices.Wooting.Modules.WootingProfileModule.Enable() in /home/runner/work/Artemis/Artemis/Artemis.Plugins/src/Devices/Artemis.Plugins.Devices.Wooting/Modules/WootingProfileModule.cs:line 21
at Artemis.Core.PluginFeature.InternalEnable() in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.Core/Plugins/PluginFeature.cs:line 178
at Artemis.Core.Modules.Module.InternalEnable() in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.Core/Plugins/Modules/Module.cs:line 317
at Artemis.Core.Modules.Module`1.InternalEnable() in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.Core/Plugins/Modules/Module.cs:line 85
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
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, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.Core/Plugins/PluginFeature.cs:line 151
Try to open the GUI even with the Splash Window showing (I used the app tray icon for that) and disable Wooting plugin.
If that doesn't work, force close Artemis from System Monitor (or whatever you use), then try to delete the plugin from .local/share/Artemis/Plugins
as well as .local/share/bin/Artemis/Plugins
. After that, start Artemis and see if the splash screen disappears properly. Check the Plugin settings and if Wooting is there, disable it.
Similar issue was also discussed here on Discord.
In my case, devices were not detected until I disabled Wooting and Ambilight plugins.
I will test this tomorrow
Atleast i get the the GUI now but stil no devices are detected.
log:
~/tools/artemis
❯ ./Artemis.UI.Linux
[08:14:30 VRB] Error in binding to Avalonia.Controls.TrayIcon.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 VRB] Error in binding to Avalonia.Controls.NativeMenuItem.Command: Null value in expression '{empty}' at ''.
[08:14:30 INF] Performing auto-update check
[08:14:30 ERR] Interface 'org.kde.StatusNotifierWatcher' is unavailable.
[08:14:31 INF] Update service initialized for master channel
[08:14:31 INF] Initializing Artemis Core version 1.2023.1017.2
[08:14:31 INF] Startup arguments: []
[08:14:31 INF] Elevated permissions: False
[08:14:31 INF] Stopwatch high resolution: True
[08:14:31 INF] Setting logging level to Debug
[08:14:31 DBG] Forcing plugins to use HidSharp 2.1.0.0
[08:14:31 DBG] Loaded 23 plugin(s)
[08:14:31 WRN] Device provider DebugDeviceProvider has no devices
[08:14:31 WRN] Device provider DMXDeviceProvider has no devices
[08:14:31 DBG] OpenRGB Exception: Connection refused
System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
at OpenRGB.NET.OpenRgbClient.Connect()
at RGB.NET.Devices.OpenRGB.OpenRGBDeviceProvider.InitializeSDK()
[08:14:31 WRN] Device provider OpenRGBDeviceProvider threw non-critical exception
System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult)
at OpenRGB.NET.OpenRgbClient.Connect()
at RGB.NET.Devices.OpenRGB.OpenRGBDeviceProvider.InitializeSDK()
[08:14:31 WRN] Device provider OpenRGBDeviceProvider has no devices
[08:14:31 ERR] OpenRGB server 127.0.0.1:6742 failed to connect: Connection refused
[08:14:31 INF] Failed to connect to at least one OpenRGB server. Retrying in 30secs...
[08:14:31 INF] There are one or more profiles. No new default profiles will be created
[08:14:31 WRN] Skipped enabling plugin JetBrains Profiling v1.0.0.0 - 27d124e3-48e8-4b0a-8a5e-d5e337a88d4a because not all prerequisites are met
[08:14:31 WRN] Skipped enabling plugin JavaScript Scripting Provider v1.0.0.0 - dd35f1b7-3d3f-4f90-a60f-40354783049b because not all prerequisites are met
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] No plugins found in "/usr/local/share/WootingAnalogPlugins"
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Loading plugin: "/usr/local/share/WootingAnalogPlugins/wooting-analog-plugin/libwooting_analog_plugin.so"
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Plugin and SDK are compatible!
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Loaded plugin: "Wooting Official Plugin"
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Loading plugin: "/usr/local/share/WootingAnalogPlugins/wooting-test-plugin/libwooting_analog_test_plugin.so"
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Plugin and SDK are compatible!
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] Loaded plugin: "Wooting Analog Test Plugin"
Found new lock "Mutex" : offset 0 length 4096
[2024-01-03T07:14:31Z INFO wooting_analog_sdk::sdk] 2 plugins successfully initialised
[08:14:31 INF] Wooting SDK is not connected
[08:14:31 DBG] Enabled 20 plugin(s)
08:14:31.412 INF >> [WebServer] Running HTTPListener: Unosquare HTTP Listener
08:14:31.414 INF >> [WebServer] Web server prefix 'http://*:9696/' added.
08:14:31.446 INF >> [WebServer] Cleaning up
08:14:31.446 ERR >> [AddListener] Address already in use
$type : System.Net.Sockets.SocketException
Message : Address already in use
SocketErrorCode : 10048
ErrorCode : 98
NativeErrorCode : 98
TargetSite : Void DoBind(System.Net.EndPoint, System.Net.Internals.SocketAddress)
Source : System.Net.Sockets
HResult : -2147467259
StackTrace :
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at EmbedIO.Net.Internal.EndPointListener..ctor(HttpListener listener, IPAddress address, Int32 port, Boolean secure)
at EmbedIO.Net.EndPointManager.<>c__DisplayClass9_0.<GetEpListener>b__1(Int32 x)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at EmbedIO.Net.EndPointManager.GetEpListener(String host, Int32 port, HttpListener listener, Boolean secure)
at EmbedIO.Net.EndPointManager.AddPrefix(String p, HttpListener listener)
at EmbedIO.Net.EndPointManager.AddListener(HttpListener listener)
at EmbedIO.Net.HttpListener.Start()
at EmbedIO.WebServer.Prepare(CancellationToken cancellationToken)
at EmbedIO.WebServerBase`1.RunAsync(CancellationToken cancellationToken)
[08:14:31 DBG] Profile is a fresh import, adapting to surface - [Profile] Name: Noise
[08:14:31 DBG] Adapt profile - Saving [Profile] Name: Noise
[08:14:31 INF] Navigating to home
[08:14:31 INF] Navigated to home
[08:14:42 INF] Navigating to surface-editor
[08:14:42 INF] Navigated to surface-editor
[08:14:43 INF] Navigating to settings
[08:14:43 INF] Cancelled navigation to settings
[08:14:43 INF] Navigating to settings/general
[08:14:44 INF] Navigated to settings/general
[08:14:46 INF] Navigating to settings/devices
[08:14:46 INF] Navigated to settings/devices
[08:14:31 ERR] OpenRGB server 127.0.0.1:6742 failed to connect: Connection refused [08:14:31 INF] Failed to connect to at least one OpenRGB server. Retrying in 30secs...
Did you try to restart OpenRGB and it's server? Also, from your logs it seems that Wooting plugin is now working. I had this as well and deleting the plugin completely made my devices appear in Artemis.
hello artemis seems unable to detect anny rgb devices. Open rgb detects them just fine.
My console lists a whole bunch of errors. env: Ubuntu 22.04 artemis: 886455258
console: