Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: CPU hungry Xorg process in KDE4

  1. #1

    Default CPU hungry Xorg process in KDE4

    Hello.
    Is anyone else having problems with Xorg process eating quite of big chunk of CPU time in KDE4? I have AMD 4600+ X2 CPU and running top says that Xorg process is the most CPU hungry app. constantly eating ~30% of CPU. Periodically it jumps even higher causing a short freeze in Medieval2 - Total War (for example). Is anyone else having this problem with Xorg in KDE4? It seems to be related to KDE4 since when I run XFCE I can play Medieval2 without intermittent freezes.

    My system has KDE4.1.3 and Nvidia 177.82 drivers with some desktop effects enabled like translucency and shadows. It does not seem to be related to compositing because disabling it has no visible effect on the CPU demand of Xorg. My xorg.conf seems to pretty much default that Sax2 suggest, so I don't have any added Option lines there. Any suggestions what to try or is this a know bug in KDE4 or Nvidia drivers?

  2. #2
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Posts
    365

    Default Re: CPU hungry Xorg process in KDE4

    Have you turned on any compositing? Kwin or Compiz?

    With Kwin compositing on (wobbling, transparency, taskbar thumbnails, minimize animation) i think, xorg eating 30% cpu is normal. On my system it goes 50% often.

  3. #3

    Default Re: CPU hungry Xorg process in KDE4

    As I mentioned above:
    It does not seem to be related to compositing because disabling it has no visible effect on the CPU demand of Xorg.
    So it does not seem to be related.

    Are people still adding some custom Option lines to xorg.conf with latest (177.82) Nvidia drivers?

  4. #4
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Posts
    365

    Default Re: CPU hungry Xorg process in KDE4

    Oops i missed it, sorry.

  5. #5

    Default Re: CPU hungry Xorg process in KDE4

    No problem
    Thanks for the answer anyway.

  6. #6
    Join Date
    Jun 2008
    Location
    Kansas City, MO
    Posts
    570

    Default Re: CPU hungry Xorg process in KDE4

    heres a shot in the dark are you running the plasma network graph? the reason im asking is because when i run that i get high cpu usage

    if that thats not it try renaming your .kde4 folder to .kde4.old and then log back in, it will reset kde4 back to the default

  7. #7
    google01103 NNTP User

    Default Re: CPU hungry Xorg process in KDE4

    Havoc65 wrote:

    >
    > heres a shot in the dark are you running the plasma network graph? the
    > reason im asking is because when i run that i get high cpu usage
    >
    > if that thats not it try renaming your .kde4 folder to .kde4.old and
    > then log back in, it will reset kde4 back to the default
    >
    >

    yea that seems to be a problem with plasmoids that do any kind of monitoring - the applets in kde3 were much more cpu efficient. Hopefully this will resolve in future release, in the mean time I keep the kde3 panel loaded with the plasma one
    --
    Suse 11.0 x64, Kde 4.1beta (factory repo), Opera 9.x weekly

  8. #8

    Thumbs up Re: CPU hungry Xorg process in KDE4

    Ok, I will try that next, since I do have couple system monitoring plasmoids. Resetting KDE4 defaults is something I really would like to avoid since I've spent good amount of time to getting it the way I like it.

  9. #9

    Default Re: CPU hungry Xorg process in KDE4

    I have encountered the same problem on many different Linux distributions with KDE4. I currently use Kubuntu 10.04 on my workstation at work. It's configured as follows :

    AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
    GeForce 9400 GT
    2GB RAM
    X.Org version: 1.7.6
    KDE 4.5.3
    2x Dell WPF2408 1920x1200 monitors (I wish I could afford these for personal use!)
    NVIDIA drivers 195.36.24

    One of my personal machine is a Dell Studio 14z running Archlinux. Here are the specs :
    Intel Core 2 Duo T6600 @ 2.20GHz
    GeForce 9400M G
    3GB RAM
    X.Org version: 1.10.2
    KDE 4.6.3
    Built-in monitor 1600x900 I also sometimes use my LCD TV 1920x1080 or my old Dell 19" 1280x1024
    NVIDIA drivers 275.09.07

    Regardless of the distribution or the exact versions, I have slowdowns. I can not keep nearly as many windows open as I used to in KDE3. Even if composition is disabled, the slowdown still occur. I have no plasmoids on my desktop and none that update themselves. I experience the worst slowdown at work. At some point, the Xorg process will take about 20% of a CPU when I'm not doing anything. When that occurs, typing, changing windows, scrolling becomes unbearably slow and Xorg maxes out one CPU core. The response is a slow as using remote X through a 56Kbps modem connection!

    I my personal machines, I have found a reproducible way to trigger the problem : I edit pictures with digiKam (Aspect ratio crop, color balance, etc..). After doing that on about 30 images, Xorg goes crazy and maxes out one CPU core. At work I have yet to find a recipe that triggers the issue(I don't think my boss would enjoy seeing me work on my photos!). When the slowdowns do occur, closing some windows will help, but won't bring Xorg back to normal. Un-login and re-login will take care of the symptoms.

    I have heard reports of some of my co-workers encountering the same issue with ATI cards, but I have no first hand experience with them since all the systems I use have NVIDIA cards. Did anyone encounter this problem with Intel cards? I have yet to try other desktops environments. I used to love KDE because of it's features and the high integration, but if these issues are caused by poor X resources handling in KDE, I might actually switch to GNOME!

    I wrote to the Xorg mailing list and they suggested to recompile Xorg and KDE with debugging information and to use a system profiler to see what Xorg does when it's eating up CPU time. I have yet to do so...

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: CPU hungry Xorg process in KDE4

    On 07/07/2011 08:36 PM, Prozzaks wrote:
    >
    > I have encountered the same problem on many different Linux
    > distributions with KDE4. . . .
    > Regardless of the distribution or the exact versions, I have slowdowns.


    i wonder why you post to the openSUSE forum, your problem is clearly not
    with openSUSE, but with KDE...why not post to their forum??


    > I wrote to the Xorg mailing list


    but, if your problem is with KDE why not write to them??
    or, am i missing something?

    first time poster, talking to the wrong folks!

    --
    DD
    -Caveat-Hardware-Software-

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •