[Interest] QML profiling shows scene graph not rendering

Luca Carlon carlon.luca at gmail.com
Fri Sep 22 17:21:56 CEST 2017


Hello!
My app is affected by some stuttering and I'm trying to investigate the
reason through the profiler. I'm attaching a shot of what I see with the
profiler in vaapi.png. What I see is that there is a hole in the scene
graph row, but just a few milliseconds of execution of JS. As I know some
MediaPlayer's are restarted in that instant, I created some tests to
reproduce the behavior, and what I notice is that one video player stops
rendering for some ms when another MediaPlayer is set to another media. I
attach my test code in test.qml. The stuttering is not very noticeable with
only two players, but I have more than two.
I did the same test without the use of gstreamer vaapi (I'm using nVidia
decoding here through the gstreamer vaapi plugin), using software decoding,
and in that case the situation seems a bit better: attachment software.png.
So is it possible that the scene graph is stuck waiting for something in
QtMultimedia being done/allocated? Is there any way to move that
"processing" in another thread?
Thank you!
Regards.

Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170922/f14e6b74/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vaapi.png
Type: image/png
Size: 16820 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170922/f14e6b74/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: software.png
Type: image/png
Size: 17851 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170922/f14e6b74/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.qml
Type: text/x-qml
Size: 668 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170922/f14e6b74/attachment.bin>


More information about the Interest mailing list