[Development] Qt 5.0 Beta Performance

simon.hausmann at nokia.com simon.hausmann at nokia.com
Sat Sep 1 09:36:16 CEST 2012


I've observed the same with Nvidia and the samegame, but I've seen the same process eat just a few percent two months ago. I'm confident that it's just a plain old bug instead of a fundamental problem with Qt 5's architecture :)

Simon

--
Sendt fra min Nokia N901.09.12 08:05 skrev ext David Boosalis:
Interesting that there are no comments on this. Does it mean that only a few of us are seeing poor performance due to some driver issue, or that people aren't concerned with the performance.  But wasn't better performance the primary motivation for Qt 5 ?

 


On Fri, Aug 31, 2012 at 11:26 AM, Jeff Tranter <jtranter at ics.com> wrote:

I see the same thing with the Qt 5 beta 1 installer binary on Ubuntu
Linux 12.04. When running
Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc/examples/qtdeclarative/demos/samegame/samegame
it takes 100% CPU when the game is sitting idle. The machine it is
running on has Nvidia's OpenGL driver.


On 12-08-31 08:55 AM, David Boosalis wrote:
> Thank you for the reply.
>
> IN anser to your questions, I built Qt 5 with no configure options other
> then prefix and used the samegame found in
> "Src/Qt/5.0.0-beta1/qtdeclarative/examples/demos/samegame"
>
> ldd on the executable reports:
> ldd ./samegame
>          linux-vdso.so.1 =>  (0x00007fff5cf23000)
>          libQtQuick.so.5 =>
> /usr/local/Trolltech/Qt-5.0/lib/libQtQuick.so.5 (0x00007f9729fe0000)
>          libQtGui.so.5 => /usr/local/Trolltech/Qt-5.0/lib/libQtGui.so.5
> (0x00007f9729a1d000)
>          libQtCore.so.5 =>
> /usr/local/Trolltech/Qt-5.0/lib/libQtCore.so.5 (0x00007f9729429000)
>          libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f9729100000)
>          libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f9728eea000)
>          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9728b2c000)
>          libQtQml.so.5 => /usr/local/Trolltech/Qt-5.0/lib/libQtQml.so.5
> (0x00007f97286fa000)
>          libQtNetwork.so.5 =>
> /usr/local/Trolltech/Qt-5.0/lib/libQtNetwork.so.5 (0x00007f97283ae000)
>          libQtV8.so.5 => /usr/local/Trolltech/Qt-5.0/lib/libQtV8.so.5
> (0x00007f9727d63000)
>          libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f9727b5a000)
>
>
> I am using AMD's Catalysist driver 12.2 with a Radian HD 6800 Card
>
>
>
> On Thu, Aug 30, 2012 at 11:42 PM, Thiago Macieira

> <thiago.macieira at intel.com <mailto:thiago.macieira at intel.com>> wrote:
>
>     On quinta-feira, 30 de agosto de 2012 17.05.07, David Boosalis wrote:
>      > I download the latest beta version of Qt 5.0 onto my Linux box
>     (Kubuntu
>      > 12.04) . For  a beta it looks real good, but one thing I found
>     concerning
>      > was the performance.  I mean even running the demo "samegame"
>     take over 98%
>      > of my cpu. Being that it is only the first beta release I am sure
>     there is
>      > plenty of room for optimization,   but 98% of my I5-2500 cpu seems  a
>      > little excessive. I did the default configure and build so maybe
>     it was
>      > built without any optimization.  Any thoughts on this ?
>
>     Which of the samegame examples? If it's the QtQuick2 one, what
>     OpenGL driver
>     do you have?
>
>     And did you compile in debug or in release mode?
>     --

>     Thiago Macieira - thiago.macieira (AT) intel.com <http://intel.com>

>        Software Architect - Intel Open Source Technology Center
>           Intel Sweden AB - Registration Number: 556189-6027
>           Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>
>     _______________________________________________
>     Development mailing list

>     Development at qt-project.org <mailto:Development at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/development

>
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



--

Jeff Tranter, Consulting Manager, Integrated Computer Solutions.
ICS - Delivering World-Class Applications for Embedded & Mobile Devices
http://ics.com/services/

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list