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

ESP32-8048S050C - Display Flickers top to bottom after touching the screen #149

Open
gathualex opened this issue Mar 21, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@gathualex
Copy link

gathualex commented Mar 21, 2024

Hey, The user interface uploaded to the board has a blue background, touching any where within ESP32-8048S050C ,the screen flickers from top to bottom and the background color changes to brown colour which is not part of the UI, looks like a color inversion. I
will appreciate any leads to solving this.
Below is a video showing the error.

Screen.Flickering.mp4
@gathualex gathualex changed the title Display Flickers top to bottom after touching the screen ESP32-8048S050C - Display Flickers top to bottom after touching the screen Mar 21, 2024
@rzeldent rzeldent added the bug Something isn't working label Mar 22, 2024
@gathualex
Copy link
Author

More context..
These errors are printed continuously on the terminal from the board.
[ 35376][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35376][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35381][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35406][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35406][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35411][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35436][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35436][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35441][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35467][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35467][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35472][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35497][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35497][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35502][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35533][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35533][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35538][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35563][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35563][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35568][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35593][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35593][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35598][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35623][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35623][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35628][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35653][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35653][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35658][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35683][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35683][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35688][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35713][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35713][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35718][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35743][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35743][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35748][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35774][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35774][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35779][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35804][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35804][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35809][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35846][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35846][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35851][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35876][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35876][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35881][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35906][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35906][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35911][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35936][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35936][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35941][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35966][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35966][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 35971][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 35996][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 35996][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36001][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36026][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36026][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36031][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36056][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36056][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36061][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36087][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36087][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36092][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36117][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36117][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36122][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36158][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36158][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36163][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36188][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36188][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36193][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36218][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36218][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36223][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36248][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36248][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36253][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36278][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36278][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36283][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36308][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36308][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36313][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36338][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36338][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36343][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1 [ 36368][V][esp32_smartdisplay.c:105] lvgl_touch_calibration_transform(): disp_drv:0x3fca4cf4, data:0x3fcebbc8 [ 36368][V][esp_touch_gt911.c:213] gt911_read_data(): th:0x3d977b08 [ 36373][V][esp_touch_gt911.c:290] gt911_get_xy(): th:0x3d977b08, x:0x3fcebb2c, y:0x3fcebb2e, strength:0x00000000, point_num:0x3fcebb2b, max_point_num:1

@rzeldent
Copy link
Owner

This is verbose logging. Disable logging in the platform.ini

@rzeldent
Copy link
Owner

rzeldent commented Mar 22, 2024

Unfortunately I do not own a esp32-8048S050C. You might try to lower the PCLK variable...
"'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(12.5*1000000)'",

What version are you using? Let me know if this helps!

@gathualex
Copy link
Author

Hi, i solved it by adjusting the memory available from default to 128U * 1024U on lv_conf.h
/*Size of the memory available for lv_mem_alloc()` in bytes (>= 2kB)*/

#define LV_MEM_SIZE (128U * 1024U)          

/[bytes]/`
it's working fine though i have observed it flickers one in a while on its own.

@gathualex
Copy link
Author

Unfortunately I do not own a esp32-8048S050C. You might try to lower the PCLK variable... "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(12.5*1000000)'",

What version are you using? Let me know if this helps!

esp32-smartdisplay from main branch
lvgl version 8.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants