I have embedded device with Freescale I.MX6 SoC. I compile Qt5.3.1 from source with support OpenGL and when I run my application I have very large use cores of I.MX6 instead use GPU at max. Other more complex animations use core of CPU even greater. Look at the htop screenshot. If I build my QML application for Windows Angle CPU of PC load at 2...3% - GPU works at maximum. Does works OpenGLat I.MX6 correctly or for embedded Qt is it normally (i mean great load core CPU)?
The Linux kernel is 3.10.17
Source of test application:
import QtQuick 2.2
import QtQuick.Window 2.1
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
Window {
visible: true
width: 360
height: 360
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
ProgressBar {
anchors.fill: parent
anchors.margins: 40
indeterminate: true
style: ProgressBarStyle {
background: Rectangle {
radius: 2
color: "lightgray"
border.color: "gray"
border.width: 1
implicitWidth: 200
implicitHeight: 24
}
progress: Rectangle {
border.color: "steelblue"
color: "lightsteelblue"
// Indeterminate animation by animating alternating stripes:
Item {
anchors.fill: parent
anchors.margins: 1
visible: control.indeterminate
clip: true
Row {
Repeater {
Rectangle {
color: index % 2 ? "steelblue" : "lightsteelblue"
width: 20 ; height: control.height
}
model: control.width / 20 + 2
}
XAnimator on x {
from: 0 ; to: 40
loops: Animation.Infinite
running: control.indeterminate
duration: 600
}
}
}
}
}
}
}
I have a similar problem on my i.core M6 (single core).
If I run a very simple qml "infinite" animation (for example a "spinner" animation or an opacity animation) the cpu temperature reaches the critical threshold (90°C) and then the kernel set the GPU speed to 1/64 until the temperature is lower.
I'm using Qt 5.0.1 and kernel 3.0.35.
Normally the temperature is around 65°C.
How can I solve this problem.?..it seems very strange...
Hi, I have the same problem with my compilation
I'm using Toradex Colibri IMX6 Solo 256MB so I tested with my own distro/image using Yocto 1.7 the cinematic experience consume ~ 70% CPU
Using the BSP from toradex (Openembedded) the Dizzy version consume ~52% CPU 18% Mem and the Fido ~50% 18%Mem.
I don't know what I doing wrong in my distro/image.
But 54% CPU running only Cinematic experience I think this is too much high, is this normal?
Thank you!
Best Regards,
Caio Pereira
If the radiator is present, it is possible you have a bad heat transfer from the body of the chip to the heatsink
I'm using a single core i.mx6 and unfortunately I can't mount an heatsink.
The very strange thing is that such simple animations can raise the temperature that much...are there suggestions from freescale?
hi
I has same problem.When using animation power consumption increases by 5 watts. I used the radiator.
Hi,
Could you please provide more information on what BSP version you are using. Is it X11 or EGLFS backend?
Tried QML based applications built with Yocto project, and GPU is fully utilized.
Best regards!
/Carlos
Hello, Carlos! Thank you for your answers!
My board is var-som-mx6 quadro of the variscite. File system built by buildroot 3.10.17.
Backend is EGLFS. No X11. When I run QML animation I see increase power consumption up to +5 watts. I think this is due to the activation of GPU.
Tell me please how loaded your board cpu cores when you run QML animation?
Best regards!
Hi,
They have mentioned that on Cinematic Experience is 10 to 20% and wiggly is 12% CPU.
Hope this will be useful.
Best regards!
/Carlos.
hi, Carlos!
Thank you for your answer. I am sorry but if possible say me - 10...20% is it summary(total) load for CPU(for 4 cores) or load of single core of quadro cores CPU?
Hi,
It is total load (top).
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you! It is same as i have. But it is a bit sadly.
Hi,
We are reviewing your request internally, you will get an update soon.
Best regards!
/Carlos