You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] stm32f746g-disco display examples show garbage #13839
@raiden00pl
I found that output bpp is 24 in boards/arm/stm32f7/stm32f746g-disco/include/board.h #define BOARD_LTDC_OUTPUT_BPP 24
and gpio settings is using 24bpp as below.
@terry0012
Thanks for help. The problem is somewhere in board configuration which was broken long time ago. I didn't find the reason yet, but I'll take care of it. Thanks for your help.
Activity
raiden00pl commentedon Oct 5, 2024
stm32f746g-disco/nxdemoalso broken[-][BUG] stm32f746g-disco/fb example show garbage[/-][+][BUG] stm32f746g-disco display examples show garbage[/+]cederom commentedon Oct 6, 2024
We are waiting for LVGL 9.2.1 release lots of fixes incoming and if all works fine we will include it in NuttX 12.7.0 :-)
raiden00pl commentedon Oct 7, 2024
@cederom @xiaoxiang781216 This issue is not related to LVGL.
fbandnxlinesexamples don't use LVGL, something else is broken.cederom commentedon Oct 7, 2024
This seems the same problem as reported by @TimJTi ?
Update: Nope, all problems that Tim had seems to be fixed already in the LVGL upstream :-)
terry0012 commentedon Oct 8, 2024
@raiden00pl can you provide the output log of ‘fb’ ?
we want to check FB driver info first.
terry0012 commentedon Oct 8, 2024
@raiden00pl
I found that output bpp is 24 in
boards/arm/stm32f7/stm32f746g-disco/include/board.h#define BOARD_LTDC_OUTPUT_BPP 24and gpio settings is using 24bpp as below.
But the bpp reported by framebuffer driver is 16, and framebuffer length is also in bpp 16 mode (261120 = 480 * 272 * 2).
can you check this problem, and try to set BOARD_LTDC_OUTPUT_BPP to 16 and test again ?
raiden00pl commentedon Oct 8, 2024
@terry0012
BOARD_LTDC_OUTPUT_BPP set to 16 doesn't fix the problem. Here
fboutput withBOARD_LTDC_OUTPUT_BPP=16:terry0012 commentedon Oct 8, 2024
I don't have the stm32f746g-disco board, but from the documentation, I can see that its LCD is 24bpp.
should we report 24bpp for framebuffer driver ? @raiden00pl
I have STM32F429-disco, and test fb with RGB565, it show buffer correctly.
raiden00pl commentedon Oct 8, 2024
@terry0012
Thanks for help. The problem is somewhere in board configuration which was broken long time ago. I didn't find the reason yet, but I'll take care of it. Thanks for your help.