You are not logged in.

#1 2009-07-08 10:09:30

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

conky not working since update to 2.6.30

Hi,

I have a problem with conky and the 2.6.30 / 2.6.30.1 kernel versions.

Conky does not start. I tried it from a terminal and from the openbox autostart.sh file.
If i start conky from terminal I get this output and then nothing happens.

$ conky -c .config/conky/one-liner-candido
Conky: desktop window (11a) is root window
Conky: drawing to desktop window
Conky: drawing to double buffer

Sometimes, after some minutes (~10min) conky starts, the background turns black and conky freezes.
If I open a window then and move it around, the background image comes back at the areas I moved the window over.

I tried different conkyrc files but the same problem with all files.
I use the latest conky version and the free radeon driver. I tried to test it with the catalyst driver, but catalyst does not work at all on my system.

The system is up to date.
Downgrading to 2.6.29 solves the problem.

my conkyrc

#avoid flicker

double_buffer yes



#own window to run simultanious 2 or more conkys

own_window no

own_window_transparent true

#own_window_type desktop

own_window_type override

own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

own_window_colour 000000

maximum_width 1280

#borders

draw_borders no

border_margin 3



#shades

draw_shades no



#position

gap_x 0

gap_y 3

alignment top_left



#behaviour

update_interval 1



#colour

default_color  cecece

color1 efefef

#default_shade_color FFFFFF





#font

use_xft yes

xftfont dejavu sans:pixelsize=12

#xftfont terminus:pixelsize=14



#to prevent window from moving

use_spacer no

minimum_size 1280



#mpd

mpd_host localhost

mpd_port 6600



TEXT

${alignc}Uptime: ${color1}${uptime}${color}  |  Kernel: ${color1}${kernel}${color}  |  Cpu: ${color1}${cpu}%${color}  |  °C: ${color1}${acpitemp}${color}  |  MHz: ${color1}${freq}${color}  |  Mem: ${color1}${mem}${color}  |  Root: ${color1}${fs_free /}${color}  |  Home: ${color1}${fs_free /home}${color}  |  Up: ${color1}${upspeedf eth0}kb/s${color}  |  Down: ${color1}${downspeedf eth0}kb/s${color}  |  Akku: ${color1}${battery_percent}%${color}  |  AC: ${color1}${acpiacadapter}${color}

Last edited by SiD (2009-07-08 10:15:48)

Offline

#2 2009-07-10 16:24:44

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: conky not working since update to 2.6.30

Seems to be a acpi problem.
If I boot the kernel without acpi (acpi=off) conky works.

Searching for "conky" and "acpi" in /var/log/errors.log I found this:

Jul 10 18:13:33 acer01 kernel: INFO: task kacpi_notify:11 blocked for more than 120 seconds.
Jul 10 18:17:33 acer01 kernel: INFO: task conky:5745 blocked for more than 120 seconds.

any ideas?

p.s.
Booting without acpi is no option for me. wink

Offline

#3 2009-07-10 20:12:17

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: conky not working since update to 2.6.30

First of all:
http://wiki.archlinux.org/index.php/Conky
I think you've read this yet.

It's a nice big thread too in this matter maybe:
http://bbs.archlinux.org/viewtopic.php?pid=435474g thread too:

http://conky.sourceforge.net/variables.html

Offline

#4 2009-07-11 11:41:37

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: conky not working since update to 2.6.30

I've tried different conkyrc's already.

I think its a problem with the new kernel and acpi. With kernel versions < 2.6.30 and if I boot the 2.6.30 / 2.6.30.1 kernels with the option "acpi=off" conky works.

Offline

#5 2009-07-20 17:08:03

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: conky not working since update to 2.6.30

Ok, it's a problem with the sbs kernel module.

If I unload the sbs module conky works. But I need the module to read the status of the battery.

Is there any way to get conky working with the sbs module loaded?


This is the terminal output of conky started without the sbs module loaded.

Conky: desktop window (7a) is root window
Conky: drawing to desktop window
Conky: drawing to double buffer
Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
Conky: can't open /sys/class/power_supply/AC/uevent: No such file or directory

Last edited by SiD (2009-07-20 17:10:04)

Offline

#6 2009-07-29 18:00:52

uzi304
Member
From: New Jersey, USA
Registered: 2009-06-16
Posts: 29

Re: conky not working since update to 2.6.30

Having same problem, any help would be appreciated.

Offline

#7 2009-10-01 07:41:16

stalphonzo
Member
Registered: 2009-10-01
Posts: 8

Re: conky not working since update to 2.6.30

first find out which directory in /sys/class/power_supply points to your battery.
I don't know if it's the same for each system ( for me it is /sys/class/power_supply/C23B).
Then you write ${battery_percent "directory of you battery"} to your conkyrc, so for me ${battery_percent C23B} solved the Problem.

Hope this helps

Offline

Board footer

Powered by FluxBB