You are not logged in.
I want to get conky to display a "Current Clocks (core)" value of this command:
$ aticonfig --od-getclocks
Default Adapter - ATI Mobility Radeon HD 3650
Core (MHz) Memory (MHz)
Current Clocks : 110 405
Current Peak : 600 700
Configurable Peak Range : [300-600] [700-700]
GPU load : 0%Ideally, I would also like to have it show Current Memory, but because of the layout of the output, I have no idea how do do it.
I tried something like that:
${color pueple}${execi 60 aticonfig --od-getclocks | perl -ne 'print $1 if /Current*?: (\d+)./;'} MHz$voffsetbut it displays nothing.
Last edited by Lockheed (2013-08-13 09:38:17)
Offline
what is colour "pueple"?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Does this command in a terminal correctly display what you'd like to see in conky?
aticonfig --od-getclocks | perl -ne 'print $1 if /Current*?: (\d+)./;'If it does not, that's where I'd start -- construct the correct command and only then try adding it to conky.
There are all kinds of ways to parse that output to get the values you want, including the memory. There are also other ways to get the GPU frequency. What is the output of
cat /sys/kernel/debug/dri/0/radeon_pm_infoLast edited by 2ManyDogs (2013-08-10 21:17:21)
Offline
what is colour "pueple"?
Good point. But apparently Conky can't spell either because it displays the value in purple...
Does this command in a terminal correctly display what you'd like to see in conky?
aticonfig --od-getclocks | perl -ne 'print $1 if /Current*?: (\d+)./;'If it does not, that's where I'd start -- construct the correct command and only then try adding it to conky.
It doesn't. But that's the best I could come up with. I don't know how this works so I tried copying my old nvidia setup.
There are all kinds of ways to parse that output to get the values you want, including the memory. There are also other ways to get the GPU frequency. What is the output of
cat /sys/kernel/debug/dri/0/radeon_pm_info
Directory /sys/kernel/debug/dri/ contains no files no subfolders.
Last edited by Lockheed (2013-08-10 21:35:45)
Offline
When the command does not give you the output that you want from the command line, how do you expect it to work when run through conky?
Offline
It might help someone in the future.: I got it to work with
${execi 60 aticonfig --odgc | grep 'Current Clocks :' | cut -c32-34}Offline
One pipe:
blah | awk '/Clocks/ {print $4}'Offline
@jasonwryan, is your method somehow less tasking on the system (I/O frequency, or whatever)?
Offline
Each time you pipe it, you are essentially pushing the stdout to a whole new program. So by only using awk, it is just once less process for every time this little snippet of code runs.
Offline
Very useful, thanks.
Offline