Start matrix without white flash initial

When I start matrix.begin() my panel shows a white flash (500 ms) and then works…

Is there any way to do not show this little white flash?
I set before matrix.begin brightness to 0x00 and backgroundlayer to blank.


What hardware are you using and what sketch? Does it do the same with all sketches? Can you post the entire sketch (you can just use a built in example that shows the behavior) with your config changes at the top?

I’m using ESP32.
All sketches do it.


#define COLOR_DEPTH 24
const uint16_t kMatrixWidth = 80;
const uint16_t kMatrixHeight = 40;
const uint8_t kMatrixBytesPerPixel = 3;
const uint8_t kRefreshDepth = 24;
const uint8_t kDmaBufferRows = 2;
const uint8_t kPanelType = SM_PANELTYPE_HUB75_40ROW_MOD20SCAN;
const uint32_t kMatrixOptions = (SM_HUB75_OPTIONS_ESP32_CALC_TASK_CORE_1);
const uint8_t kBackgroundLayerOptions = (SM_BACKGROUND_OPTIONS_NONE);

const rgb24 fillColorB = {0, 0, 0};

void init()

  • matrix.addLayer(&backgroundLayer);*
  • backgroundLayer.fillScreen(fillColorB);*
  • matrix.setBrightness(0x00); *
  • matrix.begin();*

With this example, shows the behaviour.

You have a unique panel type that probably not many others have used with SmartMatrix Library, so the issue may be related to that.

Does it have the same issue with a low but non-zero brightness level?

Yes. It have the same issue with non-zero brightness level.
Thanks for your time Louis, I’ll move on