[kde-freebsd] KDE Slows down X

Kris Moore kris at pcbsd.org
Tue Sep 18 16:28:39 UTC 2012


On 09/18/2012 12:20, Chuck Burns wrote:
> On Tue, Sep 18, 2012 at 9:54 AM, Kris Moore <kris at pcbsd.org> wrote:
>> On 09/18/2012 10:02, Andriy Gapon wrote:
>>> on 18/09/2012 16:20 Kris Moore said the following:
>>>> KDE Team,
>>>>
>>>> I've gotten a number of reports from our users, that when using KDE
>>>> 4.8.4 and leaving the system up for more than 24-48 hours eventually it
>>>> causes Xorg to use 100% CPU and the desktop slows down to a crawl. This
>>>> is *only* occurring when KDE is the running desktop, Gnome, LXDE and
>>>> others don't seem to have this issue. I've confirmed it here as well on
>>>> an ATI system, so its doing it on both that and NVIDIA hardware. Logging
>>>> out and back in again fixes the problem.
>>>>
>>>> Has anybody else run into this? Its easy to duplicate, just leave your
>>>> desktop session up for a day or two. I tried disabling all the KDE
>>>> Energy Savings in their control panel, but it still occurs. Can anybody
>>>> else think of any knobs to tweak?
>>>>
>>> What HW?  Anything interesting in Xorg.log or system messages when the slowdown
>>> happens?
>>>
>> Its happening on all the systems we've tested at the iX office. Various
>> nvidia cards, Intel i5 / i7 chipsets. On the laptop I tested here it is
>> running an ATI radeon 5400 series, i5 Proc. When this occurs, I don't
>> see any particular messages in dmesg or Xorg.0.log that would indicate
>> the problem. We've tried it with 3D enabled and disabled to try and rule
>> that out.
>>
> I have no such issues on this box.  I generally have -two- KDE
> sessions logged in at the same time.. on :0 and :1 respectively.. and
> even with both of them logged in, cpu usage stays pretty low..  My
> power was fluctuating badly yesterday, so I powered down everything..
> I've been back up for about 18hrs now, and the following "top -PCa"
> output is pretty much what I always have, unless my daughter is
> playing her nickjr.com games (which use flash... then CPU usage will
> climb because of nspluginplayer/flash)
>
>
> CPU 0:  0.7% user,  0.0% nice,  0.7% system,  0.0% interrupt, 98.7% idle
> CPU 1:  0.7% user,  0.0% nice,  0.7% system,  0.0% interrupt, 98.7% idle
> Mem: 983M Active, 340M Inact, 6151M Wired, 21M Cache, 391M Free
> ARC: 5125M Total, 3654M MRU, 500M MFU, 1317K Anon, 53M Header, 916M Other
> Swap: 2048M Total, 480K Used, 2047M Free
>
> Plus.. ps aux | grep X produces:
>
> root       1895   0.4  0.6  971676  50072 ??  S     5:11PM    1:58.79
> /usr/local/bin/X -br -quiet :0 -nolisten tcp -auth
> /var/run/xauth/A:0-Ux6I7d (Xorg)
> root       5751   0.0  0.7  955868  58992 ??  S    11:14AM    0:01.21
> /usr/local/bin/X -br -quiet :1 -nolisten tcp -auth
> /var/run/xauth/A:1-WvE0De (Xorg)
>
> FreeBSD blackbeast.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0
> r240222: Fri Sep  7 21:44:52 CDT 2012
> root at blackbeast.local:/usr/obj/usr/src/sys/GENERIC  amd64
>
> Uptime: 11:18AM  up 18:08, 3 users, load averages: 0.07, 0.21, 0.13
>
> As I said, I normally leave it on all the time, and even with 2 Xorg
> instances, neither of them ever climb above normal usage..
>
> --
> Chuck Burns

This on the newer xorg-server with KMS options? We are using GDM as the
login manager, not sure if that would make a difference.

Also, this may be related or not, but I've seen a number of cases in KDE
where it spins up "upowerd", and that takes 100% of a core. Can't find a
cause for it though, seems like it happens at random times on my desktop
/ laptop, maybe once a week or so.

I've got a couple of systems I'm leaving up again, will try to get some
additional details on this. We've run into this on probably half-dozen
systems at the iX office, and they ended up having to switch to LXDE as
a work-around, but would prefer to run KDE :)

-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the kde-freebsd mailing list