This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM437X: QtWebEngine consumes more than 50% CPU with LinuxFB as well as EGLFS on AM335x and AM437x EVM


We are using Qt 5.6.3 with QtWebEngine on Sitara AM437x hardware. We are able to run the application and able to display HTML pages with LinuxFB platform but not with EGLFS platform. With this we are seeing CPU load more then 50% when we scroll through webpages.
To check with newer Qt version, we built Qt 5.15 with QtWebEngine. Now we are able to run the same application on EGLFS platform. Still we are seeing CPU load more then 50% when we scroll through webpage.
We have enabled TI SGX GPU in both cases.
Need support in reducing CPU load.

  • Hello,

    There are a couple of things that I would like to highlight:

    1. We have not migrated to Qt5.15 and out latest SDK is based on Yocto project Dunfell (Qt v5.14). However, Chromium based browsers are not supported because of Python dependency. At the beginning of last year, Python 2 become EOL and the projects that use Python 2 needs to migrate to Python 3. The support decision is coming from the community and not influenced by TI. The Chromium community is currently working on the migration and once the migration is completed, we will re-evaluate Chromium support. 

    2. Now you could try your testing with PSDK5.3 (Qt5.9) or PSDK6.3 (Qt5.11) but you will also notice CPU usage greater than 50%. On my setup, I ran the following command "root@am437x-evm:/usr/share/qt5/examples/webenginewidgets/simplebrowser# ./simplebrowser --enable-gpu-rasterization --platform eglfs" and noticed high CPU usage. The browser usually uses certain types of window extensions and if they are not supported by the GPU, the CPU is used for rasterization. I would recommend you to follow up with Qt on the required extensions and if the CPU behavior is expected. Also, I would recommend using QtWebkit since it's a lighter weight browser and better suited for AM335x/AM437x.