Skip to main content
Graduate
October 13, 2025
Question

STM32MP257F-EV1 web browser

  • October 13, 2025
  • 1 reply
  • 286 views

I'm running a build with meta-webkit on the scarthgap branch for the STM32MP257-EV1. I'm trying to get a web browser working for a custom web page and the performance is pretty poor and I'm not quite sure why. It seems like there's a lot of people doing a similar project but not a lot of hard benchmarking so I'm partially hoping we can make this thread to provide help for people in the future and also maybe I can figure out why my build is running so slow.

Here's a more minimal example that anyone should be able to test.

If I run 

cog https://webglsamples.org/aquarium/aquarium.html

set it to 500 fish, and then look at top. I get about 79% cpu usage for wpewebkit and the output of /sys/kernel/debug/gc/load is:

The previous 100ms HW load
device : 0
 core : 0
 load : 62.26%

The screen connected via LVDS has a noticeable lag.

If I set the fish count to 100 then there's no lag. I know using a web browser on the MPU is pushing it's capabilities but it would be awesome if someone could confirm that they have similar performance or let me know what I could do to make it run better.

 

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 17, 2025

    Hi,

    Sorry I don't have performance measurements about cog.

    Just adding the information that one approach could be to use Qt webengine even if Chromium is embedded behind.

    Quick Nanobrowser has been optimized to reduce some Chromium ressources:

    https://doc.qt.io/qt-6/qtwebengine-webenginequick-quicknanobrowser-example.html

    We have tested it on MP1 and MP2 and it runs correctly in kiosk mode.

    BR,

    Philippe.