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

LVGL Lottie draw buffer cannot allocate from external memory esp32s3 (BSP-593) #451

Open
1 task done
MR-VENOM opened this issue Dec 4, 2024 · 17 comments
Open
1 task done
Labels

Comments

@MR-VENOM
Copy link

MR-VENOM commented Dec 4, 2024

Board

esp32s3eye

Hardware Description

Using the esp32s3 eye module,

IDE Name

VSCODE

Operating System

linux

Description

The lv_lottie_set_buffer is not able to set more than 180 *180 buffer even though psram is enabled and set to allocate by malloc() and have 8mb psram i am using it with esp-sr for speech recognition the speech recogntion works finr but Lottie on LVGL does not work

sdkconfig.txt

Sketch

lvgl_port_cfg_t lvgl_port_cfg = {
        .task_priority = CONFIG_BSP_DISPLAY_LVGL_TASK_PRIORITY,
        .task_stack = 6144,
        .task_affinity = 1,
        .task_max_sleep_ms = CONFIG_BSP_DISPLAY_LVGL_MAX_SLEEP,
        .timer_period_ms = CONFIG_BSP_DISPLAY_LVGL_TICK,
    };
    ESP_ERROR_CHECK(lvgl_port_init(&lvgl_port_cfg));

    bsp_display_config_t bsp_disp_cfg = {
        .max_transfer_sz = BSP_LCD_DRAW_BUFF_SIZE * sizeof(uint16_t),
    };
    ESP_ERROR_CHECK(bsp_display_new(&bsp_disp_cfg, &this->panel_handle, &this->io_handle));

    esp_lcd_panel_disp_on_off(this->panel_handle, true);

    lvgl_port_display_cfg_t disp_cfg = {
        .io_handle = this->io_handle,
        .panel_handle = this->panel_handle,
        .buffer_size = BSP_LCD_DRAW_BUFF_SIZE * 4,
        .double_buffer = 1,
        .hres = BSP_LCD_H_RES,
        .vres = BSP_LCD_V_RES,
        .monochrome = false,
        /* Rotation values must be same as used in esp_lcd for initial settings of the screen */
        .rotation = {
            .swap_xy = false,
            .mirror_x = false,
            .mirror_y = false,
        },
        .flags = {
            .buff_dma = false,
            .buff_spiram = true,
#if LVGL_VERSION_MAJOR >= 9
            .swap_bytes = (BSP_LCD_BIGENDIAN ? true : false),
#endif
        }
    };
    
    this->disp = lvgl_port_add_disp(&disp_cfg);
    assert(this->disp);

    bsp_display_backlight_on();

    this->gfx_buffer = (uint8_t *)heap_caps_malloc(240 * 240 * 4, MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT);
    assert(this->gfx_buffer != nullptr);
    bsp_display_lock(0);
    this->lottie_obj = lv_lottie_create(lv_screen_active());
    bsp_display_unlock();
    
    
    bsp_display_lock(0);
    lv_lottie_set_src_file(this->lottie_obj, path.c_str());
    lv_lottie_set_buffer(this->lottie_obj, 10, 10, this->gfx_buffer);
    lv_obj_center(this->lottie_obj);
    bsp_display_unlock();

Other Steps to Reproduce

No response

I have checked existing issues, README.md and ESP32 Forum

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@MR-VENOM MR-VENOM added Status: Awaiting triage Type: Bug Something isn't working labels Dec 4, 2024
@github-actions github-actions bot changed the title LVGL Lottie draw buffer cannot allocate from external memory esp32s3 LVGL Lottie draw buffer cannot allocate from external memory esp32s3 (BSP-593) Dec 4, 2024
@espressif2022
Copy link
Contributor

Hello, you can try to increase stack size .task_stack = 6144, thorvg needs quite larger stack.

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

@espressif2022 STill the isuue is not solved.

I changes the stack size into .task_stack = 6144 * 5

LOG


Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x403835c1  PS      : 0x00060e33  A0      : 0x80388dda  A1      : 0x3fca2840  
--- 0x403835c1: spinlock_acquire at /home/nikhi/esp/v5.2.3/esp-idf/components/esp_hw_support/include/spinlock.h:103
 (inlined by) xPortEnterCriticalTimeout at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:474

A2      : 0x00000031  A3      : 0xffffffff  A4      : 0x3fca75b4  A5      : 0x00060e23  
A6      : 0x00000000  A7      : 0x0000cdcd  A8      : 0x00060e20  A9      : 0x3fca2840  
A10     : 0x00060e23  A11     : 0x00000000  A12     : 0x00060e20  A13     : 0x3fca2d4c  
A14     : 0x00000001  A15     : 0x000000e7  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000031  LBEG    : 0x400570e8  LEND    : 0x400570f3  LCOUNT  : 0xffffffff  
--- 0x400570e8: memset in ROM
0x400570f3: memset in ROM



Backtrace: 0x403835be:0x3fca2840 0x40388dd7:0x3fca2870 0x40388e16:0x3fca2890 0x4037a71d:0x3fca28b0 0x4037a74a:0x3fca28d0 0x4037a4ec:0x3fca2900 0x4038a631:0x3fca2920 0x420384a5:0x3fca2940 0x4203867e:0x3fca2960 0x420387d9:0x3fca2980 0x420397f7:0x3fca7720 0x42037629:0x3fca7750 0x4203b036:0x3fca77a0 0x42037c37:0x3fca77c0 0x42037caf:0x3fca77e0 0x4202dffe:0x3fca7810 0x4202e465:0x3fca7850 0x4202e2aa:0x3fca7900 0x4202e486:0x3fca7950 0x4202e2aa:0x3fca7a00 0x4202e486:0x3fca7a50 0x4202e583:0x3fca7b00 0x4202e4a7:0x3fca7b80 0x4205d6a5:0x3fca7c30 0x4205d93d:0x3fca7c70 0x4205d95f:0x3fca7ca0 0x420231bf:0x3fca7cd0 0x4204b171:0x3fca7d00 0x42008efa:0x3fca7d30 0x42008dd0:0x3fca7d50 0x421220cf:0x3fca7d90 0x403833d1:0x3fca7dc0
--- Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
--- Waiting for the device to reconnect.
--- 0x403835be: xt_utils_get_raw_core_id at /home/nikhi/esp/v5.2.3/esp-idf/components/xtensa/include/xt_utils.h:51
 (inlined by) spinlock_acquire at /home/nikhi/esp/v5.2.3/esp-idf/components/esp_hw_support/include/spinlock.h:87
 (inlined by) xPortEnterCriticalTimeout at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:474
0x40388dd7: xPortEnterCriticalTimeoutSafe at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:581
 (inlined by) vPortEnterCriticalSafe at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:588
 (inlined by) multi_heap_internal_lock at /home/nikhi/esp/v5.2.3/esp-idf/components/heap/multi_heap.c:165
0x40388e16: multi_heap_malloc_impl at /home/nikhi/esp/v5.2.3/esp-idf/components/heap/multi_heap.c:209
0x4037a71d: heap_caps_malloc_base at /home/nikhi/esp/v5.2.3/esp-idf/components/heap/heap_caps_base.c:131
0x4037a74a: heap_caps_realloc_base at /home/nikhi/esp/v5.2.3/esp-idf/components/heap/heap_caps_base.c:159
0x4037a4ec: heap_caps_realloc_default at /home/nikhi/esp/v5.2.3/esp-idf/components/heap/heap_caps.c:151
0x4038a631: realloc at /home/nikhi/esp/v5.2.3/esp-idf/components/newlib/heap.c:34
0x420384a5: _genSpan(SwRleData*, SwSpan const*, unsigned long) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRle.cpp:317
0x4203867e: _sweep(RleWorker&) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRle.cpp:434 (discriminator 1)
0x420387d9: rleRender(SwRleData*, SwOutline const*, SwBBox const&, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRle.cpp:994
0x420397f7: shapeGenStrokeRle(SwShape*, tvg::RenderShape const*, tvg::Matrix const*, SwBBox const&, SwBBox&, SwMpool*, unsigned int) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwShape.cpp:617
0x42037629: SwShapeTask::run(unsigned int) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRenderer.cpp:170
0x4203b036: tvg::TaskSchedulerImpl::request(tvg::Task*) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgTaskScheduler.cpp:189
 (inlined by) tvg::TaskScheduler::request(tvg::Task*) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgTaskScheduler.cpp:217
0x42037c37: tvg::SwRenderer::prepareCommon(SwTask*, tvg::RenderTransform const*, tvg::Array<void*> const&, unsigned char, tvg::RenderUpdateFlag) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRenderer.cpp:765
0x42037caf: tvg::SwRenderer::prepare(tvg::RenderShape const&, void*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgSwRenderer.cpp:809
0x4202dffe: tvg::Shape::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgShape.h:110
0x4202e465: tvg::Paint::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgPaint.cpp:293 (discriminator 2)
0x4202e2aa: tvg::Scene::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgScene.h:125
0x4202e486: tvg::Paint::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgPaint.cpp:293 (discriminator 3)
0x4202e2aa: tvg::Scene::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgScene.h:125
0x4202e486: tvg::Paint::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgPaint.cpp:293 (discriminator 3)
0x4202e583: tvg::Picture::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgPicture.h:109
0x4202e4a7: tvg::Paint::Impl::update(tvg::RenderMethod*, tvg::RenderTransform const*, tvg::Array<void*>&, unsigned char, tvg::RenderUpdateFlag, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgPaint.cpp:293 (discriminator 4)
0x4205d6a5: tvg::Canvas::Impl::update(tvg::Paint*, bool) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgCanvas.h:107
0x4205d93d: tvg::Canvas::Impl::push(std::unique_ptr<tvg::Paint, std::default_delete<tvg::Paint> >) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgCanvas.h:77
0x4205d95f: tvg::Canvas::push(std::unique_ptr<tvg::Paint, std::default_delete<tvg::Paint> >) at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgCanvas.cpp:57 (discriminator 1)
0x420231bf: tvg_canvas_push at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/libs/thorvg/tvgCapi.cpp:93 (discriminator 1)
0x4204b171: lv_lottie_set_buffer at /home/nikhi/disk/pc_ai_acc/managed_components/lvgl__lvgl/src/widgets/lottie/lv_lottie.c:79
0x42008efa: Gfx::lottie(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) at /home/nikhi/disk/pc_ai_acc/components/modules/AI_Module/src/app_gfx.cpp:105
0x42008dd0: app_main at /home/nikhi/disk/pc_ai_acc/main/app_main.cpp:15 (discriminator 2)
0x421220cf: main_task at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/app_startup.c:208
0x403833d1: vPortTaskWrapper at /home/nikhi/esp/v5.2.3/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:134





ELF file SHA256: c5856b30c

--- Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
--- Waiting for the device to reconnect.
--- Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
--- Waiting for the device to reconnect.
--- Error: device reports readiness to read but 

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

Let me break down the components of my project:

ESP-DL with examples from ESP-WHO.
ESP-SR for English speech recognition.
Wi-Fi for internet connectivity.
ESP-HTTP for server communication.
LVGL for Lottie animations.
Everything else works as expected, but the Lottie files only function properly if their dimensions are 100x100 or smaller.

Changes i made to sdkconfig


CONFIG_IDF_TARGET="esp32s3"
CONFIG_IDF_TARGET_ESP32S3=y
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y
CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y
CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS=y
CONFIG_ESP_SYSTEM_RTC_FAST_MEM_AS_HEAP_DEPCHECK=y
CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP=y



CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_SPIRAM_USE_MALLOC=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_ESPTOOLPY_NO_STUB=y
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32S3_INSTRUCTION_CACHE_32KB=y
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
CONFIG_ESP32S3_DATA_CACHE_64KB=y
CONFIG_ESP32S3_DATA_CACHE_8WAYS=y
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
CONFIG_CAMERA_MODULE_ESP_S3_EYE=y
CONFIG_LCD_DRIVER_SCREEN_CONTROLLER_ST7789=y
CONFIG_MFN_V1=y
CONFIG_S8=y


CONFIG_MODEL_IN_SPIFFS=y
CONFIG_USE_WAKENET=y
CONFIG_SR_WN_WN9_HIESP=y
CONFIG_USE_MULTINET=y
CONFIG_SR_MN_ENGLISH=y
CONFIG_SR_MN_CN_NONE=y
CONFIG_SR_MN_EN_MULTINET7_QUANT=y
CONFIG_ESP32_S3_EYE_BOARD=y
CONFIG_ESP_CONSOLE_UART_NUM=4
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y
CONFIG_FREERTOS_HZ=1000
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y

CONFIG_HTTPD_MAX_REQ_HDR_LEN=2048
CONFIG_HTTPD_MAX_URI_LEN=2048
CONFIG_HTTPD_WS_SUPPORT=y
# CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP is not set
CONFIG_ESP_MAIN_TASK_STACK_SIZE=4096
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
CONFIG_ESP_WIFI_IRAM_OPT=y
CONFIG_ESP_WIFI_RX_IRAM_OPT=y
CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=32
CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=128
CONFIG_ESP_WIFI_STATIC_TX_BUFFER_NUM=32
CONFIG_ESP_WIFI_RX_BA_WIN=32
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=65000
CONFIG_LWIP_TCP_WND_DEFAULT=65000
CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y
CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT=y


## LVGL8 ##
CONFIG_LV_USE_PERF_MONITOR=y
CONFIG_LV_COLOR_16_SWAP=y
CONFIG_LV_MEM_CUSTOM=y
CONFIG_LV_MEMCPY_MEMSET_STD=y

## LVGL9 ##
CONFIG_LV_CONF_SKIP=y

#CLIB default
CONFIG_LV_USE_CLIB_MALLOC=y
CONFIG_LV_USE_CLIB_SPRINTF=y
CONFIG_LV_USE_CLIB_STRING=y

# Performance monitor
CONFIG_LV_USE_OBSERVER=y
CONFIG_LV_USE_SYSMON=y
CONFIG_LV_USE_PERF_MONITOR=y

# LOTTIE 
CONFIG_LV_USE_LOTTIE=y
CONFIG_LV_USE_THORVG=y
CONFIG_LV_USE_THORVG_INTERNAL=y
CONFIG_LV_USE_VECTOR_GRAPHIC=y

#FATFS
CONFIG_FATFS_API_ENCODING_UTF_8=y
CONFIG_FATFS_LFN_HEAP=y


@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

And one more thing i notice is when my wifi is running my spi are not able to transfer image to the display


SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x568
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb5c
load:0x403cc700,len:0x2d10
entry 0x403c98f0
I (35) cpu_start: Multicore app
I (36) octal_psram: vendor id    : 0x0d (AP)
I (36) octal_psram: dev id       : 0x02 (generation 3)
I (39) octal_psram: density      : 0x03 (64 Mbit)
I (44) octal_psram: good-die     : 0x01 (Pass)
I (49) octal_psram: Latency      : 0x01 (Fixed)
I (54) octal_psram: VCC          : 0x01 (3V)
I (59) octal_psram: SRF          : 0x01 (Fast Refresh)
I (65) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (71) octal_psram: BurstLen     : 0x01 (32 Byte)
I (76) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (82) octal_psram: DriveStrength: 0x00 (1/1)
I (88) MSPI Timing: PSRAM timing tuning index: 5
I (93) esp_psram: Found 8MB PSRAM device
I (97) esp_psram: Speed: 80MHz
I (214) mmu_psram: Instructions copied and mapped to SPIRAM
I (357) mmu_psram: Read only data copied and mapped to SPIRAM
I (518) esp_psram: SPI SRAM memory test OK
I (526) cpu_start: Pro cpu start user code
I (526) cpu_start: cpu freq: 240000000 Hz
I (527) cpu_start: Application information:
I (527) cpu_start: Project name:     ai-module
I (527) cpu_start: App version:      9116a8c-dirty
I (528) cpu_start: Compile time:     Dec  4 2024 13:53:14
I (529) cpu_start: ELF file SHA256:  e1d339b76...
I (529) cpu_start: ESP-IDF:          v5.2.3-dirty
I (529) cpu_start: Min chip rev:     v0.0
I (530) cpu_start: Max chip rev:     v0.99 
I (530) cpu_start: Chip rev:         v0.1
I (531) heap_init: Initializing. RAM available for dynamic allocation:
I (531) heap_init: At 3FCAA890 len 0003EE80 (251 KiB): RAM
I (532) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (533) esp_psram: Adding pool of 4082K of PSRAM memory to heap allocator
I (533) spi_flash: detected chip: generic
I (534) spi_flash: flash io: qio
W (535) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (542) sleep: Configure to isolate all GPIO pins in sleep state
I (543) sleep: Enable automatic switching of GPIO sleep configuration
sion e7ae62f
I (544) main_task: Started on CPU0
I (545) esp_psram: Reserving pool of 16K of internal memory for DMA/internal allocations
I (546) main_task: Calling app_main()
W (546) S3-EYE: Warning: Long filenames on SD card are disabled in menuconfig!
I (546) gpio: GPIO[39]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (547) gpio: GPIO[38]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (548) gpio: GPIO[40]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (606) pp: pp rom version: e7ae62f
I (606) net80211: net80211 rom version: e7ae62f
I (608) wifi:wifi driver task: 3fcbb264, prio:23, stack:6656, core=0
I (611) wifi:wifi firmware version: 82f54d2
I (612) wifi:wifi certification version: v7.0
I (612) wifi:config NVS flash: enabled
I (612) wifi:config nano formating: disabled
I (612) wifi:Init data frame dynamic rx buffer num: 128
I (613) wifi:Init static rx mgmt buffer num: 5
I (613) wifi:Init management short buffer num: 32
I (614) wifi:Init static tx buffer num: 32
I (614) wifi:Init tx cache buffer num: 32
I (615) wifi:Init static tx FG buffer num: 2
I (615) wifi:Init static rx buffer size: 1600
I (615) wifi:Init static rx buffer num: 16
I (615) wifi:Init dynamic rx buffer num: 128
I (616) wifi_init: rx ba win: 32
I (616) wifi_init: tcpip mbox: 32
I (616) wifi_init: udp mbox: 6
I (617) wifi_init: tcp mbox: 6
I (617) wifi_init: tcp tx win: 65000
I (617) wifi_init: tcp rx win: 65000
I (618) wifi_init: tcp mss: 1440
I (618) wifi_init: WiFi/LWIP prefer SPIRAM
I (619) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
I (647) wifi:mode : sta (f4:12:fa:e4:44:70)
I (647) wifi:enable tsf
I (648) WIFI-PROV: SCANNING WIFI NOW
I (3149) WIFI-PROV: Max AP number ap_info can hold = 10
I (3149) WIFI-PROV: Total APs scanned = 0, actual AP number ap_info holds = 9
I (3150) WIFI-PROV: SSID                test
I (3150) WIFI-PROV: RSSI                -46
I (3151) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3151) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3152) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3152) WIFI-PROV: Channel             11
I (3152) WIFI-PROV: SSID                Bibox_R&D
I (3153) WIFI-PROV: RSSI                -51
I (3153) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3154) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3154) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3155) WIFI-PROV: Channel             10
I (3155) WIFI-PROV: SSID                Evobi_Auto
I (3155) WIFI-PROV: RSSI                -71
I (3155) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3156) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3157) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3157) WIFI-PROV: Channel             4
I (3157) WIFI-PROV: SSID                Evobi_Content
I (3158) WIFI-PROV: RSSI                -77
I (3158) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3159) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3159) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3160) WIFI-PROV: Channel             6
I (3160) WIFI-PROV: SSID                Redmi Note 9 Pro Max
I (3160) WIFI-PROV: RSSI                -89
I (3160) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3161) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3161) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3162) WIFI-PROV: Channel             6
I (3162) WIFI-PROV: SSID                Evobi_Auto
I (3163) WIFI-PROV: RSSI                -90
I (3163) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3164) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3164) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3165) WIFI-PROV: Channel             4
I (3165) WIFI-PROV: SSID                Evobi_Yudusales
I (3165) WIFI-PROV: RSSI                -91
I (3165) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3166) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3166) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3167) WIFI-PROV: Channel             2
I (3167) WIFI-PROV: SSID                Lifi
I (3167) WIFI-PROV: RSSI                -91
I (3168) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3168) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3169) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3169) WIFI-PROV: Channel             7
I (3169) WIFI-PROV: SSID                NEXA SERVICE.BEK
I (3170) WIFI-PROV: RSSI                -91
I (3170) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3171) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3171) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3172) WIFI-PROV: Channel             13
I (3172) WIFI-PROV: WIFI CONNECT TO SSID[test] PASS[12345678]
I (3173) WIFI-PROV: CONNECT TO SSID[test] : PASS[12345678]
I (3175) LVGL: Starting LVGL task
I (3176) gpio: GPIO[43]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (3179) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (3180) wifi:state: init -> auth (b0)
I (3283) wifi:state: auth -> init (1c0)
I (3284) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (3285) WIFI-PROV: connect to the AP fail
I (3299) S3-EYE: Setting LCD backlight: 100%
E (3307) lcd_panel.io.spi: panel_io_spi_tx_color(390): spi transmit (queue) color failed
E (3307) lcd_panel.st7789: panel_st7789_draw_bitmap(224): io tx color failed
I (3335) WIFI-PROV: WIFI DISCONNECTED
I (3335) WIFI-PROV: WAIT FOR WIFI CONNECT
I (4336) WIFI-PROV: WIFI DISCONNECTED
I (4336) WIFI-PROV: WAIT FOR WIFI CONNECT
I (5336) WIFI-PROV: WIFI DISCONNECTED
I (5336) WIFI-PROV: WAIT FOR WIFI CONNECT
I (5690) WIFI-PROV: connect to the AP fail
I (5694) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (5694) wifi:state: init -> auth (b0)
I (5770) wifi:state: auth -> assoc (0)
I (5819) wifi:state: assoc -> run (10)
I (5837) wifi:connected with test, aid = 5, channel 11, BW20, bssid = 9e:d6:44:db:71:94
I (5837) wifi:security: WPA2-PSK, phy: bgn, rssi: -45
I (5838) wifi:pm start, type: 1

I (5838) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (5839) wifi:set rx beacon pti, rx_bcn_pti: 14, bcn_timeout: 25000, mt_pti: 14, mt_time: 10000
I (5856) wifi:<ba-add>idx:0 (ifx:0, 9e:d6:44:db:71:94), tid:0, ssn:0, winSize:64
I (5872) wifi:dp: 2, bi: 102400, li: 4, scale listen interval from 307200 us to 409600 us
I (5872) wifi:AP's beacon interval = 102400 us, DTIM period = 2

@espressif2022
Copy link
Contributor

4038a631: realloc at /home/nikhi/esp/v5.2.3/esp-idf/components/newlib/heap.c:34

If you disable other module, it can load the size large than 100*100?Maybe there's no memory.
we can run http, sr, and lottie(240*240) together.

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

4038a631: realloc at /home/nikhi/esp/v5.2.3/esp-idf/components/newlib/heap.c:34

If you disable other module, it can load the size large than 100*100?Maybe there's no memory. we can run http, sr, and lottie(240*240) together.

yes that my exact point . i have 8MB psram , isisnt that enough , On my startup only the wifi is enabled . My startups procedure is like this


  bsp_sdcard_mount();
  WifiProv *wifi = new WifiProv();
  std::string scan,ssid = "test",pass ="12345678";
  wifi->scan(&scan);
  wifi->connect(ssid, pass);
  
  Gfx *gfx = new Gfx();

  gfx->lottie("/sdcard/lottie/wifi.json");

  wifi->wait_for_wifi();

it crashes at :

gfx->lottie("/sdcard/lottie/wifi.json");

But the this->gfx_buffer = (uint8_t *)heap_caps_malloc(240 * 240 * 4, MALLOC_CAP_SPIRAM | MALLOC_CAP_8BIT); is able to allocate from PSRAM

Only problem happens is when i call lv_lottie_set_buffer(this->lottie_obj, 240, 240, this->gfx_buffer);

app_gfx.cpp.txt

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

we can run http, sr, and lottie(240*240) together.

This looks amazing is this open source ? if so can you share the files ?

@espressif2022
Copy link
Contributor

espressif2022 commented Dec 4, 2024

we can run http, sr, and lottie(240*240) together.

This looks amazing is this open source ? if so can you share the files ?

Yeah, it should be tomorrow, I think you can refer to the lottie function, it uses the extra thorvg.

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

@espressif2022 I have also done a heep log mem check: looks like the PSRAM is avialble

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3820,len:0x568
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb5c
load:0x403cc700,len:0x2d10
entry 0x403c98f0
I (36) cpu_start: Multicore app
I (37) octal_psram: vendor id    : 0x0d (AP)
I (37) octal_psram: dev id       : 0x02 (generation 3)
I (40) octal_psram: density      : 0x03 (64 Mbit)
I (45) octal_psram: good-die     : 0x01 (Pass)
I (50) octal_psram: Latency      : 0x01 (Fixed)
I (55) octal_psram: VCC          : 0x01 (3V)
I (60) octal_psram: SRF          : 0x01 (Fast Refresh)
I (66) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (72) octal_psram: BurstLen     : 0x01 (32 Byte)
I (77) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (83) octal_psram: DriveStrength: 0x00 (1/1)
I (89) MSPI Timing: PSRAM timing tuning index: 5
I (94) esp_psram: Found 8MB PSRAM device
I (98) esp_psram: Speed: 80MHz
I (423) esp_psram: SPI SRAM memory test OK
I (432) cpu_start: Pro cpu start user code
I (432) cpu_start: cpu freq: 240000000 Hz
I (432) cpu_start: Application information:
I (433) cpu_start: Project name:     ai-module
I (433) cpu_start: App version:      9116a8c-dirty
I (433) cpu_start: Compile time:     Dec  4 2024 14:22:21
I (434) cpu_start: ELF file SHA256:  5c4c662e9...
I (434) cpu_start: ESP-IDF:          v5.2.3-dirty
I (435) cpu_start: Min chip rev:     v0.0
I (435) cpu_start: Max chip rev:     v0.99 
I (435) cpu_start: Chip rev:         v0.1
I (436) heap_init: Initializing. RAM available for dynamic allocation:
I (437) heap_init: At 3FCB1718 len 00037FF8 (223 KiB): RAM
I (437) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (438) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (439) spi_flash: detected chip: generic
I (439) spi_flash: flash io: qio
W (441) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (448) sleep: Configure to isolate all GPIO pins in sleep state
I (449) sleep: Enable automatic switching of GPIO sleep configuration
I (450) coexist: coex firmware version: 27d8387
I (450) coexist: coexist rom version e7ae62f
I (451) main_task: Started on CPU0
I (452) esp_psram: Reserving pool of 16K of internal memory for DMA/internal allocations
I (453) main_task: Calling app_main()
W (453) S3-EYE: Warning: Long filenames on SD card are disabled in menuconfig!
I (453) MEM:    Biggest /     Free /    Total
          SRAM : [  180224 /   218111 /   268059]
         PSRAM : [ 8257536 /  8385916 /  8388608]
I (454) gpio: GPIO[39]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (455) gpio: GPIO[38]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (456) gpio: GPIO[40]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (521) pp: pp rom version: e7ae62f
I (521) net80211: net80211 rom version: e7ae62f
I (523) wifi:wifi driver task: 3fcc2df0, prio:23, stack:6656, core=0
I (529) wifi:wifi firmware version: 82f54d2
I (530) wifi:wifi certification version: v7.0
I (530) wifi:config NVS flash: enabled
I (530) wifi:config nano formating: disabled
I (530) wifi:Init data frame dynamic rx buffer num: 128
I (531) wifi:Init static rx mgmt buffer num: 5
I (531) wifi:Init management short buffer num: 32
I (532) wifi:Init static tx buffer num: 32
I (532) wifi:Init tx cache buffer num: 32
I (532) wifi:Init static tx FG buffer num: 2
I (533) wifi:Init static rx buffer size: 1600
I (533) wifi:Init static rx buffer num: 16
I (533) wifi:Init dynamic rx buffer num: 128
I (534) wifi_init: rx ba win: 32
I (534) wifi_init: tcpip mbox: 32
I (535) wifi_init: udp mbox: 6
I (535) wifi_init: tcp mbox: 6
I (535) wifi_init: tcp tx win: 65000
I (536) wifi_init: tcp rx win: 65000
I (536) wifi_init: tcp mss: 1440
I (536) wifi_init: WiFi/LWIP prefer SPIRAM
I (537) wifi_init: WiFi IRAM OP enabled
I (537) wifi_init: WiFi RX IRAM OP enabled
I (538) phy_init: phy_version 680,a6008b2,Jun  4 2024,16:41:10
I (572) wifi:mode : sta (f4:12:fa:e4:44:70)
I (572) wifi:enable tsf
I (574) WIFI-PROV: SCANNING WIFI NOW
I (955) MEM:    Biggest /     Free /    Total
          SRAM : [   73728 /   111891 /   268059]
         PSRAM : [ 8257536 /  8295880 /  8388608]
I (1456) MEM:    Biggest /     Free /    Total
          SRAM : [   73728 /   111891 /   268059]
         PSRAM : [ 8257536 /  8295580 /  8388608]
I (1957) MEM:    Biggest /     Free /    Total
          SRAM : [   73728 /   111891 /   268059]
         PSRAM : [ 8257536 /  8295480 /  8388608]
I (2458) MEM:    Biggest /     Free /    Total
          SRAM : [   73728 /   111891 /   268059]
         PSRAM : [ 8257536 /  8295380 /  8388608]
I (2959) MEM:    Biggest /     Free /    Total
          SRAM : [   73728 /   111891 /   268059]
         PSRAM : [ 8257536 /  8295380 /  8388608]
I (3075) WIFI-PROV: Max AP number ap_info can hold = 10
I (3075) WIFI-PROV: Total APs scanned = 0, actual AP number ap_info holds = 6
I (3076) WIFI-PROV: SSID                Bibox_R&D
I (3076) WIFI-PROV: RSSI                -56
I (3077) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3077) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3078) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3078) WIFI-PROV: Channel             10
I (3079) WIFI-PROV: SSID                Evobi_Yudusales
I (3079) WIFI-PROV: RSSI                -79
I (3079) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3080) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3080) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3081) WIFI-PROV: Channel             2
I (3081) WIFI-PROV: SSID                Evobi_Auto
I (3081) WIFI-PROV: RSSI                -79
I (3082) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3082) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3083) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3083) WIFI-PROV: Channel             4
I (3084) WIFI-PROV: SSID                Evobi_Content
I (3084) WIFI-PROV: RSSI                -79
I (3084) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3085) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3085) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3086) WIFI-PROV: Channel             6
I (3086) WIFI-PROV: SSID                Lifi_Guest
I (3086) WIFI-PROV: RSSI                -89
I (3087) WIFI-PROV: Authmode    WIFI_AUTH_WPA2_PSK
I (3087) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_CCMP
I (3087) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_CCMP
I (3088) WIFI-PROV: Channel             7
I (3088) WIFI-PROV: SSID                NEXA SERVICE.BEK
I (3089) WIFI-PROV: RSSI                -92
I (3089) WIFI-PROV: Authmode    WIFI_AUTH_WPA_WPA2_PSK
I (3089) WIFI-PROV: Pairwise Cipher     WIFI_CIPHER_TYPE_TKIP_CCMP
I (3090) WIFI-PROV: Group Cipher        WIFI_CIPHER_TYPE_TKIP
I (3090) WIFI-PROV: Channel             13
I (3091) WIFI-PROV: WIFI CONNECT TO SSID[test] PASS[12345678]
I (3092) LVGL: Starting LVGL task
I (3093) gpio: GPIO[43]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (3217) S3-EYE: Setting LCD backlight: 100%
E (3224) lcd_panel.io.spi: panel_io_spi_tx_color(390): spi transmit (queue) color failed
E (3225) lcd_panel.st7789: panel_st7789_draw_bitmap(224): io tx color failed
I (3255) WIFI-PROV: WIFI DISCONNECTED
I (3255) WIFI-PROV: WAIT FOR WIFI CONNECT
I (3460) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (3961) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (4256) WIFI-PROV: WIFI DISCONNECTED
I (4256) WIFI-PROV: WAIT FOR WIFI CONNECT
I (4462) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (4963) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (5256) WIFI-PROV: WIFI DISCONNECTED
I (5256) WIFI-PROV: WAIT FOR WIFI CONNECT
I (5464) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (5965) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (6256) WIFI-PROV: WIFI DISCONNECTED
I (6256) WIFI-PROV: WAIT FOR WIFI CONNECT
I (6466) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (6967) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (7256) WIFI-PROV: WIFI DISCONNECTED
I (7256) WIFI-PROV: WAIT FOR WIFI CONNECT
I (7468) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]
I (7969) MEM:    Biggest /     Free /    Total
          SRAM : [   21504 /    56403 /   268059]
         PSRAM : [ 7864320 /  7901700 /  8388608]

@espressif2022
Copy link
Contributor

Yes, this is not the reason. Can you share the json file for me to try?

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 4, 2024

@espressif2022 this one

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 5, 2024

Hi @espressif2022 any update on this ?

@espressif2022
Copy link
Contributor

Hi @espressif2022 any update on this ?

Indeed, I can't play any one of your json, even if the size is set to less than 100*100

@MR-VENOM
Copy link
Author

MR-VENOM commented Dec 5, 2024

Hi @espressif2022 any update on this ?

Indeed, I can't play any one of your json, even if the size is set to less than 100*100

I am able to play the file if my project contain only the lottie file. But whenever i add components to it . it breaks

@espressif2022
Copy link
Contributor

I see no error output when running, which is a bit difficult. Even the version is ThorVG 0.14.9.

@MR-VENOM
Copy link
Author

I see no error output when running, which is a bit difficult. Even the version is ThorVG 0.14.9.

So what is the sollution to this ? 😢

Yeah, it should be tomorrow, I think you can refer to the lottie function, it uses the extra thorvg.

Any update on this ? so that i can check what you guys are doing different

@espressif2022
Copy link
Contributor

I see no error output when running, which is a bit difficult. Even the version is ThorVG 0.14.9.

So what is the sollution to this ? 😢

Yeah, it should be tomorrow, I think you can refer to the lottie function, it uses the extra thorvg.

Any update on this ? so that i can check what you guys are doing different

I use this component, the API is the same with LVGL.

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

No branches or pull requests

2 participants