Skip to content
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

Slow rendering with 128x96 pixels #25

Open
ssaenger opened this issue Jul 23, 2024 · 8 comments
Open

Slow rendering with 128x96 pixels #25

ssaenger opened this issue Jul 23, 2024 · 8 comments

Comments

@ssaenger
Copy link

Great animations.

Have you tried running with a large panel before? It looks great (some only render a small circle in the middle of the screen). The problem is I average about 5fps :/. I'm using Teensy 4.1. I'm guessing this is to be expected when trying to drive 12,288 pixels.

@hpwit
Copy link
Collaborator

hpwit commented Jul 23, 2024

Hello
I am running them an a 128x96 using and esp32. but I am using a Special driver that allows me to refresh the panel à 128fps.
so I can have better fps. which animation are you using ? I could make a benchmark (even if the teensy is way more powerful than the esp32 at flaot calculation)

@ssaenger
Copy link
Author

We both have the same panel size and it sounds like you are able to have a much higher fps with a less powerful chip. I wonder what I am doing wrong.
For example, the Hot_Blob() animation gives me 7 fps. It does 4 calls to render_value() and I think the slowness happens in here. Printing the statistics:
7 fps 86 kpps @12288 LEDs 137322.00 µs per frame Rendering: 99.00% Sending data: 1.00% (135301.00 + 2021.00 µs)
135ms for rendering 1 frame. That's a very long time, which equates to about 7fps.

@hpwit
Copy link
Collaborator

hpwit commented Jul 23, 2024

Hello
With how many pins are you driving the panel ?

@ssaenger
Copy link
Author

I'm driving some HUB75 panels. I don't know how many pins are being used, but that is not the issue. I can drive these panels over 200fps for example. From the little statistics printed in my earlier message, the delay sending the data only accounts for about 1% of the total delay.

hpwit, how long does it take to render a frame on your end? Do you have any video showing these animations being played?
Thanks.

@twintersx
Copy link

Hello, I have the same issue running esp32-c3. @hpwit could you share your "special driver" info and setup? I am using a string of WS2811 LEDs with a single pin output from esp32. Thanks!

@hpwit
Copy link
Collaborator

hpwit commented Jan 8, 2025

This driver will only for esp32 and esp32s3

@twintersx
Copy link

@hpwit I've actually made the switch to ESP32 now (previously C3), can you kindly share what driver you are referring too? I'd like to avoid using the Teensy 4 for cost purposes.

@hpwit
Copy link
Collaborator

hpwit commented Jan 17, 2025

@twintersx I am using the https://github.com/hpwit/I2SClocklessVirtualLedDriver
let me know if you have any question.
But as the esp32 doesn"t have a fpu it will not be as fast as a teensy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants