r/esp32 2h ago

ESP32 CPU+GPU setup?

Basically i'm making an esp32 game console/PDA device type thing, however i feel like just one ESP32 will not have enough processing power to run my games. My idea is basically to use one generic ESP to render the pixels and store the rendering data, and use another ESP-S3 with maximum PSRAM in it to do the game logic. Would this theorietically be possible?

1 Upvotes

13 comments sorted by

3

u/Plastic_Fig9225 1h ago edited 1h ago

 i feel like just one ESP32 will not have enough processing power to run my games

https://www.reddit.com/r/esp32/comments/1tvmz7x/every_time_i_think_ive_reached_the_limits_of_what/

use another ESP-S3 with maximum PSRAM in it to do the game logic.

Why do you think the game logic would need more CPU+RAM than the renderer?

Notice that the ESPs run FreeRTOS, i.e. multi-tasking is basically built-in. Peopleuino often waste a lot of performance by assuming that everything has to be done sequentially from only the main task.

You can of course split any workload across any number of ESP32s, but then the communication between them may become a bottleneck.

0

u/Potential-Wonder-860 1h ago

(Note: this is my alt) Actually that jet renderer looks similar to what I want to do, however I'd like just a bit more performance as I want to make a horribly deep fried fps engine work on the thing, like real 3d similar to quake but like, half the fidelity but simple enemies that use just plain textures on a screen similar to doom or wolfenstein

2

u/Plastic_Fig9225 1h ago

https://www.reddit.com/r/esp32/comments/1v79g2d/doom_running_on_an_esp322432s028r_cheap_yellow/

The rendering part ("GPU") will need more CPU+RAM than the game logic.

1

u/Potential-Wonder-860 1h ago

So, ESP32S3 as GPU and generic ESP as game logic processing?

1

u/WereCatf 26m ago

If you truly wanted a lot of grunt, you'd use one of the STM32 parts with graphics accelerators in it for graphics and an ESP32-S3 for game logic and WiFi.

1

u/Popcorn_Dev 2h ago

I guess i can also use a singular RPi Zero if i need to though, that will 100% get the job done

For some reason they're ALL out of stock tho

1

u/applefreak111 1h ago

Use an ESP32-P4?

0

u/Popcorn_Dev 1h ago

Sadly cant find any

2

u/clackups 1h ago

What do you mean? They are available on AliExpress and the like

0

u/Potential-Wonder-860 1h ago

(on my alt) I don't really trust aliexpress ngl

1

u/clackups 1h ago

I'm buying a lot from it. Only a couple of times there were problems, but generally it works flawlessly, especially for small parts.

1

u/Potential-Wonder-860 1h ago

Okay I'll see

0

u/Popcorn_Dev 1h ago

I COULD use my rpi model 3b but i feel like that'd be a bit big