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/repositories/openSUSE:/11.3:/Contrib/standard]Index%20of%20/repositories/openSUSE:/11.3:/Contrib/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.

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…

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.

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;


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

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.

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!

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/repositories/home:/malcolmlewis:/Python/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