Conky: Floating mode in bspwm causes high CPU usage

Created on 26 Oct 2017  路  7Comments  路  Source: brndnmtthws/conky

Good day.

I'm running the default config except for own_window_type = 'normal' and font = 'Fira Mono:size=13'.

If I launch the Conky in the tiling mode, everything is normal (90% of the time at least), but if I make the window floating or even simply move the tile, the cpu load skyrockets to 20-22% and stays there. Launching in the floating mode yields the same high load.

Here's the conky -v:

conky 1.10.6_pre compiled Sat Dec 10 05:22:59 UTC 2016 for Linux 4.2.5_1 x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window

 Music detection:
  * MPD
  * MOC

 Default values:
  * Netdevice: eth0
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 64
  * Maximum text size: 16384
  * Size text buffer: 256

Distribution is Void Linux with musl if that helps.

What may be the problem here?

Conky started in tiling mode
Conky moved in tiling mode
Conky started in floating mode

bug cpu major

All 7 comments

I can confirm this issue with bspwm on Arch linux.

Floating mode causes high cpu usage. Not sure if it is a bspwm issue or a conky one.

10 months passed. Can you determine if you're still having this problem today on 1.10.9 or preferably 1.10.10_pre (git)? The older versions are not trustworthy due to too many changes that can be hard to track. Thank you.

I'll check, but isn't the latest release still 1.10.8?

git clone https://github.com/brndnmtthws/conky
cd conky
mkdir -p build
cd build
cmake ..
make -j4 # 4 cores to run in parallel
src/conky -c myconf.conf # <-- your config goes here

Thanks for the detailed instructions! Though I'm still curious about the version 1.10.9. There seems to be no corresponding tag on GitHub or am I missing something?

And yes, unfortunately, the bug is still there for me.
Here's a free floating "default" window:
Default window
And fixed "dock" variant:
Dock

EDIT: Changed the second picture to be from the same git version.

Yes the current released version is 1.10.8 - git under development version is 1.10.9_pre

bswpm with conky's own_window_type = 'normal'... which is killed later.

2018-09-06-083717_900x601_scrot copy

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akorop picture akorop  路  3Comments

Microcrap picture Microcrap  路  4Comments

LeoIannacone picture LeoIannacone  路  3Comments

nwwt picture nwwt  路  5Comments

Microcrap picture Microcrap  路  4Comments