Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aurora freezes upon resuming from sleep/hibernation. Have to kill process and restart it. #1028

Closed
4 of 16 tasks
wile-e1 opened this issue Mar 17, 2018 · 30 comments
Closed
4 of 16 tasks
Labels
Status: Feedback Needed Waiting on feedback from the original reporter. Type: Bug This issue/PR is related to unexpected behaviour in the program.
Milestone

Comments

@wile-e1
Copy link

wile-e1 commented Mar 17, 2018

What are you experiencing an issue with?

  • Aurora
  • Aurora supported game, (Fill in the game)
  • Aurora Wrapper
  • Aurora Profile
  • Aurora supported device, (Fill in problematic devices)
  • Aurora Scripts
  • Aurora Updater
  • Aurora Lighting issue
  • Other, (Fill in another issue here)

What kind of an issue is it?

  • Crash
  • Performance problems
  • Visual bug
  • Localization issue
  • Enhancement suggestion
  • Device issue
  • Other, (Fill in another type of issue here)

Expected behavior:

Aurora works great if i start the program and adjust settings/profiles/etc. It even senses game profiles more accurately than my SteelSteries mouse software. The problem comes in when waking my computer up from sleep/hibernate. None of the lighting profiles or changes seem to register.

Actual behavior:

After waking my PC up, nothing from Aurora seems to register with my keyboard. The profile is not restored and making any changes in the aurora software does nothing. It seems like the computer sleeping has broken the link between the program and the keyboard. In order to get keyboard lighting working again, I have to go into the task manager, kill the process, and then run it again in administrator mode. I believe the same thing happens when I restart my computer as well, but I would have to do some testing.

How often does this problem occur?

Every time I wake my computer from sleep/hibernate.
Also happening on first startup of windows.

Please describe the steps to reproduce this issue:

The issue can be reproduced by doing following steps:

  1. Have Aurora running (minimized in taskbar if that matters)

  2. Allow computer to go into sleep mode.

  3. Wake computer from sleep mode.

  4. Start computer.

  5. Log into windows.

  6. Aurora starts up on it's own and is running. Says its connected to keyboard, but no lighting profile is active.

What is the version of Aurora you are experiencing this issue with?

v0.6.1

Does the previous version of Aurora have this issue?

Not sure, this is the first version I have used.

Please include any logs, screenshots, or files that are related to this issue:

The first log is the first one after waking my PC up. It looks like it's not initializing properly. The second log is from restarting Aurora after killing the process. And just posted a new log of a fresh boot.

2018-03-17 11.20.23.log
2018-03-17 11.20.41.log
2018-03-17 12.00.08.log

@simon-wh simon-wh added the Type: Bug This issue/PR is related to unexpected behaviour in the program. label Mar 18, 2018
@simon-wh simon-wh added this to the v0.6.1 milestone Mar 18, 2018
@ChickenJoe124
Copy link

bump

@KairuByte
Copy link

I'm not sure how on the radar this is, but I experience similar symptoms when I return from sleep/hibernation.

@simon-wh
Copy link
Collaborator

I'm unable to replicate this using my VM (but obviously it's not an exact scenario replication). I'll try again once I get windows installed properly. Do you want to try the latest build, the issue might not be still present

@husseinfahmy
Copy link

Can confirm that I hit this regularly. If the screen shuts off for a while things are okay, but if my computer hibernates then I'm forced to exit and relaunch aurora

@simon-wh
Copy link
Collaborator

I've tested again on my laptop(which is a normal setup) with my Wooting One and still can't replicate the issue, I can sleep and hibernate and when it returns it works fine.

@simon-wh simon-wh added the Status: Feedback Needed Waiting on feedback from the original reporter. label Aug 31, 2018
@simon-wh
Copy link
Collaborator

Has anyone still experienced this issue on v0.6.2b?

@husseinfahmy
Copy link

Haven't noticed it since the update, but also been more keen on shutting off my computer when I'm not using it. I'll test this when I get home (a few days)

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 1, 2018

@husseinfahmy Okay, cool, thanks for getting back to me!

@gradius-v
Copy link

gradius-v commented Sep 2, 2018

I have this problem since I changed from a G900 to G903 with Powerplay. I have to unplug the Powerplay mat (wich doubles as the mouse receiver) upon resume from sleep to be able to run Aurora again.
I have to disable mouse AND headset lighting and set preferred mouse to None to get my G910 keyboard to work alongside the G903/Powerplay Combo. This is on Windows 7.

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 2, 2018

@gradius-v Do you have a log file for when that happened?

@gradius-v
Copy link

Yes, but it shows no errors. Aurora also doesn't crash, it makes LGS hang. Unplugging the Powerplay mat & restarting Aurora immediately restores funtionality.
2018-09-02 18.06.39.log

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 2, 2018

@gradius-v you might be able to avoid restarting aurora by going into settings -> Device manager and stopping and starting the Logitech device

Also, I think the solution might be to turn off all the device integrations when sleep mode is detected and reconnecting when restored.

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 2, 2018

@gradius-v Actually, could you try this build, I've implemented what I mentioned above but I cannot test it properly in the vm I'm using.

@gradius-v
Copy link

gradius-v commented Sep 2, 2018

Just tried it. G903/Powerplay lighting survives resume from sleep, but now I have to wait ~10sec at the login screen before the keyboard lets me type my password. Maybe make it configurable wich devices to disconnect before sleep?
Edit: After a reboot this now works quickly !

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 2, 2018

@gradius-v The hook that I used for tracking sleeping/resuming seems to trigger when the lockscreen appears, I can see about getting it to trigger after unlocking if you run into the issue again

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 2, 2018

@mmmboost @ChickenJoe124 @KairuByte Could you try the build I linked above and see if it solves it for you as well?

@husseinfahmy
Copy link

@simon-wh don't see this anymore

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 7, 2018

Going to close this issue for now, if anyone runs into this issue again let me know!

@simon-wh simon-wh closed this as completed Sep 7, 2018
@gradius-v
Copy link

I came back for me. If I let the PC sleep several hours and LGS is dead every single time i resume.

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 9, 2018

@gradius-v By any chance could you see if that is an LGS issue by not having Aurora open when sleeping it? With what I've setup to disconnect from the SDK when going to sleep it shouldn't be doing anything to LGS

@simon-wh
Copy link
Collaborator

simon-wh commented Sep 9, 2018

@gradius-v Once this build for the above commit is done could you try it out? I changed it so it shouldn't have a scenario where devices are reinitialized between being shutdown for going to sleep and actually going to sleep. I also made it only reconnect after you login, which should hopefully fix some of your issues.

@gradius-v
Copy link

Thanks, I will test the new build as soon as I'm home.

@gradius-v
Copy link

Works as it should ! LGS now survives a long sleep.

@simon-wh
Copy link
Collaborator

@gradius-v Awesome! Thanks for getting back to me!

@ghost
Copy link

ghost commented Oct 17, 2018

@simon-wh hey, so I'm on 0.6.3 and I'm having this issue when I set windows to auto log in (sign in options > never require password). I think bypassing the lock screen also bypasses the trigger you implemented to start the device again. Thank you!

@simon-wh
Copy link
Collaborator

@yiweitech So it turns off but doesn't turn on again when you wake up? Could you make a new issue for it?

@stdedos
Copy link

stdedos commented Jun 16, 2019

@simon-wh still happens for me for v0.6.4b-604. New issue or bump this one?

I have a Wooting II / Logitech G502.

When resuming, devices have ther "original" lighting effects. Then, "after some time", Aurora adds one snapshot of the activated profile (Ctrl+Alt+Shift+CPU %+Mem %+Audio Visualization), and then freezes forever.

Aurora CPU usage is 2%~4%, the tray-right-click menu freezes forever open, and window (if I manage to open it) stays white forever and it is almost un-responsive (however, it responds with a huge delay to e.g. WinKey+Shift+Left/Right keys).

It seems that some kind of memory leak is going on (I was waiting for your response before I killed it; now the process has ~3GB RAM, and CPU spikes 0%-[2-5-7]%-[11-13-15-18]%-20% and back). I also collected a dump (~2.4GB) if you are interested.

It seems that, deterministically, Aurora cannot handle Sleep/Hibernate. Resuming today, it seems working; however, Alt+VolUp/VolDown shortcut is dead (even though visualizations played normally). I also collected a dump (~.5GB) if you are interested.

@Zarainia
Copy link

I also see a similar issue with a Razer keyboard. Often when waking from sleep, it'll take on the effect from Synapse, but kind of glitchy since some of the Aurora lighting seems to show through. Either restarting Aurora or turning Chroma Connect off and on again from Synapse fixes the problem.

@gradius-v
Copy link

After updating to GHUB because of a new G903 Hero this is back. Aurora is completely dead after sleep/resume..

@timdonovanuk
Copy link

timdonovanuk commented Jan 21, 2021

@simon-wh Still an issues now, have to kill the process and restart aurora to get my keyboard to light up.

Keyboard is drevo blademaster pro. Not sure where the log file lives, can't see it in app directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Feedback Needed Waiting on feedback from the original reporter. Type: Bug This issue/PR is related to unexpected behaviour in the program.
Projects
None yet
Development

No branches or pull requests

9 participants