Yona-Appletree / LEDscape

Beagle Bone Black cape and firmware for driving a large number of WS281x LED strips.
126 stars 58 forks source link

Dithering ficker with low level of strings #50

Closed joaopmrod closed 1 year ago

joaopmrod commented 7 years ago

Why do I see a lot of flickering when I activate dithering with 8 string 100 pixels and it becomes much better when I change it to 48 strings 100 pixels?

Yona-Appletree commented 7 years ago

I'd have to do some testing, but it may simply be that dithering is getting disabled due to insufficient time when you're running 48x100. Some blinking is normal with dithering -- it's a trade off. If you're curious to debug it, take a look at render_thread in opc-server.c. Try tweaking maxDitherFrames and look at how dithering_enabled is setup. I'm happy to accept PRs that improve things... the dithering logic is far from perfect.