WS 2811 lights flickering
It turns out that WS281X reshapes the signal on output, therefore the timing of the bits has to be reasonably tight otherwise a reset signal may be generated within the pulse train by further devices. Verify your code to make sure that the pixel timing is as expected by them.

"NeoPixels Revealed: Why you should give your bits room to breathe"