antonpup / Aurora

Unified lighting effects across multiple brands and various games.
http://www.project-aurora.com/
MIT License
1.83k stars 368 forks source link

Unable to start Aurora following fresh install #1895

Open mattchue opened 4 years ago

mattchue commented 4 years ago

Expected Behaviour

Aurora should open when started.

Actual Behaviour

Aurora does not open when started, crashing shortly after initialization.

Reproduction steps

I believe this is an issue scoped to my local machine configuration, but - 1) Installed Aurora having not previously installed it 2) Started Aurora 3) Observe Aurora crashing via Task Manager

Frequency

Every time

Aurora Version:

Stable, Latest, Bleeding Edge

Previously an Issue?

First time I've attempted to use Aurora.

Logs

(same output in this file on every startup attempt) https://gist.github.com/mattchue/afad4ffc1c7cc5495d6a3cedfbcbf639

Notes

diogotr7 commented 4 years ago

Quite a few more users are having this issue, so here are instructions to at least get aurora to start:

"devices_disabled": {
    "$type": "System.Collections.Generic.HashSet`1[[System.Type, mscorlib]], System.Core",
    "$values": [
      "Aurora.Devices.Dualshock.DualshockDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.AtmoOrbDevice.AtmoOrbDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.NZXT.NZXTDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.Asus.AsusDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
    ]
  },
diogotr7 commented 4 years ago

Using this issue for discussion.

I'm not sure what caused this issue to happen recently, o assume an update to asus aura. One option would be to disable asus support by default while we dont know what's happening exactly. If the affected users could post relevant Asus Aura hardware and the versions of asus aura / armoury or other relevant software, that helps a lot with trying to figure out what the issue is.

LufyCZ commented 4 years ago

Quite a few more users are having this issue, so here are instructions to at least get aurora to start:

  • Open the file Config.json located at %appdata%\Aurora.
  • Find a line that says "devices_disabled": {
  • Under $values, add "Aurora.Devices.Asus.AsusDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null". Make sure to add a comma to end of the previous line.
  • Starting with the default configuration, it should look like this:
"devices_disabled": {
    "$type": "System.Collections.Generic.HashSet`1[[System.Type, mscorlib]], System.Core",
    "$values": [
      "Aurora.Devices.Dualshock.DualshockDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.AtmoOrbDevice.AtmoOrbDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.NZXT.NZXTDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.Asus.AsusDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
    ]
  },
  • Aurora Should start successfully now.

Doesn't work for me. Attached the log.

2020-01-28 21.13.00.log

diogotr7 commented 4 years ago

Could you please look at event viewer and see if that has any more info? @LufyCZ

LufyCZ commented 4 years ago

Could you please look at event viewer and see if that has any more info? @LufyCZ

Very little to no info:

image

image

xewl commented 4 years ago

(Sidenote, I guess) When I tried to set up Philips Hue on 1.07.71, I updated AURA because the HUE functionality did not want to link with a Bridge. I tried this with both Lighting_Control_1.07.71.zip & Lighting_Control_1.07.79.

I'm pretty sure this happened after an iCue update though; it has worked with AURA from LC 1.07.71

The only hardware I use with AURA is my motherboard, an ASUS Maximus XI Formula. Your solution above, works for me, apart from AURA being disabled now of course.

If the affected users could post relevant Asus Aura hardware and the versions of asus aura / armoury or other relevant software, that helps a lot with trying to figure out what the issue is.

Edit: After updating iCue to 3.25.60 the Asus motherboard is shown in iCue itself, but still not following what Aurora tells it to do.

caiocabus commented 4 years ago

Aurora doesn't work with Asus Mobo?

xewl commented 4 years ago

My Aurora bugged, I had to re-edit, and it added a line. My devices_disabled inside Config.json now looks like this:

  "devices_disabled": {
    "$type": "System.Collections.Generic.HashSet`1[[System.Type, mscorlib]], System.Core",
    "$values": [
      "Aurora.Devices.Dualshock.DualshockDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.AtmoOrbDevice.AtmoOrbDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.NZXT.NZXTDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.UnifiedHID.UnifiedHIDDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
      "Aurora.Devices.Asus.AsusDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
    ]
  },
ShawnTheShadow commented 4 years ago

Also getting the same thing once i installed Asus Aura Application: Aurora.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at AuraServiceLib.IAuraSdk2.Enumerate(UInt32) at RGB.NET.Devices.Asus.AsusDeviceProvider.Initialize(RGB.NET.Core.RGBDeviceType, Boolean, Boolean) at RGB.NET.Core.RGBSurface.LoadDevices(RGB.NET.Core.IRGBDeviceProvider, RGB.NET.Core.RGBDeviceType, Boolean, Boolean) at Aurora.Devices.RGBNet.AbstractRGBNetDevice.Initialize() at Aurora.Controls.Control_DeviceItem.btnToggleOnOff_Click(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent) at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs) at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at Aurora.App.Main()

OHGODNO162534 commented 3 years ago

i dont know whats happening with mine but if i try to open i the first time, also after a fresh install it doesnt open, the second time itll give me an error, and itll say that its exitting the software, and it does the same thing when i try to open it again, dont know what happened, and also adding that code doesnt help

BraVo75 commented 3 years ago

I have the same Problem like mattchue. The one thing I did was installing a WMR Headset. Before I had no problems.

The workaround with disabling Asus Service doesn't help. Here's my config:

"devices_disabled": { "$type": "System.Collections.Generic.HashSet1[[System.Type, mscorlib]], System.Core", "$values": [ "Aurora.Devices.Dualshock.DualshockDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Aurora.Devices.AtmoOrbDevice.AtmoOrbDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Aurora.Devices.NZXT.NZXTDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Aurora.Devices.UnifiedHID.UnifiedHIDDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Aurora.Devices.Asus.AsusDevice, Aurora, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ] },`

There are also no noteworthy log entries and the event log also says nothing bug "it crashed".

Any ideas?

Timoms commented 2 years ago

@BraVo75 Exactly the same issue, installed HP Reverb G2 with WMR / Mixed Reality Device and Aurora stopped working.

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at SBAuroraReactive.LEDManager.EnumConnectedDevices()
   at Aurora.Devices.Creative.SoundBlasterXDevice.Initialize()
   at Aurora.Devices.DeviceManager.InitializeDevices()
   at Aurora.App.OnStartup(System.Windows.StartupEventArgs)
   at System.Windows.Application.<.ctor>b__1_0(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at Aurora.App.Main()