Results 1 to 10 of 10

Thread: High CPU usage with XORG

  1. #1

    Default High CPU usage with XORG

    Hi,
    I just upgraded KDE on my openSuSE 11.2 installation. I have never had any problems doing this in the past, but this time, when I rebooted, I noticed that after a few seconds of idle time, my CPU usage goes sky high. I ran top in a console and noticed the culprit was xorg. I am using an NVIDIA card on an AMD64 3200+ with 1 gig of memory. KDE version is currently 4.5.85.
    Like I said, I didn't have this problem until the last update. Any ideas as to what could be causing this?
    Thanks in advance.

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

    Default Re: High CPU usage with XORG

    the symptoms you describe have been raised here many times over the
    last several months...i think a run past the advanced search page will
    find many threads...i don't recall if all were solved or not...maybe
    there is a still open bugzilla, you can check
    here:http://en.opensuse.org/Submitting_Bug_Reports

    but, that KDE4.5.85 isn't that not yet released version available in
    'factory'? if so, you do know to _expect_ problems with it, right? and
    file bug reports when you find them..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  3. #3
    Join Date
    Mar 2009
    Location
    sri mayapur, west bengal, india
    Posts
    958

    Default Re: High CPU usage with XORG

    On Tue, 14 Dec 2010 20:57:22 +0530, DenverD
    <DenverD@no-mx.forums.opensuse.org> wrote:

    > the symptoms you describe have been raised here many times over the
    > last several months...i think a run past the advanced search page will
    > find many threads...i don't recall if all were solved or not...maybe
    > there is a still open bugzilla, you can check
    > here:http://en.opensuse.org/Submitting_Bug_Reports
    >
    > but, that KDE4.5.85 isn't that not yet released version available in
    > 'factory'? if so, you do know to _expect_ problems with it, right? and
    > file bug reports when you find them..
    >


    i can't say if this is the same on oS 11.2, but when i was using 11.3, i
    found that the latest kernel from Kernel:/HEAD and the whole XOrg suite
    from X11/XOrg brought a big improvement re. xorg using too man CPU cycles.
    (this applies on factory also.)

    neither of these repos are stable, and while i didn't see Kernel:/HEAD
    break yet, there was temporary trouble with the XOrg repo once or twice.
    if you're willing to spend that time & energy, my guess is that upgrading
    to these repos would make xorg behave better.

    doing this you would be sacrificing some stability for performance; but
    since you're using KDE 4.5.85, you've signed up for some trouble already...

    --
    phani.

  4. #4

    Default Re: High CPU usage with XORG

    Thanks to all of you for your help. I think I have it solved now. Here's what I did. Per your advice, I updated my XORG installation using the repos that you suggested. Next, I recompiled my kernel, reinstalled my NVIDIA drivers and set the required xorg.conf settings for compositing. Rebooted the machine and all is happy again. Granted there are a few niggling problems with the KDE 4.6 beta2, but I can live with them until they are fixed in the future.

    Again, thank you ... thank you. I should have thought about adding that repos and updating xorg (as that was what was causing my problems in the first place) but you know how it is. Late at night ... tired ... eyes crossed ... not thinking straight!

    Cheers.

  5. #5
    Join Date
    Mar 2009
    Location
    sri mayapur, west bengal, india
    Posts
    958

    Default Re: High CPU usage with XORG

    On Wed, 15 Dec 2010 06:06:01 +0530, dave1z
    <dave1z@no-mx.forums.opensuse.org> wrote:

    > I should have thought about adding that
    > repos and updating xorg (as that was what was causing my problems in the
    > first place) but you know how it is. Late at night ... tired ... eyes
    > crossed ... not thinking straight!


    great, and good luck! these repos aren't very obvious, and usually not
    encouraged for use on 'production' systems -- rightly so, since most
    people get more upset about their systems not booting into X, or not at
    all, at times, than xorg using half their CPU cycles. and this, i'm
    afraid, is a distinct possibility, specially with the XOrg repo. but if
    you keep a backup of your important data, and know what to do if & when
    disaster strikes, it should be ok.

    (when XOrg was broken for a day, i temporarily downgraded to the version
    available here: http://download.opensuse.org/factory-tested/repo/oss/ .
    subjectively this seemed to perform slightly less efficient, but as the
    name suggests, it's tested and not likely to break.)

    --
    phani.

  6. #6
    Join Date
    May 2010
    Location
    Ukraine, Donetsk
    Posts
    9

    Default Re: High CPU usage with XORG

    Quote Originally Posted by dave1z View Post
    Hi,
    I just upgraded KDE on my openSuSE 11.2 installation. I have never had any problems doing this in the past, but this time, when I rebooted, I noticed that after a few seconds of idle time, my CPU usage goes sky high.
    I fixed the same problem after installation x11-video-nvidia 260.19.21 on my openSUSE 11.2.

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

    Default Re: High CPU usage with XORG

    dave1z wrote:
    > Granted there are a few niggling problems with the KDE 4.6 beta2,
    > but I can live with them until they are fixed in the future.


    *please* don't just "live with them" as you wait for them to be fixed,
    because:

    1. the will NOT be fixed if there is no bug report on those "few
    niggling problems"...so, PLEASE post the bugs you find in TESTING
    software, here: http://en.opensuse.org/Submitting_Bug_Reports and when
    you do, please reference this thread with
    http://forums.opensuse.org/member.php?userid=53364

    2. and in the future PLEASE post all questions and discussion about
    beta software in the correct forum, where all the other testers hang
    out (makes it easier for you to connect with others who may already
    know if it is logged, etc), here:
    http://forums.opensuse.org/english/g...-release-beta/

    thanks in advance, for both!

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  8. #8

    Default Re: High CPU usage with XORG

    I've had what I think are similar problems for a few months (XOrg and gconfd-2 running a Core i5 at about 30% on every core*) and finally found a solution. Once again, the Ubuntu forums come to the rescue with this thread. I'm using Compiz, but Metacity was running as well. "killall -9" it and the gconfd-2 process vanished and XOrg settled down to its normal 1-2% (which is reasonable when I've got a Conky config refreshing every fraction of a second to repaint a sound visualiser!). Now I just need to find out why Metacity starts when I'm using Compiz...

    You are using KDE rather than Gnome, so it won't be the same issue, but it might be something similar.

    * according to Conky's per-core graphs, although top only reported 15% overall and the Conky "top 3 procs by CPU" reported a measly 3% for each process, so someone's maths was out somewhere!

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,490
    Blog Entries
    37

    Default Re: High CPU usage with XORG

    Quote Originally Posted by IBBoard View Post
    I've had what I think are similar problems for a few months (XOrg and gconfd-2 running a Core i5 at about 30% on every core*) and finally found a solution. Once again, the Ubuntu forums come to the rescue with this thread. I'm using Compiz, but Metacity was running as well. "killall -9" it and the gconfd-2 process vanished and XOrg settled down to its normal 1-2% (which is reasonable when I've got a Conky config refreshing every fraction of a second to repaint a sound visualiser!). Now I just need to find out why Metacity starts when I'm using Compiz...

    You are using KDE rather than Gnome, so it won't be the same issue, but it might be something similar.

    * according to Conky's per-core graphs, although top only reported 15% overall and the Conky "top 3 procs by CPU" reported a measly 3% for each process, so someone's maths was out somewhere!
    As you note Gconf is Gnome specific. There is more on it here: GConf - Wikipedia, the free encyclopedia

    The speculation in a Fedora thread is a problem in rendering and a lagging X originates with an application known as "Cairo". Post #42 here speculates a recent Cairo update may have reduced the frequency/impact of the problem, but not solved it.

    IMHO this could be more complex than just removing gconfd, although if one surfs on gconfd and cpu usage one will read many distributions (and not just Ubuntu) pondering about gconfd and its involvement with high cpu loads in X.

  10. #10

    Default Re: High CPU usage with XORG

    I posted another thread here because of the Gnome-centric part of it. I just wondered, having found this thread first, whether there was some similar process in KDE that wasn't showing up directly but was the culprit.

    Other than this incident then I've never really had a problem with gconfd. The real oddity is that if I ran just Metacity and not Compiz then I got low processor usage.

Posting Permissions

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