pixelmatix / SmartMatrix

SmartMatrix Library for Teensy 3, Teensy 4, and ESP32
http://docs.pixelmatix.com/SmartMatrix
611 stars 161 forks source link

Slight tearing on 64x64 screen #179

Open shewitson-spt93 opened 6 months ago

shewitson-spt93 commented 6 months ago

I've got a matrix of 640x64 and SM_PANELTYPE_HUB75_64ROW_MODSCAN32.

I'm using drawPixel to draw to every pixel in the backgroundLayer, then call swapBuffers. It looks as thouigh swapBuffers only waits until a bank of 32 rows is complete before updating (rather than the full 64 rows).

This means that if I've got a moving edge then I can see the bottom half updating before the top half

image

embedded-creations commented 6 months ago

Unfortunately that's a natural part of how HUB75 panels work. You could try rotating the panel to reduce the effect, but there's not much that can be done besides keeping the refresh rate high:

https://www.sparkfun.com/news/2650