Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-31-05, 09:41 PM   #1
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default NVidia Thermal Monitor (Applet?)

Is it possible to monitor the temperature of an NVidia card with the temp probe enabled such as the 6800GT via a gnome/nautilus applet? Is nvidia-settings the only executable that would give me such readings?
evilghost is offline   Reply With Quote
Old 08-01-05, 12:30 AM   #2
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default Re: NVidia Thermal Monitor (Applet?)

Try
Code:
nvidia-settings -q GPUCoreTemp -q GPUAmbientTemp | grep -v "is a"
and extend.
whig is offline   Reply With Quote
Old 08-01-05, 06:14 AM   #3
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: NVidia Thermal Monitor (Applet?)

Another option is to use NVClock for hardware monitoring (the cvs version), it also supports fanspeed adjustments on cards that support it and it supports some cards which are not supported by nvidia-settings.
Thunderbird is offline   Reply With Quote
Old 08-01-05, 08:28 AM   #4
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: NVidia Thermal Monitor (Applet?)

Thanks guys for the info.
evilghost is offline   Reply With Quote
Old 08-01-05, 08:54 PM   #5
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: NVidia Thermal Monitor (Applet?)

I'm a VB/PHP/ASP guy with some light bash/PERL, so programming isn't foreign to me. I can tell you I know this isn't the best way to do things at all, but consider this "pseudo-code" as a POC of what I want to do.

I want a Gnome applet to output the same results, without the constant disk I/O and gross inefficiencies of calling the same program over and over to take a temp reading piped to stdout. Does such an application already pre-exist? Is there an "SDK" (That's the Win32 in me) that would allow me to tap such a low-level resource, or am I looking at some goofy (read as, over my head, I'm only a higher-language guy) polling?

Code:
luser@400sc:~$ cat temp.sh
#!/bin/bash
clear
nvidia-settings -q GPUCoreTemp|grep Att|awk '{print "Core: " $4*9/5+32 " F"}'
sleep 1
sh ./temp.sh
luser@400sc:~$
evilghost is offline   Reply With Quote
Old 08-02-05, 09:56 AM   #6
arokh
Registered User
 
arokh's Avatar
 
Join Date: Jun 2004
Posts: 287
Default Re: NVidia Thermal Monitor (Applet?)

There's a library I think, that comes with the sources of nvidia-settings. The tarball should be on nvidia's FTP I believe, it was also posted on this forum a couple of weeks ago.
__________________
Asus A8N32-SLI : AMD64 3700+ @ 2.85GHz : 2GB PC4000 OCZ Platinum EB : 2x 7800GT SLI
arokh is offline   Reply With Quote
Old 08-02-05, 10:00 AM   #7
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: NVidia Thermal Monitor (Applet?)

Yeah, I just thought about that before I read your post, I remember seeing some changes to nvidia-settings allowing Coolbits settings to be remembered, before 7667 (I think) where you could adjust them via the command-line.

If I come up with anything decent, I'll be sure to publish it for download.
evilghost is offline   Reply With Quote
Old 08-02-05, 01:43 PM   #8
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: NVidia Thermal Monitor (Applet?)

Also take a look at this :
http://gdesklets.gnomedesktop.org/ca...&gd_app_id=196
Lithorus is offline   Reply With Quote

Old 08-02-05, 04:11 PM   #9
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: NVidia Thermal Monitor (Applet?)

Quote:
Originally Posted by Lithorus
Thanks, I looked at the python code and it's calling nvidia-settings as well as nvclock, so it's just as inefficient as my bash code because it's still calling external binaries instead of polling the card using APIs.
evilghost is offline   Reply With Quote
Old 08-02-05, 04:54 PM   #10
arokh
Registered User
 
arokh's Avatar
 
Join Date: Jun 2004
Posts: 287
Default Re: NVidia Thermal Monitor (Applet?)

You don't need to start from scratch, http://sensors-applet.sourceforge.net/ is exactly what you want, create a patch for that.

If you can do this I love you
__________________
Asus A8N32-SLI : AMD64 3700+ @ 2.85GHz : 2GB PC4000 OCZ Platinum EB : 2x 7800GT SLI
arokh is offline   Reply With Quote
Old 08-03-05, 12:51 AM   #11
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: NVidia Thermal Monitor (Applet?)

The source for the `nvidia-settings` application is available from: ftp://download.nvidia.com/XFree86/nvidia-settings/. This package also includes information about the NVIDIA NV-CONTROL extension and how to interface with it (documentation and example code).
zander is offline   Reply With Quote
Old 08-03-05, 09:04 AM   #12
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: NVidia Thermal Monitor (Applet?)

Thanks Zander, I actually grabbed the source earlier and had looked through it. Only issue is I lack even the most basic form of proficiency with C, or coding for a GTK application. While I am good at PHP and the language constructs are similiar, this isn't enough for me

Anyone who would like to take this and run with it, please do so. There is a legitimate demand for such a solution, just look at the number of reads on this topic.

As I have free time, I will continue to muddle with the C code, but an application of this complexity (or at least, perceived complexity) is most likely going to be out of my grasp due to inexperience with C.

If someone can jump in and deliver a solution, in both Celsius and Fahrenheit, I will gladly sing your praises.
evilghost is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Rumor regarding lack of 680 availability ViN86 Rumor Mill 6 05-09-12 04:48 PM
ATI R300 & nVidia NV30 - Different visions Uttar Rumor Mill 6 09-06-02 11:19 AM
rh7.3 and nvidia vcrispo NVIDIA Linux 11 07-31-02 08:57 PM

All times are GMT -5. The time now is 11:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.