Flickering SK6812's in random areas [Raspberry PI + Dig Uno as level shifter setup] #488
Replies: 5 comments 21 replies
-
*Just a little update as I've been playing with some of the settings. I went into the 'Image Processing' tab and came across the 'Anti-flickering threshold value'. I then had a read and saw that it suggested a value of 32. I looked at the Led's behind my TV and found a Led that happened to be flickering. Applied the setting of 32 and it instantly went solid - No flicker. Now I'm not sure yet if that is the whole solution as some additional options then appeared ('Anti-flickering minimal step' & 'Anti-flickering timeout' - Will attach screenshot). Could this be related? - And why would it be required? Although I do now get this in the logs: 'High resolution clock is NOT STEADY!' Again, I'm not holding my breath that this is the solution and am still expecting flickering when I test more tonight. But thought I'd add this into the post. |
Beta Was this translation helpful? Give feedback.
-
Hi Try to enable 'continues output' If it still works then anti-flickering filter is the solution and the problem in your case is the video source. Read more about this here: https://www.hyperhdr.eu/2021/04/how-to-set-up-hyperhdr-part-i-basic.html#chapterFlickering |
Beta Was this translation helpful? Give feedback.
-
Hiya, Thank you so much for the quick reply. Yes - I had a feeling that what I've done might not be ideal.. And that option is still on the table at last resort. In regards to the 'continues output', would I still leave those anti-flickering settings as mentioned in previous screenshot? Or disable that, and enable 'continues output'? Furthermore, the part where you mentioned about being able to have the raspberry Pi apart from the dig uno, power supply and Led's, wouldn't be possible because I'd still need gpio 18 (data) and the ground as you mentioned nearby? There are no USB's involved other than for the capture card. I have taken the ESP32 off of the dig uno so that the raspberry pi is purely running things through the built in level shifter and fuse protection. That's the only reason i'm using the dig uno. In regards to those performance figures, are you able to also let me know what the red number next to the bin means? - I've also noticed the data numbers that get pushed don't seem to be coming back with the same amount. So does it seem likely that the long run is having an effect on that? - Because i've seen some users have say 3000 go to the Led's and then 3000 come back. Again, huge thanks in advanced. |
Beta Was this translation helpful? Give feedback.
-
Antiflickering filter may reduce refresh rate (because it eliminates noise, minimal changes on dark park are not updated on the led strip,) so to make sure I asked you to enable 'continues output' that forces maximum refresh rate on the LED strip to confirm that antiflickering is the real solution. You should disable 'continues output' (it sends a frame even if it is not changed) when you finish testing.
in my proposed solution you should use Adalight driver in HyperHDR which communicates with the ESP32 (HyperSerialESP32 firmware should be uploaded on ESP32) over USB. The common ground is between ESP32 and the LED strip ground in such case (it will be forwarded over USB to Rpi also...but it is not important).
Not sure which HyperHDR version from which date you are using: there was a problem with statistics when the LED device 'Refresh time' was set. But it should be fixed in the latest. Regardless of the statistics problem: 'Refresh time' should be set to 0 for better performance of ws281x or adalight awa driver because these are high performance drivers. It generates unnecessary delay only. |
Beta Was this translation helpful? Give feedback.
-
To keep it in one place I move it to the HyperHDR discussion. To clarify: your problem was caused by the your video source because the anti-flickering filter solves it. If you are happy with the current result you can leave it as it is. It's good that you dropped that GPIO18 and direct driving ws218x from Rpi and you are using Adalight now, because generating signal on Rpi is not a cheap thing: it takes a lot of real time resources which other drivers or applications (including HyperHDR) need. Still 2 meters data & power cables is not a good thing. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Hoping you can help. I've been experiencing some extremely frustrating issues surrounding flickering led's in random patchy areas when watching any type of content. I have a bit of a different setup which I mimicked from another project.
Setup specification:
Overall in most situations I have found the effect to be very pleasing. However, I do often get this flickering effect in random areas and it can be very distracting. I have tested all connections round the TV, of which appear to have good continuity. I have insured that the Dig Uno is set to 33Omhs (as a level shifter). It's very hard to figure out what the problem is as I can often see an LED just flickering. That appears to be the norm. But that moves to different led's. I have even replaced sections of LED's thinking maybe they were faulty.
Attached is the performance data and other pages from the dashboard. I did wonder what the high number in red next to the bin icon meant.
I would be really grateful for any insight into what might be causing this issue. I did even wonder whether I just need to move the PI, dig uno (used as level shifter) and capture card up by the tv for a shorter direct run to the LED's. Maybe that would help? But I was under the impression you can carry out a fairly long run up to 10m. I am using 12AWG which ensures there isn't much voltage drop.
I can provide logs if need be, but to tell you the truth there are not any errors that I can see.
Kind regards in advanced :)
Beta Was this translation helpful? Give feedback.
All reactions