# Python3 Binding - massive ghosting / flickering

**URL:** https://rpi-rgb-led-matrix.discourse.group/t/python3-binding-massive-ghosting-flickering/1184
**Category:** Uncategorized
**Created:** [February 6, 2026, 11:37am UTC](https://rpi-rgb-led-matrix.discourse.group/t/python3-binding-massive-ghosting-flickering/1184 "2026-02-06T11:37:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mm1293](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@mm1293](https://rpi-rgb-led-matrix.discourse.group/u/mm1293)
#### Post date: [February 6, 2026, 11:37am UTC](https://rpi-rgb-led-matrix.discourse.group/t/python3-binding-massive-ghosting-flickering/1184/1 "2026-02-06T11:37:04Z")

</div>

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](https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/bindings/python)

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!

 ![IMG_8255](https://global.discourse-cdn.com/free1/uploads/rpi_rgb_led_matrix/original/1X/843a4e2bef211c175594b73a21f8f09b85a236ac.jpeg)

---

<div class="post-metadata">

### Author: ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)
#### Post date: [February 10, 2026, 4:35am UTC](https://rpi-rgb-led-matrix.discourse.group/t/python3-binding-massive-ghosting-flickering/1184/2 "2026-02-10T04:35:59Z")

</div>

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

Start with this

```auto
~/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.
