I have played with Wayland on FreeBSD and its NOT compatible with X11. Its something >>>new<<<, a constantly fancy pancy moving target. Also it is not network friendly (no client-server architecture) you need to use VNC and this sux because of latency. I even tried to port some stuff to Wayland@FBSD (i.e. Enlightenment WM) but I failed there is too much Linux hardcoded stuff. So I still use Xorg myself :-) :-)
I can understand minimal port of Xorg it has strong merit to port existing applications to NuttX. We even have display server - client examples! FB + LVGL is enough for us at that level and quite equivalent :-) Over Wayland I would prefer to see native SDL implementation on NuttX but that is another story :-) We could think of Wayland on NuttX when it gets stable and mature enough on a desktop.. and there would be good reason to invest time into that work :-) My 12 cents :D Have a good weekend folks :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Fri, Feb 2, 2024 at 3:53 PM Alan C. Assis <acas...@gmail.com> wrote: > > Hi Tomek, > > Thank you for raising these good points and thank YF for suggesting it. > > I also don't know much details about it, maybe I think at list on Linux we > have some other libs working between X11 and Wayland to make "legacy" code > work correctly. > > I'm CC Nicolas Caramelli who recently added support to DirectFB2 ( > https://github.com/directfb2/DirectFB2) on NuttX, maybe (or maybe not) he > could help us to get a better vision of it. > > Another advantage when thinking about X11 port to NuttX is because > nanox/microwindows is an implementation that does exactly that. > > Also keep in mind that what RT-Thread did was just add support to use > weston in the host, something NuttX has more than 3 years ago and works on > X11 and Wayland. > > Their weston port (AFAIK) doesn't support any embedded board directly. > > BR, > > Alan > > On Fri, Feb 2, 2024 at 1:35 AM Tomek CEDRO <to...@cedro.info> wrote: > > > On Fri, Feb 2, 2024 at 1:42 AM yfliu2008 wrote: > > > How about adding Wayland instead of X11? It seems RT-Thread can run > > weston now. > > > > * Wayland is basically a framebuffer. > > * What are advantages of Wayland over X11 here? > > * How would that support porting known libraries and applications to NuttX? > > * What would be estimated workload and result? > > * Would you like to port Wayland to NuttX? > > > > -- > > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > >