[Qt-interest] Xorg performance
Eduardo Luz
eduluz at gmail.com
Mon Jun 7 15:39:49 CEST 2010
Hello Folks,
I am having a similar problem.
The application I'm working on was fine until I put a timer to call
update() of QLabel every 300ms.
Every time I run my application the initial CPU usage of it is about
60% - 70% and Xorg CPU usage is about 20% - 30% but that is normal.
When the timer starts to call update of QLabel, the Xorg CPU usage
starts increasing and reach almost 100% of CPU in 10 minutes and the
CPU usage of my application falls to 4% - 5%. That happens when I use
default graphics system (that would be the native??). When I run my
app using "-graphicssystem raster" the problem disapears. Using
"-graphicssystem opengl" crashes the system.
OS : Ubuntu 9.04 (linux kernel 2.6.28-15-generic)
Qt: 4.6.2
X.Org X Server: 1.6.0
GPU: GeForce 7300 SE/7200 GS
NVIDIA Driver Version: 180.44
I need to know what is going on here. Any help will be appreciated.
Regards,
Eduardo Luz
On Tue, Jun 1, 2010 at 6:15 PM, Gabriel M. Beddingfield
<gabrbedd at gmail.com> wrote:
>
>
> On Tue, 1 Jun 2010, Clemens Eisserer wrote:
>
>>> I have *big* problems with intel drivers and qt4. Forms stay unpainted,
>>> moving mouse over shows controls (eg QLineEdit, QComboBox etc), same app
>>> works ok with nvidia or ati (qt-4.6.2).
>>> I've finally found where's problem in my code, but I'm wondering what can
>>> cause such problems.
>>> When Qt::AA_ImmediateWidgetCreation is setted up, then have problems with
>>> intel driver (others like nvidia, ati works ok), removing
>>> Qt::AA_ImmediateWidgetCreation fixes problem.
>>> Anyone ?
>>
>> If you're using the latest version of the intel driver (2.11) probaly
>> the best thing you can do is to write to the intelgfx mailing list and
>> file a bug at the freedesktop.org bug tracker.
>
> FWIW, I was told by someone on the intel graphics irc
> channel that 2.11 uncovered some bugs in libdrm.
>
> With the 2.9 intel driver and 2.4.20 libdrm things work fine
> for me. Every once in a while a tool-tip will reveal
> garbage before painting the tool-tip.
>
> -gabriel
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Eduardo Luz
“The most beautiful thing we can experience is the mysterious. It is
the source of all true art and science. “
Albert Einstein
US (German-born) physicist (1879 - 1955)
More information about the Qt-interest-old
mailing list