apache / apache/nuttx

[HELP] What interface should be used for LCD display in MIPS SOC?

Open
#19,679 5 comments 0 reactions 0 assignees View on GitHub
Community: Question
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description

I am working on running Nuttx-12.13.0 and lvgl in my MIPS SOC.
There is a display processing unit (DPU) in the SOC, which can drive TFT or RGB LCD displays.

I have ported the DPU driver into Nuttx and registered a `/dev/lcd0`, the performace of `lvgldemo "widgets"` is bad, its `FPS` is less than 10.

I tested the lower level driver codes with full screen of red and green, its `FPS` is about 30, so I think the lower driver is working fine.

I am not sure if I should use `framebuffer` interface with the DPU in my porting, and if so what is the good reference of framebuffer driver I can turn to?

Thanks,

### Verification

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Research direction

Start by reading the NuttX LCD and framebuffer interface documentation, focusing on how the registered /dev/lcd0 is consumed by LVGL. Compare the lvgldemo "widgets" FPS with the lower-level full-screen tests; the work is complete when the appropriate interface and likely performance bottleneck are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.