You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, does it only happen while you are selecting a new effect/palette or occasionally at random while the effect is active? Can you tell me a combination of effect and palette where the issue happens?
I've finally seen it today. However it's very rare (only happened twice with 2 hours in between) and I couldn't figure out the reason yet. There are two main potential causes I can think of: First one is an overflow of a helper variable that causes undefined behavior for a frame (during wrap-around).
Second is that the ESP tries to update the LEDs before the previous update cycle was completed. This is likely mostly on larger strips since the fixed 50fps refresh rate on FastLED effects is quite fast. However, if this was true, the flashes should happen more frequently on larger strips - which I was unable to reproduce.
I think the second hypothesis is possible because it's happening only on my 100+ led clocks. I have one with only 26 and it does not flash like the others. How can i help you further investigate ?
If you want to help investigating, try if decreasing the FastLED fx refresh rate helps. When you scroll all the way down in WS2812FX.cpp you can see the return 20; at the end of each FastLED effect function. This means the LEDs are updated every 20ms - 50 times per second. You could try and increase the return value of one of the effects (like Noise 16 1), and see if the issue goes away when you change it to 33 (30fps) or 50 (20fps). This will make the animation slower, but for testing that doesn't matter. I remember I once had a LOT of white flashes when i implemented the fade transistions - it was because I accidentally updated the LEDs twice in a row. How often do they happen in your case? Every few seconds or only a few times per hour?
Thank you for offering to help me, since my longest testing strip only has 84 LEDs!
Activity
Aircoookie commentedon Oct 22, 2018
Hi, does it only happen while you are selecting a new effect/palette or occasionally at random while the effect is active? Can you tell me a combination of effect and palette where the issue happens?
kayrozen commentedon Oct 22, 2018
occasionally at random while the effect is active. It's Noise 16-1.
Aircoookie commentedon Oct 24, 2018
I've finally seen it today. However it's very rare (only happened twice with 2 hours in between) and I couldn't figure out the reason yet. There are two main potential causes I can think of: First one is an overflow of a helper variable that causes undefined behavior for a frame (during wrap-around).
Second is that the ESP tries to update the LEDs before the previous update cycle was completed. This is likely mostly on larger strips since the fixed 50fps refresh rate on FastLED effects is quite fast. However, if this was true, the flashes should happen more frequently on larger strips - which I was unable to reproduce.
kayrozen commentedon Oct 24, 2018
I think the second hypothesis is possible because it's happening only on my 100+ led clocks. I have one with only 26 and it does not flash like the others. How can i help you further investigate ?
Aircoookie commentedon Oct 25, 2018
If you want to help investigating, try if decreasing the FastLED fx refresh rate helps. When you scroll all the way down in
WS2812FX.cppyou can see thereturn 20;at the end of each FastLED effect function. This means the LEDs are updated every 20ms - 50 times per second. You could try and increase the return value of one of the effects (like Noise 16 1), and see if the issue goes away when you change it to 33 (30fps) or 50 (20fps). This will make the animation slower, but for testing that doesn't matter. I remember I once had a LOT of white flashes when i implemented the fade transistions - it was because I accidentally updated the LEDs twice in a row. How often do they happen in your case? Every few seconds or only a few times per hour?Thank you for offering to help me, since my longest testing strip only has 84 LEDs!
Aircoookie commentedon Oct 25, 2019
It seems like this is #230 :)
Merge pull request #64 from Aircoookie/master
Merge pull request wled#64 from Aircoookie/master