LCD buffering insight ?

User avatar
klaatu2
Posts: 36
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

LCD buffering insight ?

Postby klaatu2 » Wed Feb 26, 2025 3:13 am

Has anyone invested the time to quantify or determine the best/fastest display buffering scheme and settings to use? :?:
I'm using the ESP32-S3 and a 800x480 display, and it fairly slow. No tearing, but very low frame rate. Content is generated from LVGL
I have tuned it according to espressif's docs, however, I can't be sure what is actually going on under all those code layers

esp32-S3 buffering.jpg
esp32-S3 buffering.jpg (59.11 KiB) Viewed 339 times

teletypeguy
Posts: 10
Joined: Sat Feb 22, 2025 7:21 pm

Re: LCD buffering insight ?

Postby teletypeguy » Wed Feb 26, 2025 3:37 am

LCD panels with an RGB interface (if it has HSYNC and VSYNC lines) do not have a frame buffer, and the S3 has to maintain full-screen psram buffers and constantly refresh the entire display. I am no expert in the details so I can't offer any tuning advice. There may be some memory-access contention considerations.

I use lvgl on smaller panels (320x480-ish and down), though for a low-frame-rate gui. The smaller panels have frame buffers so you only update small-ish regions as needed. They usually have an spi interface which does not help frame rate, but there are some out there with parallel 16-bit interfaces for snappy updates.

You might ask on the lvgl forum -- a bunch of good folks plus devs:

https://forum.lvgl.io/

Who is online

Users browsing this forum: No registered users and 74 guests