From which file (not terminal command) can I read onboard GeForce GPU temperature?
I need to read the temperature of my GPU right from a "file" (actually right from the "files" used to communicate directly with the hardware), not from a Terminal command. It's an onboard nvidia geforce go 6150. Where can I find the temperature? Couldn't find it on /sys/class/thermal/ because the structure seems confusing.
For the ones interested in more info:
I've installed lubuntu on a hp pavillion dv6000 (which suffers from the dreaded problem with the chipset, which heats so much it cracks the solder joints and needs to be re-soldered). For obvious reasons, I want to monitor the GPU temperature. On lubuntu there's LXpanel, which has a temperature measuring widget which works normally for the CPU, reading from /sys/class/thermal/thermal_zone0/temp (celsius, number such as 35000).
I've tried to make this widget read from Terminal commands such as "nvidia-smi -q -d TEMPERATURE" (properly filtered with grep); also tried "nvidia-settings -q [gpu:0]/GPUCoreTemp -t". Both commands output the temperature I want to know, but the widget just shows "NA". So, I guess the widget tries to read from a file, not taking commands as arguments.
Tried to look around /sys/class/thermal/ and found shortcuts for "cooling_device0", "cooling_device1" and the already mentioned "thermal_zone0". Dug a bit into each of them, but everything is totally confusing for me. Haven't found any other file suggestively named "temp".
Even thought about writing some sort of script to dump the temperature to a file, but it might be cpu-costly and this machine is already damn slow (that's why I installed lubuntu on it). After all, the info's already somewhere in there, I just gotta know where to find it.
Last edited by elias.alberto; 08-20-2012 at 07:10 AM.
|