[Development] Qt 5.0 Beta Performance
Robert Knight
robertknight at gmail.com
Fri Aug 31 23:09:28 CEST 2012
> it takes 100% CPU when the game is sitting idle.
What does the poor man's profiler* say is going on?
Regards,
Rob.
* http://poormansprofiler.org/
On 31 August 2012 19:26, 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