-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The refresh rate of the RGB matrix is a bit slow #9
Comments
RGB24 is the worst mode. The limit the bad USB to serial converter that is used on ESP32. Mybe you should consider to share your work in progress, so I can take a look at it. Are you using ZeDMD or ZeDMD HD? Are you using 3.4.1? |
Thanks mkalkbrenner I'm using a ZeDMD with the last 3.4.1 firmware. Let me upload my code to my GitHub repo and then you can test it (I'm not a developer so probably is full of mistakes) |
A question, I understand that data transfer may be slower when using RGB24 images due to their larger size (I'm not sure if they could be compressed before sending them to ZeDMD; I thought I saw that you have the ability to compress data). However, what I observe is that when the image is displayed in the matrix, it doesn't appear immediately (while your logo does). So, I'm not sure if it's an issue with my code or the subsequent handling of the image by ZeDMD. |
Hi Markus, No, I can't.. the server refuses me |
@gustavoalara how can we get in contact? |
Hi Markus, Once the issues with the new versions were resolved, I recompiled my program and tested image transmission in RGB24. As you can see in the attached video, the image doesn't appear instantly; instead, it undergoes a top-to-bottom sweep. This behavior, when sending frames of an animation, leads to suboptimal "refresh," and I believe it's not related to USB communication. VID_20240123_222051.mp4 |
A sample video VID_20240123_224314.mp4 |
@gustavoalara you use ZeDMD HD. Like mentioned above, the serial interface of the ESP32 is very limited. Even with the smart algorithm and compression, you can't go faster as 5 frames per second if you have a "movie scene". Again, with typical ROM content, the small ZeDMD is much faster. I'm already working on the ESP32 S3 version. It's native USB interface is expected to be 10 times faster. And the ESP32 has more memory that will allow double buffering for smoother animations. |
Thanks @mkalkbrenner I'll buy the S3 version to give a chance with your new code One more question, do we have the same limitations when using the wifi communication? (Sorry, but I haven't tested the Wi-Fi functions you've added to the code yet.) |
WiFi has a higher bandwidth but more latency. So it depends on your use-case. Is it just a movie or backgrounf or do you need "real time". |
My new couple of ESP32 S3 just arrived today, so I'm very exciting to check your firmware for this board. I see there is no version yet on the ZeDMD repo, do you have any beta to check? |
@gustavoalara be aware that the pinout of the S3 is different. It would be nice if you provide feedback. https://github.com/PPUC/libzedmd/tree/s3 https://github.com/PPUC/libzedmd/actions/runs/7756962146 |
@gustavoalara To flash the S3 you must use the UART USB header. To run ZeDMD you need to use the native USB port. |
Sorry for not writing earlier, due to family illnesses I couldn't take these tests. Just to catch up, does the latest version 0.7.0 also include support for S3 and version 3.5.2 of ZeDMD? (By the way, I bought the N16R8 of the S3). |
@gustavoalara the S3 basically works. But the firmware still misses the essential part to leverage the native USB communication. |
And it is worth to mention that we focus on RGB565 / RGB16 encoding to improve the speed. libzedmd offers a method to encode RGB24 as RGB16 before sending to ZeDMD. |
Nice to hear about this changes. I'll give a try with the non S3 ESP So, any plans to migrate these integration on Batocera Linux for Emulation station to the windows version or another Frontends like Launchbox or Attract-Mode? |
@gustavoalara latest versions became pretty fast: |
Nice! Currently I'm working with Ojacques in the DOF2DMD server and the Attract-Mode plugin, but we're using the flexdmd library to communicate with the ZeDMD firmware, so I guess Flexdmd need to be updated with your new library. |
Ah, I just seen Flexdmd uses DMD Extensions that today have been updated with your library too! |
What kind of DMD is that front one in the video? |
ZeDMD HD S3 in WiFi mode. |
I'm sorry to be a bother, but I'm conducting tests with the library and have encountered some additional issues. When I send the framebuffer with an image or a series of frames from a video converted to the format understood by ZeDMD through the RenderRGB24 command, I'm noticing that the rendering on the LED matrix is a bit slow. It performs a top-to-bottom sweep that, in animations, makes them not completely smooth (I'm also using m_streaming set to on and not performing a ClearScreen between frames).
I'm not sure if I'm not using something correctly or if it's still something you're working on.
Thanks in advanced
The text was updated successfully, but these errors were encountered: