[Qt] Lazarus running slow on KDE 4.6.2

zeljko zeljko at holobit.net
Sun Apr 10 10:31:04 CEST 2011


On Saturday 09 of April 2011 22:42:08 Steven Feinstein wrote:
> I am (according to Synaptic) using:
> x11-driver-video-radeonhd  the X.org driver for AMD / ATI r5xx/r6xx
> chipsets (Radeon X1xxx and HD 2xxx cards)

That says nothing. Please attach /var/log/XOrg.0.log .

> I commented the line and rebuilt.  No change in how it ran.

Strange ... what happens if you completely close source editor , so only 
lazarus main IDE win, object inspector  and messages win are opened ?

> 
> Thanks,
> Steve
> 
> --- On Sat, 4/9/11, zeljko <zeljko at holobit.net> wrote:
> > From: zeljko <zeljko at holobit.net>
> > Subject: Re: [Qt] Lazarus running slow on KDE 4.6.2
> > To: "Items specific to the Qt widget set"
> > <qt at lists.lazarus.freepascal.org> Date: Saturday, April 9, 2011, 1:40 PM
> > On Saturday 09 of April 2011 16:17:46
> > 
> > Steven Feinstein wrote:
> > > I have an ATI Radeon.  Running with Windows style
> > 
> > is better than plastique
> > 
> > > and oxygen, but very ugly.  Plastique is usable
> > 
> > at least.  But strange
> > 
> > > behavior.  Apps I build using QT do not seem to
> > 
> > have any X problems when
> > 
> > > they run.  They never exceed 15% in top. 
> > 
> > It's just Lazarus itself.
> > 
> > What driver do you use ? fglrx or radeon ?
> > Try this and give feedback please (just comment
> > UpdateMouseHint in
> > Application.Idle):
> > Index: lcl/include/application.inc
> > ===================================================================
> > --- lcl/include/application.inc    (revision
> > 28265)
> > +++ lcl/include/application.inc    (working
> > copy)
> > @@ -365,7 +365,7 @@
> > 
> >  begin
> > 
> >    ReleaseComponents;
> >    ProcessAsyncCallQueue;
> > -  UpdateMouseHint(GetControlAtMouse);
> > +  // UpdateMouseHint(GetControlAtMouse);
> > 
> >    Done := True;
> >    if (FIdleLockCount=0) then begin
> > 
> > 
> > zeljko
> > 
> > > --- On Sat, 4/9/11, zeljko <zeljko at holobit.net>
> > 
> > wrote:
> > > > From: zeljko <zeljko at holobit.net>
> > > > Subject: Re: [Qt] Lazarus running slow on KDE
> > 
> > 4.6.2
> > 
> > > > To: "Items specific to the Qt widget set"
> > > > <qt at lists.lazarus.freepascal.org>
> > 
> > Date: Saturday, April 9, 2011, 2:54 AM
> > 
> > > > On Saturday 09 of April 2011 03:25:14
> > > > 
> > > > Steven Feinstein wrote:
> > > > > I use PCLinuxOS.  Up to date with:
> > > > > QT: 4.7.2
> > > > > KDE: 4.6.2
> > > > > 
> > > > > I run Lazarus from the latest SVN
> > 
> > build.  In my
> > 
> > > > case it is 30245.
> > > > 
> > > > > Just recently (builds for the last few
> > 
> > weeks), I've
> > 
> > > > run into a problem.
> > > > 
> > > > > Lazarus runs extremely slowly if I build
> > 
> > using
> > 
> > > > OPT="-dQT_NATIVE_DIALOGS"
> > > > 
> > > > > LCL_PLATFORM=qt.  Using top, X jumps to
> > 
> > 70-90%
> > 
> > > > whenever I try to do
> > > > 
> > > > > something in the IDE related to the
> > 
> > UI.  If I do
> > 
> > > > not use components (say a
> > > > 
> > > > > console application) the IDE runs fine.
> > > > > 
> > > > > I recompiled using GTK and the IDE runs fine
> > 
> > as
> > 
> > > > well.  I played around with
> > > > 
> > > > > desktop Styles.  If I use the Oxygen
> > 
> > theme (which
> > 
> > > > I do), it is terrible.
> > > > 
> > > > > X jumps to 70-90%.  Which makes
> > 
> > Lazarus
> > 
> > > > unusable.  If I change to
> > > > 
> > > > > Plastique, X jumps only to 40-50%. 
> > 
> > Which makes
> > 
> > > > Lazarus mostly usable but
> > > > 
> > > > > slow.
> > > > > 
> > > > > GTK, X jumps 10-15% at most.
> > > > > 
> > > > > I posted on the Lazarus forum and no one
> > 
> > else seemed
> > 
> > > > to have this issue.
> > > > 
> > > > > They suggested posting here.
> > > > > 
> > > > > Hopefully someone will have an idea of what
> > 
> > setting
> > 
> > > > might be messing me up.
> > > > 
> > > > I have no idea why it is so ... it runs fine
> > 
> > here,
> > 
> > > > qt-4.7.2, KDE-4.6.2 (Fedora
> > > > 14 32 bit)+ remote X lazarus with qt-4.6.3 on
> > 
> > KDE-3.5
> > 
> > > > (Fedora 3) runs fine
> > > > also. Oxygen can slow down things, but it's weird
> > 
> > that
> > 
> > > > plastique is doing the
> > > > same.
> > > > You can try to start lazarus from console with
> > 
> > windows
> > 
> > > > style and see if it's
> > > > better, eg.
> > > > cd /to/your/lazarus/dir
> > > > ./lazarus -style windows
> > > > 
> > > > What's your graphic card and driver ? Qt have
> > 
> > problems with
> > 
> > > > nvidia cards
> > > > sometimes, but also I've seen problems with intel
> > 
> > cards in
> > 
> > > > combination with
> > > > old intel drivers. If it's so, try vesa graphic
> > 
> > driver and
> > 
> > > > see if it's still
> > > > slow.
> > > > 
> > > > zeljko
> > > > 
> > > > _______________________________________________
> > > > Qt mailing list
> > > > Qt at lists.lazarus.freepascal.org
> > > > http://lists.lazarus.freepascal.org/mailman/listinfo/qt
> > > 
> > > _______________________________________________
> > > Qt mailing list
> > > Qt at lists.lazarus.freepascal.org
> > > http://lists.lazarus.freepascal.org/mailman/listinfo/qt
> > 
> > _______________________________________________
> > Qt mailing list
> > Qt at lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/qt
> 
> _______________________________________________
> Qt mailing list
> Qt at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt




More information about the Qt mailing list