Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 4 performance deteriorates over time.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Fri Sep 14, 2012 1:39 pm    Post subject: KDE 4 performance deteriorates over time. Reply with quote

Hello,
I'm a long time GNOME user, but recently decided to give KDE 4 a shot - and generaly I am impressed and positivley suprised.
Currently I'm using KDE 4.9.1 (latest in ~x86).
After logging in everything works excelent, fast and resposive, but after some time (hr or so) drawing get slower and slower. Changing tabs in editors or web browser takes quite some time and You can notice how element being rendered one by one.
After relog everything gets back to normal for same amount of time. I've tried to disable effects completely but it has no effect.
CPU usage is OK, and I don't have any errors in my logs when this problem occurs.


Basic informations:
linux-3.5.3
nvidia-drivers-304.37
Oxygen style for QT and GTK.

Qt settings:
Compositing type: XRender
Qt graphics system: Native
eselect qtgraphicssystem: native

Any ideas?
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Fri Sep 14, 2012 1:48 pm    Post subject: Reply with quote

Take OpenGL for compositing type.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Fri Sep 14, 2012 2:20 pm    Post subject: Reply with quote

Sorry i didnt mentioned it before, but I tried every combination.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Fri Sep 14, 2012 4:41 pm    Post subject: Reply with quote

I've noticed this too. I've yet to find the cause or pin it to any one thing. I just upgraded nvidia drivers to the latest version today. I'll see how that goes.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Fri Sep 14, 2012 5:20 pm    Post subject: Reply with quote

I switched both qt and gtk to QtCurve style and its OK for few hrs now.

We'll see how it goes.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Fri Sep 14, 2012 6:15 pm    Post subject: Reply with quote

desktop indexing is on?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Fri Sep 14, 2012 6:25 pm    Post subject: Reply with quote

It is, but as I said, computer is basically idle, other operations are as fast as usual, just drawing stuff is completely wrecked.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Fri Sep 14, 2012 7:50 pm    Post subject: Reply with quote

^marcs wrote:
It is, but as I said, computer is basically idle, other operations are as fast as usual, just drawing stuff is completely wrecked.

kill it and try again, it has a mind of it own.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1557
Location: Adelaide/Australia

PostPosted: Tue Sep 18, 2012 10:37 am    Post subject: Reply with quote

Out of curiosity, does an xterm with 'top' running give any clues?
Some memory leak causing swap to fill up?
Some process with high cpu?
_________________
...Lyall
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Tue Sep 18, 2012 10:57 am    Post subject: Reply with quote

lyallp wrote:
Out of curiosity, does an xterm with 'top' running give any clues?
Some memory leak causing swap to fill up?
Some process with high cpu?

As I said in 1st post, it's a NO for each question :)
Everything is looking good, but drawing sucks hard.

I made few steps with positive result:
turned off nepomuk (but I doubt it's that)
changed widget theme for gtk and qt from oxygen to qtcurve,
updated qt to 4.8.3

It's acceptable now, but still, not as instant as I used to have in GNOME.
When I figure something more, I'll let You all know.

Cheers.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1557
Location: Adelaide/Australia

PostPosted: Tue Sep 18, 2012 11:01 am    Post subject: Reply with quote

Actually, you didn't answer about the swap and memory usage.
:)
_________________
...Lyall
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Tue Sep 18, 2012 11:37 am    Post subject: Reply with quote

lyallp wrote:
Actually, you didn't answer about the swap and memory usage.
:)

Fine! :D
I report no swap usage problems at the time :wink:
Back to top
View user's profile Send private message
Herring42
Guru
Guru


Joined: 10 Mar 2004
Posts: 373
Location: Buckinghamshire

PostPosted: Tue Sep 18, 2012 2:00 pm    Post subject: Reply with quote

I leave my system on for weeks at a time, and have not noticed any slowdown in KDE.

I'm currently running KDE 4.9.1 and QT 4.8.2

Its very quick and responsive!
_________________
"The problem with quotes on the internet is that it is difficult
to determine whether or not they are genuine." -- Abraham Lincoln
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Tue Sep 18, 2012 2:03 pm    Post subject: Reply with quote

Could be nvidia trouble. On my >3yr aged ThinkPad with intel driver there's no such thing as slowdowns even after >1d uptime.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Tue Sep 18, 2012 2:47 pm    Post subject: Reply with quote

I am getting that on one of the machines as well, after series of recent upgrades to 3.4.9, xorg-1.12, nvidia, and kde-4.8.3

What I see is that X windows is continously running at ~6% and so is konsole at ~6%, even if nothing is done (I am away from office and looking through ssh). X windows managed to use up over a day of CPU being last launched on September 5th.
Close and reopenning fireforx cures a feel of lag for sometime, but then it returns.


And, now to think, it is accompanied by bad gtk perfomance (say menus in acroread and firefox you sometimes have to hover the mouse to redraw),
so perhaps it is gtk engine after all. This started to happen somewhere in the beginning of summer



X (but seems not konsole, and I do not feel any lag) is also happening on my old home nvidia desktop, but not indeed on my intel laptop (with same kde/kernel)


Last edited by dmpogo on Tue Sep 18, 2012 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Tue Sep 18, 2012 2:54 pm    Post subject: Reply with quote

Hmm, It seems only nvidia users reporting this problem so far.
I'll try nouveau later - for lack of better ideas.

BTW. any of You using infinality font patches?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Wed Sep 19, 2012 2:21 am    Post subject: Reply with quote

^marcs wrote:
Hmm, It seems only nvidia users reporting this problem so far.
I'll try nouveau later - for lack of better ideas.

BTW. any of You using infinality font patches?


not me, my setup is pretty much all from stable, with no custom patches.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Fri Sep 21, 2012 8:03 am    Post subject: Reply with quote

All right, I picked up new trail :o But it's yet to be confirmed.
I'm using Eclipse for like 90% of time, so I might not notice it at first, but when I restart it , all going back to normal - for some time. Then this stuff happens again.
So, when I'm in a situation when switching tabs in eclipse editor takes up to 5-7 seconds, I noticed X process CPU usage spikes to 100% and holing until another tab loads.

Any of You with similar problems are using eclipse or other java app?
Back to top
View user's profile Send private message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 178

PostPosted: Fri Sep 21, 2012 10:58 am    Post subject: Reply with quote

I am experiencing this with firefox, as dmpogo reports above. Closing and reopening firefox takes care of it for a while. However, for me the problem gets worse over the course of days rather than just an hour, so it is less of an issue (perhaps a question of hardware?). I also found that closing tabs from certain web sites helps (javascript issues?) even without restarting firefox.

I run eclipse occasionally without any slowdowns but perhaps i do not run it for long enough to see any.

But i am not sure this addresses ^marcs's problem because he should be having the same issues under Gnome, shouldn't he, and he says he doesn't...
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Sun Sep 23, 2012 5:19 am    Post subject: Reply with quote

orionbelt wrote:
I am experiencing this with firefox, as dmpogo reports above. Closing and reopening firefox takes care of it for a while. However, for me the problem gets worse over the course of days rather than just an hour, so it is less of an issue (perhaps a question of hardware?). I also found that closing tabs from certain web sites helps (javascript issues?) even without restarting firefox.


Same here, it seems just some tabs are offending
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Sun Sep 23, 2012 10:27 am    Post subject: Reply with quote

OK guis, I'm 90% sure it is media-libs/freetype with "infinality" USE problem , mainly manifesting itself in java stuff. I turned it off and going without problems for 3 days now.
As for firefox problems I can't confirm anything - I'm using Chromium.
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 548
Location: Hawaii

PostPosted: Mon Sep 24, 2012 1:06 am    Post subject: Reply with quote

Yes, It's been quite a few years of this now, innit?
_________________
MSI MAG B550 Tomahawk
Ryzen 3900x
32Gb Samsung B-die (16GB dual rank x2) DDR4 @ 3200MHz, cl14
Geforce RTX 2070S 8GB
Samsung m.2 NVME pcie-3.0
Etc....
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Mon Sep 24, 2012 5:50 am    Post subject: Reply with quote

Ok, it's not infinality patches. This still happens.
I think I'll just wait.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Thu Oct 04, 2012 12:27 pm    Post subject: Reply with quote

I've changed GTK style from Oxygen into default, build-in, raw, win95 like, "my phone have better widgets" - Raleigh style.
Running OK for week now.

Maybe anyone else want to test it too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum