-
Notifications
You must be signed in to change notification settings - Fork 190
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
Prismatik not working after PC sleeps #331
Comments
Okay after fiddling with the program it will work again if I quit prismatik and restart it. Is there a way where I wont need to do this everytime after I put my pc to sleep? |
with what board? |
Its a off the shelf product. Bought it from banggood, not sure what board it uses. https://www.banggood.com/Ambilight-DC5V-2M3M4M5M-WS2812B-5050-RGB-Dream-Color-USB-APP-LED-Strip-Light-for-Desktop-PC-Screen-p-1497308.html?rmmds=myorder&ID=45764554513&cur_warehouse=CN |
Yeah and now even quiting the program and reopening doesnt work anymore either. |
Yeah it is a CH340 displayed in device manager. I downloaded the driver and it worked! As for the usb setting, should I set it to keep power on the USB constantly even when pc is turned off? |
If it works without touching USB power settings, maybe keep it as is for now. |
SO after updating windows, it worked as it should for a day. But now I'm back to the same problem. Doesnt work after pc wakes from sleep.. any ideas? |
After fiddling around with it more, I got it working again by changing the baud rate from 128000 to 115200 in device manager. I was trying to have this higer to make it sync with my 100Hz monitor. Is this never going to be possible? |
It depends on how hard you want it, see here |
Still having issues with this. Only sometimes work when I wake pc from sleep. Then to get it working again I need to shutdown the pc and restart it a few minutes later. Even that method doesnt work all the time. Now im back to not being able to get it working even after a PC shutdown/restart. :/ |
Having the same issue. Happens pretty much ~75% of the time when resuming from sleep. Usually to fix it I just toggle the light off and on, but sometimes this doesn't work either and I have to restart the app. |
I have bought that same exact box myself. If you open it up you'll find that there's a simple Arduino UNO R3 inside of that. You can flash Adalight on it again (I however don't remember exactly which pins it uses for the LED signal but you should be able to trace it back by following the wire that is soldered to the LED connector) with your desired BaudRate if you want it to run faster. |
I hava a 120hz monitor so I tried a few seetings too, to have the best direct visual effect. So here are my settings that work very nicely for me. boudrate: 500000 (change in code for arduino and in prismatik as well, otherwise it will not work, also changing the boudrate on the settingsmenu in devicemanager has no effect). Then set the grabinterval at 1ms. This gives for me the best effect. |
Hi. I am very grateful to you for the work you have done. I am using on windows 10 Prismatik (unofficial fork) software 5.11.2.27 + esp flashed with WLED + Wled_wifi plugin. Everything works great, but stops after resume from sleep state. Restart application helps but after sleeping all repeats. Is there any solution? |
why do you need a plugin? try without (any UDP device option in the config wizard) |
Yes, now i can see that plugin is not running) This infornation in logs after resume from sleep state:
After restart program every thing works fine. Restarting wled device is not helping. P.S. I am trying to make script for auto restart prismatik after logon windows)) |
There is a mechanism to re-create the device on device error. It looks like this was only active for Lightpack devices. Could you please try this version to see if that fixes it? |
@dmutpuul @mattzzz100 when you have a chance, please try the version linked above. Thanks! |
I had the same problem with this version 5.11.2.28. Sometimes it automatically crashes, needs to be restarted and it's back to normal. |
Does it crash or keep running but stop updating colors? Could you provide a log file please? |
@psieg
but if you want i will. And maybe in my case there was some crashes because my pc connected by wifi, and connection sometimes take a lot of time. |
here is log file , version 5.11.2.28 from your commet. Still error with connection device. So i will enable my script)) |
Hello, since the last update (5.11.2.29) my LEDs do not turn back on after resuming from sleep. I can get them to start updating again by double clicking the system tray icon. They also stay responsive if I checkmark Keep lights ON after display sleep/lock/system suspend. I tried rolling back to 5.11.2.28 but the problem persists, even using the version linked above. Linked is my log file and my OS is Windows 10. https://pastebin.com/7yy1610Q |
I have exactly the same with the same operating system, but it goes with waves. For me this has been the case already since 3 or 4 updates ago. After every update the issue seems fixed but then after a while it comes back again. And then also sometimes it works again. So there does not seem to be a clear cause.
…________________________________
From: jechin1 ***@***.***>
Sent: Monday, August 9, 2021 9:58:38 AM
To: psieg/Lightpack ***@***.***>
Cc: Kas152 ***@***.***>; Comment ***@***.***>
Subject: Re: [psieg/Lightpack] Prismatik not working after PC sleeps (#331)
Hello, since the last update (5.11.2.29) my LEDs do not turn back on after resuming from sleep. I can get them to start updating again by double clicking the system tray icon. They also stay responsive if I checkmark Keep lights ON after display sleep/lock/system suspend. I tried rolling back to 5.11.2.28 but the problem persists, even using the version linked above. Linked is my log file and my OS is Windows 10. https://pastebin.com/7yy1610Q
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#331 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMNQAE6OPG2K5GLYBASD6DLT36DC5ANCNFSM4MXREHAQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Sorry for the delay, I was able to reproduce this and fix for non-UDP devices. Could everyone please try this version and let me know. If it doesn't please provide another log with at least level 2. Thanks! |
Unfortunately this did not fix the issue for me. I am using UDP (address 10.1.1.4 as you can see in the log) Thanks for trying though, and keep up the awesome work! Looking forward to this being resolved |
This new version solved my issue. The lights have resumed every time from sleep. |
@H3mul Thanks! Hm, your log is different. The device is recreated and seems to talk to the device again successfully, but grabbing remains stopped. Can you make a log with this version please? I added some logs to help understand why it doesn't resume |
@psieg, sure, here you go. Same behavior, no change (error with connection device). |
This was introduced in b464611. Instead of disconnecting this=>m_ledDevice, it disconnects this=>*, breaking recovery logic
I found another bug. Please give this a try. |
Awesome, that version fixed this issue for me Here's the log just in case: |
The issue still exist: |
For me the issue was always resolved after another update and then it came back after a few months or a month or so. Very strange indeed but unfortunately I have no other info for you. I'm curious to see if the last update fixed it 😊.
…________________________________
From: dmutpuul ***@***.***>
Sent: Tuesday, September 7, 2021 11:13:54 AM
To: psieg/Lightpack ***@***.***>
Cc: Kas152 ***@***.***>; Comment ***@***.***>
Subject: Re: [psieg/Lightpack] Prismatik not working after PC sleeps (#331)
I found another bug. Please give this<https://github.com/psieg/Lightpack/suites/3687131547/artifacts/89844662> a try.
Thank you in my case this version works fine without any issues)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#331 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMNQAE63VLKDJ2QD4ZUJMYLUAXJVFANCNFSM4MXREHAQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Guys,
Today after getting the computer out of sleepmode, the lights did not start again. I have tried to look for the log (set at level 2) but could not find it, where is this located again?
Thanks!
Van: dmutpuul ***@***.***>
Verzonden: dinsdag 7 september 2021 11:14
Aan: psieg/Lightpack ***@***.***>
CC: Kas152 ***@***.***>; Comment ***@***.***>
Onderwerp: Re: [psieg/Lightpack] Prismatik not working after PC sleeps (#331)
I found another bug. Please give this<https://github.com/psieg/Lightpack/suites/3687131547/artifacts/89844662> a try.
Thank you in my case this version works fine without any issues)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#331 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMNQAE63VLKDJ2QD4ZUJMYLUAXJVFANCNFSM4MXREHAQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
The logs are at |
@psieg |
you are not using Prismatik from this repo |
@ILYA878 try using the latest version from this repository. |
Anyway, after a while, the backlight turns off in some programs and games. Sometimes it happens after a few minutes, sometimes after an hour. after restarting the program, it says "connection error". And the logs say, "The device attached to the system does not work." |
@zomfg I think that the problem is in the windows update, while I do not know where to look. The USB power settings is configured as written above. |
I have created a daemon application to keep monitor COM status and auto restart Prismatik, feel free to use. |
So im on windows 10 and managed to set up my adalight unit all fine with prismatic. Then I tried sleeping the PC to see if it will come back on after and it didnt. Now I cant get the lights to work again. Any ideas as to why this happened? I can see the unit in device manager, and Prismatik is running with the same settings as before. Thanks
The text was updated successfully, but these errors were encountered: