Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3
Description
I tested the sample code below on Raspberry Pi3 with Boot2Qt 5.12.3 and I found the CPU consumption is very high.
import QtQuick 2.12 import QtQuick.Window 2.12 import QtMultimedia 5.12 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") MediaPlayer { id: mediaplayer source: "file:///data/videos/Qt+for+Designers+and+Developers.mp4" // loops: MediaPlayer.Infinite autoPlay: true onPositionChanged: { if (position >= duration - 1100) { mediaplayer.seek(0); } } } VideoOutput { anchors.fill: parent source: mediaplayer } MouseArea { id: playArea anchors.fill: parent onPressed: mediaplayer.play(); } }
CPU usage on startup: 25%
CPU usage after 1-2 hours: 110%
But there's no same issue when I use B2Qt 5.11.3 on Raspberry Pi 3 and I also tested 5.12.3 on Desktop Linux and Toradex Apalis i.mx6q, there's no same issue as on Raspberry Pi 3.
So what's the difference between these two version of Boot2Qt for Raspberry Pi 3?
Attachments
For Gerrit Dashboard: QTBUG-76597 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
273897,3 | Use gstreamer opengl plugins when possible | warrior | yocto/meta-boot2qt | Status: MERGED | +2 | 0 |