Open nicusorcitu opened 10 months ago
The solution would be to move the Wayland driver to the LVGL repository.
@WallaceIT @simplejack-src could you help us with that?
The main changes of v9 (so far) are listed here: https://github.com/lvgl/lvgl/issues
Hi, Any update with this issue, when it is going to be integrated in v9? Thanks.
Unfortunately, I don't have no experience with Wayland, so can't really help with that :slightly_frowning_face:
Hi,
I'm trying to fit some work on this feature on my schedule, but right now I cannot take a commitment.
I took a look at the v9 status and approach to displays and I think the Wayland backend can take a great advantage from them (for example, integrated "dirty rendering" can avoid copies of graphic data). However, such changes also require quite some time of code rework.
Is it possible to elaborate a bit more with details what needs to be done? I am thinking if someone else might find some room, I can bet the info will be much helpful. Thanks!
The existing Wayland support shall be adapted to v9, doing the required API conversion and in the mean time aligning to the changes that can lead to performance improvement. As an example: v8 required the Wayland driver to copy the rendered content into its own buffer(s), while with v9 double buffering can be implemented without effort (see explanation of LV_DISP_RENDER_MODE_DIRECT
here).
While the basics of Wayland are quite simple, resizing the application window is not. Moreover, client-side decorations also add a lot of complexity. I'd say buffer allocation/deallocation is around 90% of the complexity.
Last but not least, buffer allocation logic implemented by @simplejack-src is very flexible but not so straightforward (at least for me).
Window resizing is jut a nice to have, absolutely not mandatory.
I think the most important thing would be have a very basic Wayland driver in v9, which can be improved later.
@anagrad
FYI, @daniel-rossier is working on a Wayland driver of LVGL v9.
Hi @kisvegabor @daniel-rossier sorry to ask, do you have any estimation when will be done?
The PR is still under review, maybe next week?
Will the driver move from lvgl/lv_drivers/wayland to lvgl/lvgl/src/drivers/wayland? Thanks for your answer.
@nicusorcitu Yes I believe it will at some point, but it needs some refactoring.
Is there any progress weston/wayland and lvgl v9 support?
lv_drivers does not work anylonger with lvgl v9 (due to display rework). I am trying to build with wayland enabled and got a lot of errors, so I am opening this Issue to track it down.
Is there any roadmap for the fix for lvgl v9 compatibility?
Thanks. Nicu.