Performance difference between Linux FB and Skia on GTK3 (in Wayland/X11)? #12960
-
I currently have my project/app running on RPi4 in framebuffer mode. It works fairly well, but I notice some UI performance issues, for example I have a virtual keyboard on the screen, about 30 buttons, it's dog slow on the RPi (runs fine on my PC in Skia). I haven't tried to use an X environment on the RPi, as I haven't found a good reference solution for it (I'm running my solution in a privileged docker container), so before I invest the time to get an X environment set up I wanted to ask if I can expect a good UI performance increase with Skia on GTK3? And if so, what should the appropriate X environment consist of, Wayland, X11, Weston, etc? What I've found online seems fairly outdated, so I wanted to ask first. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the report. Indeed, framebuffer is generally be slower, particularly on larger screens as the rendering of the UI is performed using Skia's software backend. Using GTK, OpenGL (or OpenGL ES) is enabled and makes for significantly faster rendering. Wayland or X11 can be used, as long as the OpenGL environment is setup. When you're saying that what you found online is outdated, could you point to what you found so we can adjust it if possible? |
Beta Was this translation helpful? Give feedback.
Thanks for the report.
Indeed, framebuffer is generally be slower, particularly on larger screens as the rendering of the UI is performed using Skia's software backend. Using GTK, OpenGL (or OpenGL ES) is enabled and makes for significantly faster rendering. Wayland or X11 can be used, as long as the OpenGL environment is setup.
When you're saying that what you found online is outdated, could you point to what you found so we can adjust it if possible?