2025-01-22 09:09 AM
I'd like to move from mickledore to the current ST offering on scarthgap. We are using the STM32MP157D.
We require a web browser, and WebKit worked well for us on mickledore using QT5.
Since QT has been spun out to a plug-in and it is unclear how well-supported it is (ST's documentation seems lagging), I decided to go with Weston/Wayland and use a simple GTK/GDK app.
Westion is working - the GPU `/usr/local/demo/bin/weston-st-egl-cube-tex` runs nicely. Simple apps using GDK are also working.
Sadly, though, the app embedding a WebKit view has a hard-to-describe random flickering issue. It renders the page but then randomly overlays a white screen that occasionally flashes on and off.
Anyone able to offer some experience:
- Has anyone got a lightweight browser working on the STM32MP1 using the GPU and the recent ST scarthgap releases?
- Or got QT6 working on STM32MP1. Did you use the ST's "QT plug-in"?
- Any advice for configuring webkitgtk3 (found in meta-oe)? I see it is untouched by the ST layers.
2025-01-23 03:28 AM
@james-cc wrote:Sadly, though, the app embedding a WebKit view has a hard-to-describe random flickering issue. It renders the page but then randomly overlays a white screen that occasionally flashes on and off.
This is rendering the text correctly, but none of the images. I end up with large white boxarea being flashed at the top left.
Software compositing works (slowly).
Running the code with `GDK_GL=gles EGL_LOG_LEVEL=debug` tells me there is an invalid surface:
libEGL debug: EGL user error 0x300d (EGL_BAD_SURFACE) in eglSwapInterval
libEGL debug: EGL user error 0x300d (EGL_BAD_SURFACE) in eglSwapInterval
libEGL debug: EGL user error 0x300d (EGL_BAD_SURFACE) in eglSwapInterval
libEGL debug: EGL user error 0x300d (EGL_BAD_SURFACE) in eglSwapInterval
...
Any advice is welcome.
2025-01-24 04:31 AM
So I chose to go with wpewebkit from meta-webkit layer found at https://github.com/Igalia/meta-webkit.git (scrathgap branch - ff17c29c - 2jan2025).
I added the "wpewebkit libwpe wpebackend-fdo cog" packages. `cog` renders the few simple pages I threw at it successfully.
So using wayland (via wpebackend-fdo), no QT nor webkitgtk3.