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]Disabling LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR together results in empty display #515

Open
Potak0 opened this issue Sep 3, 2024 · 1 comment
Assignees
Labels

Comments

@Potak0
Copy link

Potak0 commented Sep 3, 2024

Describe the bug
When I use EEZ-studio to create a project and implant it to my lvgl project,its all good. However, when I disabled LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR together,the screen failed to display anything I created.

To Reproduce

  1. EEZ studio,create a project with 'LVGL with eez flow'
    2.implant the ui files in lvgl project
    3.compile and run,all fine.
    4.modify the relevant content in lv_conf.h as below:
    /1: Show CPU usage and FPS count/
    #define LV_USE_PERF_MONITOR 0
    #if LV_USE_PERF_MONITOR
    #define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
    #endif

     /*1: Show the used memory and the memory fragmentation
      * Requires LV_MEM_CUSTOM = 0*/
     #define LV_USE_MEM_MONITOR 0
     #if LV_USE_MEM_MONITOR
         #define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
     #endif
    

5.compile and run,seeing nothing on screen.
*p.s. if at least one of them enabled,no display problem.The problem I encountered only happens when I disabled them together.

Screenshots
If applicable, add screenshots to help explain your problem.
LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR not disabled:
IMG_20240903_222901
LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR disabled:
IMG_20240903_222802

Desktop (please complete the following information):

  • OS: ubuntu
  • Version: 16.04

** LVGL version (if used)**

  • 8.2
@Potak0
Copy link
Author

Potak0 commented Sep 3, 2024

Also,when I create application using lvgl demos instead of ui_init() from eezstudio,the display is also normal as expected.Therefore I assume this to be the problem of eezstudio.

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