Replies: 15 comments 19 replies
-
|
Thanks, glad it is working well! I'll do some more testing with the Matrix Portal S3 -- I haven't had any issues with it and 20mhz -- it could be the panel though. I also just added a 32mhz option, which I can get to usually work well on 1 64x64 panel but starts to fail if I chain more together. I may add some other clock rates, but they all end up as being divided by some rate and it's hard to get integer rates across all the various platforms. |
Beta Was this translation helpful? Give feedback.
-
|
Also, Do you have a good way to test the WiFi and 20mhz? Can put something together, or test in esphome more, but if you have something that would be great. |
Beta Was this translation helpful? Give feedback.
-
|
I should have been more clear. Sorry, its been a long day. Im using "wifi" as a generic term. I have 15 devices running (not all purchased at the same time). At 20mhz my websocket connection is unstable and my image download speeds are slow or fail completely. Some of the cards have displays connected and some dont. It surprises me that the cards without displays have issues. In any case, at 10 or 22 mhz, my cards can run for days without a single http hiccup. I dont have a proper test. I just watch the logs. I did some packet sniffing and at 20mhz there's a ton of retransmission requests. Its much quieter at 10 and 22 mhz. |
Beta Was this translation helpful? Give feedback.
-
|
We've observed the same WiFi issue at 20 MHz also for other boards (Tronbyt S3 wide in my case). I haven't tried yet with 32 MHz, but if that's better, it probably has to do with harmonics. Thanks for mentioning this here! |
Beta Was this translation helpful? Give feedback.
-
|
No luck with 32 MHz: the display was working, but the device was no longer able to connect to the WiFi - back to 8 MHz for now :/ |
Beta Was this translation helpful? Give feedback.
-
|
Curious if you see any difference if you disable wifi power saving? |
Beta Was this translation helpful? Give feedback.
-
|
I already had power saving disabled, but what really seems to make a difference is reducing the WiFi Tx power from the default 20 dBm to 11 dBm with 8 MHz: 32 MHz: I'm curious why the clock speed makes such a difference? With that little IRAM, even websocket tasks fail to start. |
Beta Was this translation helpful? Give feedback.
-
I assume you have bit depth default of 8? What do you have min refresh rate set to (60?)? 64x32? Memory usage is a combo of clock speed, color depth, and refresh rate target. Roughly: 8MHz ends up using less memory because it uses fewer dma descriptors due to it automatically reducing color depth on the lowest bits to keep the refresh rate above 60 (it would be ~58 otherwise). If you were to bump min_refresh_rate above the rates in the chart above, it will force it to behave similarly to 8MHz and will end up using less memory. I'll think about how to make some of this more obvious or if 128x64: |
Beta Was this translation helpful? Give feedback.
-
|
My memory measurements above were done with these parameters:
The only difference was the clock speed (8 MHz vs 32 Mhz) which resulted in an increase of 28196 bytes. |
Beta Was this translation helpful? Give feedback.
-
|
Try bumping min_refresh_rate to 120 and see what that looks like. I'll do some more detailed memory measuring and build a more robust calculator when I get a chance |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
I think I've found the sweet spot. 32mhz, 8-bit, 90 refresh |
Beta Was this translation helpful? Give feedback.
-
|
ooof. The latest update has killed the colors. Everything is washed out and my dark areas have greens, yellows and purples in them. I have a status image that has a solid purple background that's now pink. _matrix->fill(0, 0, CONFIG_HUB75_PANEL_WIDTH, CONFIG_HUB75_PANEL_HEIGHT, 75, 0, 130); This happens at all brightness levels. I only updated the library, no other changes. |
Beta Was this translation helpful? Give feedback.
-
|
FWIW. Any combo of 10mhz (8 or 10 bit) looks washed out. I can fix most of the color issues (purple looking pink, image washed out) with 32mhz and double buffering disabled. I still get strange colors in dark areas. In summary, in order to use the config I listed above with the new updates, I had to disable double buffering. |
Beta Was this translation helpful? Give feedback.
-
|
On WiFi / clock speed issues, I've put together #79 and am curious if it might help. If any of you are able to build against this branch and could let me know if any of these options work better that would be awesome |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
I recently starting using your library over the ESP32-HUB75-MatrixPanel-DMA library. I have a very similar project to the tronbyt project. Everything is running great and you've done an excellent job.
Just as an fyi - The Adafruit Matrix Porta S3 wifi hates 20mhz clock speed. I dropped it down to 10mhz and it runs fine. But with the ESP32-HUB75-MatrixPanel-DMA I was able to request 25mhz, though it was actually 22mhz. I set your library to run 22mhz and it hasnt had a single wifi hiccup. Not sure if any of this really matters but thought you'd like to know.
Beta Was this translation helpful? Give feedback.
All reactions