You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/11/09 13:04:28 UTC
[GitHub] [incubator-nuttx] celery0ne commented on issue #4679: Is the nuttx OS supported GPU or Opengl es
celery0ne commented on issue #4679:
URL: https://github.com/apache/incubator-nuttx/issues/4679#issuecomment-964132162
Hi Patacongo Sir,
> > May I use Opengl ES APIs to render my applications in nuttx OS?
>
> There is no port of OpenGL to NuttX. But that would be an interesting project (but probably rather difficult).
>
> > And if the "NX Graphics Subsystem" can use gpu to rendering?
>
> On most tiny embedded systems, LVGL is used for graphics support. It provides very nice single, threaded 2D drawing in a single plane.
>
> The "NX Graphics Subsystem" is better described as a Windowing system, analogous to the X window system under Linux and other systems. Through windows, it supports multiple tasks concurrently accessing the display as well as a Z-axis the allows a window to be "above" or "below" other windows
>
> There is a C++ widget library called NxWidgets that can be with NX and there are a couple of windows managers available: A simple, immersive NxWM and a full TWM work-alike (called Twm4Nx). Also supported are textual consoles (NxTerms)
>
> The term GPU is used primarily for the graphics subsystem of desktop CPUs. I suppose these GPUs could be supported, but no one has done that port because those desktop CPUs do not often run NuttX. But many embedded MCUs also support great graphics and are supported .. like the Beaglebone black, the i.MX RT, the SAMA5Dx family, and others. These are differ in complexity.
>
> NX can even be used with very low level serial graphics, but the performance may not be good. I prefer to use an MCU with higher end graphics with framebuffers support.
>
>
> References: https://cwiki.apache.org/confluence/display/NUTTX/Graphics https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629398
>
> https://github.com/apache/incubator-nuttx-apps/tree/master/graphics/nxwidgets
>
> https://github.com/apache/incubator-nuttx-apps/tree/master/graphics/nxwm https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629401
>
> https://github.com/apache/incubator-nuttx-apps/tree/master/graphics/twm4nx
Thank you for your reply, I am researching the possibility of supporting GPU in Nutty OS of recent days.
Per your mentioned before, It is very difficult or not possible for a third-party team to make the Nutty to support opengl es/egl APIs, I think that there are only SOC providers can port the gpu driver(opengl or other graphic APIs) to a new OS such as Nuttx OS. All of the user-space gpu drivers are not the open source. So, may I know your opinions of that. how we enable opengles APIs in Nuttx OS.
BTW, I have known form the page(https://github.com/lvgl/lvgl/blob/7d9fe20a0e676f57b10128fe4c446d6173bb20cf/docs/get-started/nuttx.md) that LVGL has already suppoorted NuttX OS, and in my opinion, the feaible way to enable gpu Hardware acceleration is,
LVGL ---> SDL---> GPU Driver --> GPU.
SDL:
https://www.libsdl.org/index.php
> Do you have a GPU that you are particularly interested in supporting? NX graphics is one my favorite things to work on and if you are interested in this kind of graphics, I might be interested in working with you.
Take Smartwatch Platform for example, Qcom snapdragon Wear 3100 Platform is a very well platform for us. But as far as known, it donot support Nuttx OS. how about this platform?
https://www.qualcomm.com/products/snapdragon-wear-3100-platform
--
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