You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wangtao13 (via GitHub)" <gi...@apache.org> on 2026/08/04 09:15:46 UTC
[I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
wangtao13 opened a new issue, #19679:
URL: https://github.com/apache/nuttx/issues/19679
### 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.
--
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: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
Posted by "linguini1 (via GitHub)" <gi...@apache.org>.
linguini1 commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5183471010
I think framebuffer is best, it's standard and lots of NuttX apps interop with it already.
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5183420684
@linguini1 what do you suggest? I like framebuffer, but it has big memory overhead and for some application transferring the entire buffer all the time is overkill
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
Posted by "wangtao13 (via GitHub)" <gi...@apache.org>.
wangtao13 commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5185859825
@linguini1 @acassis Is there any framebuffer driver for my referring to??
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5185963497
@wangtao13 almost all drivers inside drivers/lcd are framebuffer drivers. I implemented some interesting drivers there that are not LCD but can work like LCD, for example the apa102.c is a RGB LED Matrix and max7219.c is a 1-bit LED Matrix that I added support as LCD driver. For all them you will find a priv->fb or priv->fbmem, that is the framebuffer area
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] What interface should be used for LCD display in MIPS SOC? [nuttx]
Posted by "wangtao13 (via GitHub)" <gi...@apache.org>.
wangtao13 commented on issue #19679:
URL: https://github.com/apache/nuttx/issues/19679#issuecomment-5188815725
> [@wangtao13](https://github.com/wangtao13) almost all drivers inside drivers/lcd are framebuffer drivers. I implemented some interesting drivers there that are not LCD but can work like LCD, for example the apa102.c is a RGB LED Matrix and max7219.c is a 1-bit LED Matrix that I added support as LCD driver. For all them you will find a priv->fb or priv->fbmem, that is the framebuffer area
I am using Nuttx-12.13.0, and I did NOT get `fbmem` in drivers/lcd/apa102.c or drivers/lcd/max7219.c, :-(, but I really got `fbmem` in drivers/lcd/st7796.c.
So what `framebuffer` are you referring to, LCD_FRAMEBUFFER, or VIDEO_FB?
I worked out a LCD_FRAMEBUFFER driver and called `fb_register(0)` during board initialization, but I found it is defined in `include/nuttx/video/fb.h` as `unused_code` as follows.
```
static inline_function unused_code int fb_register(int display, int plane)
{
...
}
```
I got alittle puzzled, what is the relation of LCD_FRAMEBUFFER and VIDEO_FB, and which one should I use to get the best performance for LCD display.
Thanks,
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org