luc-github / ESP3D-TFT

ESP3D Firmware for ESP32 based TFT
GNU General Public License v3.0
38 stars 9 forks source link

Performance Improvement for ESP32_2432S028R with PSRAM mod #23

Closed serisman closed 1 year ago

serisman commented 1 year ago

This increases the DISP_BUF_SIZE for the PSRAM variant, and allows LVGL to dynamically allocate out of PSRAM instead of using a set block of internal DRAM.

This appears to increase the FPS on the SD file listing screen and decrease the CPU utilization on most screens (but especially on screens with fairly static content). This target is pretty much getting full 33 FPS on all screens now, except while actively scrolling lists. It is noticeably less laggy as well.

This also frees up a bunch more internal DRAM for other future uses.

luc-github commented 1 year ago

@all-contributors please add @serisman for code and ideas update

allcontributors[bot] commented 1 year ago

@luc-github

I've put up a pull request to add @serisman! :tada: