TimJTi opened a new issue, #2461:
URL: https://github.com/apache/nuttx-apps/issues/2461

   # Summary
   
   NuttX Apps needs to be upgraded to the newly released V9.2 to solve 
framebuffer render issues.
   
   ## Background
   
   As discussed [here](https://github.com/apache/nuttx-apps/issues/2416) the 
LVGL version "bundled" with NuttX apps (v9.1) has issues with what I perceive 
as its misuse of the NuttX framebuffer; it makes multiple partial renders 
**_direct_** to the framebuffer, resulting in visible artefacts. It is deemed 
OK as there are some architectures/boards where this is OK because it seems 
they natively have two framebuffers. But - to me - it is the exception not the 
rule. 
   
   V9.2 now auto-detects the presence of that second native framebuffer and if 
its not there creates its own render buffer. It works but is perhaps a bit 
arcane.
   
   NB - there is no support for an LVGL partial render buffer in the LVGL NuttX 
framebuffer driver, so there will be two whole frame buffers present: the 
/dev/fb0 buffer and LVGLs render buffer.
   
   ### Other
   
   While investigating this I needed to work with other versions of LVGL and 
found the following.
   
   1. NuttX "fixes" the LVGL version.
   2. If you clone LVGL direct to the appropriate NuttX apps directory you can 
use any version you like. This could perhaps be added to documentation, or:
     1a. Enable Kconfig configuration of the wanted LVGL version. Not sure this 
works if you need to work with LVGL master as there will be no release archive 
that can be downloaded.
   3.  **BUT** the side effect of this that NuttX apps takes a direct copy of 
LVGLs Kconfig from the "fixed"/"approved" version of a given NuttX apps release 
and this requires a manual copy if the non-approved version's Kconfig file. 
This has been discussed before but surely there's a way to work around this - 
perhaps a warning if the version is edited to something other than the 
"supported" version?
   
   Discuss :-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to