How to reduce CPU consumption of QtWebEngine?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reduce CPU consumption of QtWebEngine?

2,436 Views
cyril_francesch
Contributor I
 Hi,

I wrote an app in Qt using the QtWebEngine component with EGLES to display a simple Web page with SVG elements on a 7" LVDS screen. The app is running on a UDOO Neo board and over a custom Linux installation built with OpenEmbeded with this meta-udoo layer: https://github.com/cyrilfr/meta-udoo with meta-freescale and meta-qt5.

After a while, I've seen the screen starting to freeze and the QWebEngineProcess crashing randomly. The CPU usage of the QWebEngineProcess is about 40% and the temperature goes up to 55°C and over 65°C when the UDOO Neo is put in a box!

When the screen starts to freeze, I get a kernel message: GPU too hot!

Here is the output of the ps -aux command:

root       456  0.0  1.8  92624 18792 ?        S    May24   0:00 /usr/lib/qt5/libexec/QtWebEngineProcess --type=zygote --lang=C root       476 39.1 10.1 291900 104396 ?       Sl   May24 355:07 /usr/lib/qt5/libexec/QtWebEngineProcess --type=renderer --disable-accelerated-video-decode --enable-overlay-scrollbar --enable-pinch --enable-threaded-compositing --enable-viewport --main-frame-resizes-are-orien
Labels (1)
0 Kudos
1 Reply

1,456 Views
igorpadykov
NXP Employee
NXP Employee

Hi Cyril

general methods for reducing power consumption are described in

AN4509 i.MX6Dual/6Quad Power Consumption Measurement sect.4 Reducing Power Consumption
https://cache.freescale.com/files/32bit/doc/app_note/AN4509.pdf 
AN4579 MX6 Series Thermal Management Guidelines
https://www.nxp.com/docs/en/application-note/AN4579.pdf

As for QtWebEngine specific optimizations, some third parties like ossystems

provide such support. One can post on meta-fsl-arm mailing list to get more details
meta-freescale Info Page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos