Skip to content

[BUG] LVGL display demo error #2936

Open
@MaigoW

Description

@MaigoW

Description / Steps to reproduce the issue

When I use the LVGL demo, there is a display issue. The fb0 can be found under the device directory and the screen lights up. In the LVGL configuration, fb0 is correctly set to be enabled by default, and the display works. However, there is an issue where the screen shows a repeated image and the colors are incorrect. I have seen similar issues on other forums, but no correct solution has been provided. What could be the cause of this problem? The version of LVGL being used is 8.3.2.
step1 :
The device is registered under the device directory using the video component, and fb0 can be found and detected.

step2:The parameters passed to lv_port_fbdev.c are exactly the same as I have set. The resolution is 1024 * 768, the color format is FB_FMT_RGB32, the bpp is set to 32, fblen is set to 1024 * 32 / 8 * 768, and the stride is set to 1024 * 32 / 8.

step3: run the demo;

20250110160205

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu22.04

NuttX Version

releases/12.4

Issue Architecture

[Arch: arm64]

Issue Area

[Area: Graphics]

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions