You are not logged in.

#1 2013-05-20 08:11:52

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Conky issue

For the last year, up until the last update yesterday, I had this line in conkyrc:

NV:${color orange} ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°

and it extracted GPU temperature from this

  Attribute 'GPUCoreTemp' (panzor:0.0): 60.
    'GPUCoreTemp' is an integer attribute.
    'GPUCoreTemp' is a read-only attribute.
    'GPUCoreTemp' can use the following target types: X Screen, GPU.

of which the result was:

60°

However, since yesterday, the result is

6060°

and I have no idea why would it do it. The script looks to me as correct as ever.

Offline

#2 2013-05-20 08:27:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Conky issue

awk 'NR>1{exit};1' <(nvidia-settings -q gpucoretemp -t)

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-05-20 09:38:34

siriusb
Member
Registered: 2010-01-01
Posts: 424

Re: Conky issue

With nvidia driver I used:

${execi 30 nvidia-settings -t -q GPUCoreTemp} °C

Now with nouveau it's simpler:

${hwmon 0 temp 1}°C

Offline

#4 2013-05-20 10:30:31

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Re: Conky issue

@jasonwryan
I tried putting it into conkyrc in various ways, but it never returned any value, just text.

@siriusb,
I still get a double value, no matter what I put in. Maybe that's a problem with newest nvidia-settings?

Last edited by Lockheed (2013-05-20 10:50:59)

Offline

#5 2013-05-20 16:50:19

fordy
Member
Registered: 2013-05-20
Posts: 1

Re: Conky issue

Hello,

I had the same double output with the 319.17 driver.

I re installed conky with nvidia support from AUR then:-

GPU : ${nvidia temp}°C

... works for me after a reboot.

Also double output with NvidiaDriverVersion.
This works for me....

In .conkyrc :-

${execi 300 ~/.scripts/nvidia-version.sh}

In ~/.scripts/nvidia-version.sh..........

#!/bin/sh
nvidia-settings -q NvidiaDriverVersion -t | awk 'NR>1{exit};1'

Hope that helps - Fordy.


 Edit:  ~/home/newbie/error/corrected   

Last edited by fordy (2013-05-20 19:08:36)

Offline

#6 2013-05-20 18:01:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Conky issue

conky may run as sh, not bash. Try:

nvidia-settings -q gpucoretemp -t | awk 'NR>1{exit};1'

# edit: didn't read the above post. I blame the lack of code tags tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-05-22 09:05:27

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Re: Conky issue

${nvidia temp} and 'GPUCoreTemp' give slightly different temperatures. I wonder which one is more accurate.

Offline

Board footer

Powered by FluxBB