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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-14-07, 04:59 PM   #13
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Fan control in Linux

vger nvclock0.8b3 # make
make -C src all
make[1]: Entering directory `/zipfiles/linux/nvclock/nvclock0.8b3/src'
make[2]: Entering directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/backend'
Makefile:5: *** missing separator. Stop.
make[2]: Leaving directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/backend'
make[2]: Entering directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/nvcontrol'
gcc -INONE -I../backend -c -o libnvcontrol.o libnvcontrol.c
gcc -INONE -I../backend -c -o nvcontrol.o nvcontrol.c
nvcontrol.c:5: error: expected identifier or '(' before '<' token
nvcontrol.c:9: error: stray '@' in program
nvcontrol.c:738:1: warning: character constant too long for its type
nvcontrol.c:744: error: expected identifier or '(' before '<' token
nvcontrol.c:778: error: expected identifier or '(' before '<' token
nvcontrol.c:816:55: error: too many decimal points in number
make[2]: *** [nvcontrol.o] Error 1
make[2]: Leaving directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/nvcontrol'
make[2]: Entering directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/gtk'
make[2]: *** No rule to make target `../nvcontrol/libnvcontrol.a', needed by `nvclock_gtk'. Stop.
make[2]: Leaving directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/gtk'
make[2]: Entering directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/qt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/zipfiles/linux/nvclock/nvclock0.8b3/src/qt'
make[1]: *** No rule to make target `nvcontrol/libnvcontrol.a', needed by `nvclock'. Stop.
make[1]: Leaving directory `/zipfiles/linux/nvclock/nvclock0.8b3/src'
make: *** [all] Error 2
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline   Reply With Quote
Old 05-14-07, 05:05 PM   #14
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control in Linux

It seems that you don't have X development headers installed and that's why it fails to compile. You could either install those headers (and then rerun the configure script) or you could skip the X headers by doing: ./configure --disable-nvcontrol but you'd lose some functionality.
Thunderbird is offline   Reply With Quote
Old 05-14-07, 05:22 PM   #15
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Fan control in Linux

Quote:
Originally Posted by Thunderbird
It seems that you don't have X development headers installed and that's why it fails to compile. You could either install those headers (and then rerun the configure script) or you could skip the X headers by doing: ./configure --disable-nvcontrol but you'd lose some functionality.
i actually wasn't able to download it using the commands you gave me
so i tried downloading the files individually.....LOL

i probably missed something though
is there a possibility you could email me the package PLEASE
jupiter2k5@gmail.com
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline   Reply With Quote
Old 05-14-07, 10:41 PM   #16
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Fan control in Linux

ok i figured out how to download and

it works

thank you very much
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline   Reply With Quote
Old 05-15-07, 12:58 AM   #17
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Fan control in Linux

now that i have this setup and it WORKS GREAT

i have been trying to figure out how to read GPU temp, Board Temp
and Fan Speed,,, so that i can modify my SuperKaramba theme

a long time ago i used this command in my theme to read temp
but it no longer works
Quote:
nvclock -i 2>/dev/null | grep temperature
with nvidia-settings i can use this and it works
Quote:
nvidia-settings -q gpucoretemp |grep '):' | awk '{print $4}'
but i am wondering if there is similar commands i can use
with nvclock to get individually the GPU temp, Board Temp
and Current FanSpeed

I also wanted to let you know of a seg fault
Quote:
vger nvclock # nvclock -i
-- General info --
Card: nVidia Geforce 8800GTX
Architecture: NV50 A2
PCI id: 0x191
GPU clock: 621.000 MHz
Bustype: PCI

-- Shader info --
Clock: 1458.000 MHz
Segmentation fault
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline   Reply With Quote
Old 05-15-07, 04:03 AM   #18
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control in Linux

Hmm, interesting. I'll try to investigate this bug. It is the reason you don't see temperature info using -i. Note that you can also get temperature info using -T.
Thunderbird is offline   Reply With Quote
Old 05-15-07, 09:59 AM   #19
ssross
Registered User
 
Join Date: Dec 2002
Posts: 9
Default Re: Fan control in Linux

@Thunderbird, That bug was due to a printf format problem in nvclock.c around lines 1244 and 1246.
Code:
printf("Stream units: %d (%sb)\n", stream_units);
printf("ROP units: %d (%sb)\n", rop_units);
Both ask for 2 parameters, but get 1. Sorry, I fixed it, got busy, and forgot to report it.

just get rid of the second %s or add a string for it to print and it works.

enjoy
scott
ssross is offline   Reply With Quote
Old 05-15-07, 11:43 AM   #20
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control in Linux

This was indeed the issue. By accident one of my recent CVS commits undid some changes (the second parameter to that printf got removed). It is fixed in cvs.
Thunderbird is offline   Reply With Quote

Old 05-15-07, 04:44 PM   #21
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Fan control in Linux

First I would like to thank you for the fine work you do.
I now have a good working nvclock for my 8800GTX. Because
I am in a none air conditioned home office "garage office",
monitoring my temps is very important to me as well as
keeping things as cool as possible. With nvclock I am now
able to control fan speed and keep an eye on my temp. I do
see a +5c difference in temp from nvidia-settings and winxp
reading. I thought I would let you know.

Anyway, to show you how things worked out, here is some info.
Quote:
zero@vger ~ $ nvclock -i
-- General info --
Card: nVidia Geforce 8800GTX
Architecture: NV50 A2
PCI id: 0x191
GPU clock: 621.000 MHz
Bustype: PCI

-- Shader info --
Clock: 1458.000 MHz
Stream units: 128 (11111111b)
ROP units: 24 (111111b)
-- Memory info --
Amount: 768 MB
Type: 384 bit DDR3
Clock: 999.000 MHz

-- Sensor info --
Sensor: Analog Devices ADT7473
Board temperature: 46C
GPU temperature: 61C
Fanspeed: 2769 RPM
Fanspeed mode: auto
PWM duty cycle: 100.0%

-- VideoBios information --
Version: 60.80.0e.00.15
Signon message: GeForce 8800 GTX VGA BIOS
VID mask: 3
Voltage level 0: 1.10V, VID: 0
Voltage level 1: 1.20V, VID: 1
Voltage level 2: 1.30V, VID: 2
Quote:
zero@vger ~ $ nvclock -T
nVidia Geforce 8800GTX
=> GPU temperature: 60C
=> Board temperature: 46C
Quote:
zero@vger ~ $ nvclock -f -F 100
Current fanspeed: 2766 RPM
PWM duty cycle: 100.0%
Changing duty cycle from 100.0 to 100.0
Fanspeed: 2766 RPM
i'm not a dev so excuse my hacky commands to extract
just the info i need for my Superkaramba theme
Quote:
zero@vger ~ $ nvclock -T | grep GPU | awk '{print $4}'
61C
Quote:
zero@vger ~ $ nvclock -T | grep Board | awk '{print $4}'
46C
Quote:
zero@vger ~ $ nvclock -i | grep 'Fanspeed:' | sed -e 's/.*: //'
2764 RPM
and here is a screenshot of the result "top right hand corner"
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx 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
9800 GTX and Fan Speed Control HarryMan NVIDIA Linux 0 05-26-12 12:50 AM
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 01:52 PM
Mandrake Linux 9.0 (Dolphin) now available | comments? volt General Linux 10 10-19-02 11:13 PM
Motherboard temperature control under Linux? Klaus-P NVIDIA Linux 2 09-02-02 03:53 AM
Gamma control under linux ia64user NVIDIA Linux 2 08-28-02 04:23 PM

All times are GMT -5. The time now is 02:26 AM.


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