Tips to increase frame rate and using PSRAM

What do you want to achieve?

I want to increase the frame rate on my pages. On certain ones, it looks very slow and glitchy as it changes. We also wanted to know how to see if we are using the built in PSRAM on our board

What have you tried so far?

We have tried allocating specific memory but we don’t seem to have it correct. We want to use the PSRAM but we aren’t sure if it is activating or not. We have decreased our memory space from 90% to 20% using temporary screens but it doesn’t seem to help the refresh rate. Our fragmentation is typically under 10% except on those page where it glitches when it can get up to 25%

Screenshot or video

Others

  • SquareLine Studio version: 1.3.4
  • Operating system: Arduino
  • Target hardware: ESP-32 S3 Wroom 1

Are you using ESP-IDF for development? Then you might need to check the settings in sdkconfig file through command ‘idf.py menuconfig’ and if you need PSRAM, enable it… And there under the Components menupoint you’ll find LVGL settings with comments too that can be tweaked for faster update, like the render-buffer size, etc.