Results 1 to 8 of 8

Thread: Conky and high CPU

  1. #1

    Default Conky and high CPU

    Hello all,

    I am using an up-to-date openSuse 11.3 with KDE 4.5.2 and have installed conky using the Contrib repository http://download.opensuse.org/reposit...ntrib/standard
    Sometimes (about 40%) when I start conky the computer becomes totally unresponsive and shows a 100% CPU usage by Xorg. The minute I kill conky, the computer returns to normal.

    The script I use to start conky uses feh as follows:
    #! /bin/bash
    conky &
    sleep 3
    feh --bg-scale mywallpaper.jpg

    After advice on a thread on a similar matter I switched from feh to qiv but I still get the same behaviour. Any ideas on how to figure out what is going on is greatly appreciated.

    For info, I am using a NVIDIA 9800GT graphics card with the proprietary 256.63 driver version. Thanks.

  2. #2

    Default Re: Conky and high CPU

    Seeming as its related to conky I would suspect a refresh in your conkrc is causing the problem. How often is your update_interval and what is it doing i.e conky background images etc...
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3

    Default Re: Conky and high CPU

    Thanks for your prompt reply. It is updating every 1 second and it is not loading any images. I used to have the exact same setting using Kubuntu with no problems.

  4. #4

    Default Re: Conky and high CPU

    Conky shows information from the NVIDIA graphics card. I just tried to open the NVIDIA settings and noticed that the Xorg uses a lot of the CPU.

    So, I disabled the NVIDIA information from Conky and now CPU is back to normal. So, it is defenitely related to NVIDIA (either driver or nvidia-settings module)... Any ideas?

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,643
    Blog Entries
    15

    Default Re: Conky and high CPU

    Quote Originally Posted by linuxfever
    Conky shows information from the NVIDIA graphics card. I just tried to
    open the NVIDIA settings and noticed that the Xorg uses a lot of the
    CPU.

    So, I disabled the NVIDIA information from Conky and now CPU is back to
    normal. So, it is defenitely related to NVIDIA (either driver or
    nvidia-settings module)... Any ideas?

    Hi
    I run my own version of conky with nvidia support from OBS and don't see
    any issues with xorg and the 260.19.12 driver.

    The version from contrib isn't compiled for nvidia support?

    You can check via;
    Code:
    conky -v
    
    Compiled in features:
    
    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual
    
    Music detection:
    * MPD
    * MOC
    
    General:
    * math
    * hddtemp
    * portmon
    * wireless
    * nvidia
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua
    
    Lua bindings:
    * Cairo
    * Imlib2
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.3 (x86_64) Kernel 2.6.34.7-0.4-default
    up 1 day 3:31, 2 users, load average: 0.13, 0.18, 0.14
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12


  6. #6

    Default Re: Conky and high CPU

    Interestingly, it seems that it is not compiled with nvidia support:

    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual

    Music detection:
    * MPD
    * MOC

    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * Weather (METAR)
    * Weather (XOAP)
    * wireless
    * support for IBM/Lenovo notebooks
    * eve-online
    * config-output
    * Imlib2
    * ALSA mixer support
    * apcupsd
    * iostats
    * ncurses
    * Lua

    Lua bindings:


    Nevertheless, conky gets to display (most times) the NVIDIA info.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,643
    Blog Entries
    15

    Default Re: Conky and high CPU

    Quote Originally Posted by linuxfever
    Interestingly, it seems that it is not compiled with nvidia support:

    Nevertheless, conky gets to display (most times) the NVIDIA info.
    Hi
    It may pickup some info from the nvidia driver. You need the added
    support in conky and libXNVCtrl. You can download them both here;
    http://download.opensuse.org/reposit...openSUSE_11.3/

    I also build conkyforecast, and install them both manually.

    I'm about to update libXNVCtrl to the latest version, but the old
    version there is working fine with the latest driver.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.3 (x86_64) Kernel 2.6.34.7-0.4-default
    up 1 day 4:12, 2 users, load average: 0.14, 0.09, 0.09
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.12


  8. #8

    Default Re: Conky and high CPU

    Thank you malcolmlewis, I just added your repository and installed a package named conky-feature-nvidia, changed the vendor for conky to your repository and now conky has nvidia support. I will post back if the problem re-appears. Thanks everyone for your help!

Posting Permissions

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