Python3 Binding - massive ghosting / flickering

Hello!
I’ve tried the python3 Binding, just like described here: rpi-rgb-led-matrix/bindings/python at master · hzeller/rpi-rgb-led-matrix · GitHub

While it installs just fine, the examples shows some massive ghosting and flickering, e.g. if I run sudo ./runtext.py --led-rows=64 --led-cols=64, or sudo ./simple-square.py --led-rows=64 --led-cols=64 example

With the standard C API like sudo ./demo -D 1 runtext.ppm --led-rows=64 --led-cols=64 everything looks great, no flickering at all.

Has anyone an idea, what could cause this issue?

Thanks!

It looks like you’re using all the default options, and maybe the defaults are not the same with python

Start with this

~/rpi-rgb-led-matrix/examples-api-use/demo --led-panel-type=FM6126 --led-rows=64 --led-cols=128 --led-chain=1 --led-parallel=3 --led-show-refresh --led-scan-mode=0 --led-pwm-bits=7 --led-pwm-lsb-nanoseconds=50 -D0 --led-row-addr-type=5 --led-slowdown-gpio=3 --led-pwm-dither-bits=1

Tune all the values to what works for you, and then put the same values into the python command.

Hopefully that will work.