So, first, is it fair to say that the shift registers on those panels are fast enough that they are not the limiting factor for the refresh rate, and that only the teensy, is?
If so, at 64x64, with both 32x64 at 1/16 with 2 panels which makes it 1/32, or 64x64 1/32, the flickering is visible with the naked eye and bad enough that most pictures are garbage, while a video is so bad that I stopped recording.
Is it fair to assume that if I switch to a teensy 3.6, the faster CPU will fresh the screen more quickly (4x faster more or less?) and hopefully refresh the screen more quickly than my camera is taking frames?
Currently 32x64x2 runs at 53fps according to the counter in the demo and strangely 64x64 only tops out at 49fps
FastLED allows running multiple Neopixel strings in parallel to get around fps issues (thankfully the LEDs keep their values and don’t flicker). Has anyone used smartmatrix in a way that 2 or 4 panels are run in parallel, using more pins on the teensy, or doing this in parallel would just divide the fps by 2 or 4 because it’s processor limited anyway, so ultimately it would be no better than the current chaining mechanism?
In the example you’re running, the Teensy is the limiting factor. I’m not sure at what point the panel refresh rate becomes the limiting factor.
I personally won’t be happy with viewing anything below 120Hz refresh. Trying to get that out of the Teensy 3.2 at 64x64 isn’t going to happen. You can try to drop the color depth to 24 from 36, but you’re likely still getting flicker.
A Teensy 3.6 should handle larger panel sizes much better, but I can’t tell you off hand if you’re going to be able to get >120Hz refresh with a 64x64 panel.
The limitation is mostly CPU to calculate the data used for refreshing the panel, and not shifting out the bits. On the ESP32, you can separate out the calculation from the refresh, so you could refresh at, let’s say, 250Hz while only updating the frames at 30Hz, and there’s a lot less CPU overhead.
Thanks for clearing that up and confirming the target fps I want to get a visually usable display. I’ll get another teensy 3.6 and skip using 3.1 altogether.
I’ll also drop the color depth. I certainly don’t need 36bpp, and even 24bpp may be more than I need. I’ll try 16bpp too when I get a chance, especially as my target resolution for my new shirt design is 64x96 with 3x 64x32 P4 flexible panels given that it will fit.
As you point out, ESP32 with its two cores and better DMA capability (including RMT which may not be useful here,though), can refresh the panel full speed while calculating frames independently, which is very promising.
I already read that your current ESP32 is a bit alpha still, so I’m not sure if it will work for me yet, and I need to port my code/library to SmartMatrix first, but once that’s done, I’ll definitely look at moving back to ESP32, especially for its better debug/backtrace capability.
GFX support already done with Panels, just what I needed
Will need to look at this too.
Yeah for open source and people sharing and building on top of one another
Just to confirm, I plugged in the teensy 3.6 I just received, and I got over 120fps (limited to 120fps) on 64x64 without problems (as I expected). Now that I have 120fps, it indeed doesn’t look like crap anymore, even on my camera.
About the bpp options. I know you’re a perfectionist and you actually worked towards more colors and color depth
That being said, as people are hitting limits with what their teensy can push, or building 128x128 panels which push the limit of what’s possible even with a teensy 3.6 while still keeping an acceptable refresh rate, I think supporting 16bpp RGB565 would make sense.
It would save RAM and give a higher refresh rate which is more important than more color depth if it’s at the expense of bad flickering.
Forgetting 128x128 for a second, even 64x64 had unacceptable flickering with a teensy 3.2. Maybe going down to 16bpp would have bumped up the refresh rate high enough that it would have been usable.