I simply wanted Conky to give me the temps and GPU % usage.
I could not find this information anywhere.
Upon digging deeply, I found that sensors could get me the temps and radeontop could get me the usage data for the GPU. Fortunately, I already had radeontop as I was using that for some checks here and there when I was running different benchmarks.
To get conky to show the GPU load, I used the following:
${execi 5 radeontop -d- -l1 | grep -o ‘gpu [0-9]{1,3}’ | cut -c 5-7 }%
To get the sensors data, I first ran the command sensors.
This gave me the following info:
amdgpu-pci-0c00
Adapter: PCI adapter
vddgfx: +0.95 V
fan1: 1662 RPM (min = 400 RPM, max = 3300 RPM)
temp1: +50.0°C (crit = +91.0°C, hyst = -273.1°C)
power1: 18.00 W (cap = 180.00 W)k10temp-pci-00c3
Adapter: PCI adapter
Tdie: +46.9°C (high = +70.0°C)
Tctl: +46.9°Casus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM
So now it’s a simple matter of grepping the results.
Here is the line I used for GPU temps:
${execi 60 sensors | grep temp1 | cut -c 16-19}°C
Here is the line I used for CPU temps:
${color6}${execi 60 sensors | grep Tdie: | cut -c 16-19}°C
Anyways, this seems to get me in the ballpark.
If there is a better way, or if you have suggestions, feel free to toss them here!
Hope this helps your conky enjoyment.