Page 2 of 2

Re: Custom conky edit

Posted: Sun Dec 04, 2022 2:02 am
by Helen-Earth
You need to edit this line.
To fix your gpu 16 cores = ${font}Core 16 ${color3}${execi 4 sensors 2>/dev/null | grep 'Core 16' | cut -c18-24} ${color2} ${cpubar 7,83 cpu16}${color}${goto 150}${font}AMDGPU ${color3}${execi 4 sensors 2>/dev/null | grep 'AMDGPU' | cut -c18-24} ${color3}${cpubar amdgpu}${color}

[ Remember 0 is the first core not 1 ]

Fixed =

Code: Select all

${font}Core 15${color3}${execi 4 sensors 2>/dev/null | grep 'Core 15' | cut -c18-24} ${color2} ${cpubar 7,83 cpu15}${color}${goto 150}${font}Core 15 ${color3}${execi 4 sensors 2>/dev/null | grep 'Core 15' | cut -c18-24} ${color2} ${cpubar cpu15}${color}


As you see from below my fans woulds be set too.

Code: Select all

 ${hwmon 0 fan 1} rpm ${hwmon 0 fan 2} rpm
To find out which hwmon your fans are working from run this command from prompt. = for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done



for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done

Code: Select all

/sys/class/hwmon/hwmon0 = asuswmisensors     <<<<< my fans are on hwmon 0
/sys/class/hwmon/hwmon1 = asus
/sys/class/hwmon/hwmon2 = k10temp
/sys/class/hwmon/hwmon3 = amdgpu

10 files = 328K ~ >$sensors

Code: Select all

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +39.0°C
Tdie:         +39.0°C
Tccd1:        +38.8°C

Code: Select all

asuswmisensors-isa-0000    <<<<<<  from the list above you can see = asuswmisensors is hwmon0
Adapter: ISA adapter
CPU Core Voltage:        959.00 mV
VPP MEM Voltage:           2.50 V
+12V Voltage:             10.19 V
+5V Voltage:               4.99 V
3VSB Voltage:              3.31 V
VBAT Voltage:              3.23 V
AVCC3 Voltage:             3.36 V
SB 1.05V Voltage:          1.07 V
CPU Core Voltage:        480.00 mV
CPU SOC Voltage:           1.05 V
CPU Fan:                  904 RPM     <<<<< fan 1
Chassis Fan 1:            693 RPM   <<<< fan 2
AIO Pump:                   0 RPM
CPU OPT:                    0 RPM
CPU Temperature:          +39.0°C
CPU Socket Temperature:   +39.0°C
Motherboard Temperature:  +39.0°C
Chipset Temperature:      +55.0°C
Tsensor 1 Temperature:   +216.0°C
CPU VRM Temperature:      +40.0°C
CPU VRM Output Current:  1000.00 mA

Code: Select all

amdgpu-pci-0800
Adapter: PCI adapter
vddgfx:      775.00 mV
fan1:           0 RPM  (min =    0 RPM, max = 3200 RPM)
edge:         +43.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +43.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +44.0°C  (crit = +105.0°C, hyst = -273.1°C)
                       (emerg = +110.0°C)
power1:        7.00 W  (cap = 135.00 W)
Hope this helps.

Re: Custom conky edit

Posted: Sun Dec 04, 2022 3:40 am
by Eadwine Rose
Can you please wrap code in code tags.. like so:

[code]stuffgoeshere[/code]

(ignore the bolding)


When in the preview screen in the row of buttons, there is </> next to the quotes. Select all the code and press that button.

Re: Custom conky edit

Posted: Sun Dec 04, 2022 9:19 am
by ph3arr3t
@Eadwine Rose sorry about that, still figuring out the correct formatting for the forums, that request is easy enough.
for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done shows the following:
{code}
/sys/class/hwmon/hwmon0 = acpitz
/sys/class/hwmon/hwmon1 = BAT0
/sys/class/hwmon/hwmon2 = nvme
/sys/class/hwmon/hwmon3 = nvme
/sys/class/hwmon/hwmon4 = amdgpu
/sys/class/hwmon/hwmon5 = k10temp
/sys/class/hwmon/hwmon6 = ADP0
/sys/class/hwmon/hwmon7 = asus
/sys/class/hwmon/hwmon8 = asus_custom_fan_curve
/sys/class/hwmon/hwmon9 = ucsi_source_psy_USBC000:001
[/code]
So am I correct that hwmon8 is the speed adjustment controller ?

Re: Custom conky edit

Posted: Sun Dec 04, 2022 9:24 am
by Eadwine Rose
[ ] around code and /code , not { }

Re: Custom conky edit

Posted: Sun Dec 04, 2022 9:48 am
by Helen-Earth
ph3arr3t wrote: Sun Dec 04, 2022 9:19 am

Code: Select all

for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done shows the following:
/sys/class/hwmon/hwmon0 = acpitz
/sys/class/hwmon/hwmon1 = BAT0
/sys/class/hwmon/hwmon2 = nvme
/sys/class/hwmon/hwmon3 = nvme
/sys/class/hwmon/hwmon4 = amdgpu
/sys/class/hwmon/hwmon5 = k10temp
/sys/class/hwmon/hwmon6 = ADP0
/sys/class/hwmon/hwmon7 = asus
/sys/class/hwmon/hwmon8 = asus_custom_fan_curve
/sys/class/hwmon/hwmon9 = ucsi_source_psy_USBC000:001
So am I correct that hwmon8 is the speed adjustment controller ?
What you can do now is run sensors.
All you have to do is try each one 7 or 8 conky will change in real time. You won't brake anything.

Code: Select all

for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done

/sys/class/hwmon/hwmon0 = nvme
/sys/class/hwmon/hwmon1 = amdgpu
/sys/class/hwmon/hwmon2 = k10temp
/sys/class/hwmon/hwmon3 = asus
/sys/class/hwmon/hwmon4 = asus_wmi_sensors  <<<<<<<<<<<  hwmon4 

Code: Select all

sensors
asus_wmi_sensors-virtual-0        <<<<<<<<<<<<<<<< asus_wmi_sensors  hwmon4
Adapter: Virtual device
CPU Core Voltage:        916.00 mV 
VPP MEM Voltage:           2.48 V  
+12V Voltage:             10.14 V  
+5V Voltage:               4.96 V  
3VSB Voltage:              3.31 V  
VBAT Voltage:              3.23 V  
AVCC3 Voltage:             3.33 V  
SB 1.05V Voltage:          1.07 V  
CPU Core Voltage:        619.00 mV 
CPU SOC Voltage:           1.05 V  
CPU Fan:                 1068 RPM   <<<<<
Chassis Fan 1:            715 RPM <<<<<
AIO Pump:                   0 RPM
CPU OPT:                    0 RPM
CPU Temperature:          +44.0°C  
CPU Socket Temperature:   +42.0°C  
Motherboard Temperature:  +43.0°C  
Chipset Temperature:      +59.0°C  
Tsensor 1 Temperature:   +216.0°C  
CPU VRM Temperature:      +42.0°C  
CPU VRM Output Current:    2.00 A 

Re: Custom conky edit

Posted: Sun Dec 04, 2022 10:13 am
by ph3arr3t
@Helen-Earth the AMDGPU line is there as somewhat a residual line, not sure if it's correct though.
the original conky had only a few core lines so when I started incrementally mapping the cores line 0-16 I tried 17,18. There is no 18 but there is a 17 so I think it's the iGPU on the CPU.
I am still curious (and hopeful) there is a way to correctly show the 8 cores and iGPU and not the threads, as in something like

Code: Select all

 core 0 = ((thread0)+(thread1)/2) 
to display something like the average load of both in 1 bar, so then I have 9 bars, 8 Cores and 1 iGPU instead of the current 18.
And is there a way to add the nvidia gpu temp ?
here's what current conky looks like;
Image