Adjust the Fan Speed on Your NVidia Graphics Card
If you've got an NVidia graphics card and it has a fan that sounds like a jet engine, or, if as in my case your fan starts at full speed when the computer boots but then turns off after 20 seconds or so, you need nvclock.
After installing a new XFX GeForce 9800 GT video card last week I was met with a rather loud and annoying fan, but shortly there after the fan noise stopped, which is to say the fan stopped. After a cursory examination of the video card itself and a bit of head scratching I came to the conclusion that the fan was working fine and this had to be a software problem.
After a bit of web searching I stumbled upon nvclock, a utility that allows you to overclock your NVidia graphics cards (if you're into that sort of stuff) and also allows you to adjust the fan speed.
I'd suggest you get the version from CVS, particularily if you have a newer NVidia card (the release version didn't recognize my card but the CVS version did):
$ cvs -d:pserver:email@example.com:/cvsroot/nvclock login $ cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/nvclock co -P nvclock
Then do the standard dance:
$ cd nvclock $ ./configure $ make $ make install
Now check to see if nvclock recognizes your card:
$ nvclock --info
My card produces this output:
-- General info -- Card: nVidia Geforce 9800GT Architecture: G92 A2 PCI id: 0x614 GPU clock: 601.712 MHz Bustype: PCI-Express -- Shader info -- Clock: 1512.000 MHz Stream units: 112 (1b) ROP units: 16 (1b) -- Memory info -- Amount: 512 MB Type: 128 bit DDR3 Clock: 899.996 MHz -- PCI-Express info -- Current Rate: 16X Maximum rate: 16X -- Sensor info -- Sensor: Analog Devices ADT7473 Board temperature: 46C GPU temperature: 55C Fanspeed: 1195 RPM Fanspeed mode: auto PWM duty cycle: 40.0% -- VideoBios information -- Version: 62.92.52.00.07 Signon message: GeForce 9800 GT VGA BIOS Performance level 0: gpu 600MHz/shader 1500MHz/memory 900MHz/0.00V/100% VID mask: 3 Voltage level 0: 0.95V, VID: 0 Voltage level 1: 1.00V, VID: 1 Voltage level 2: 1.05V, VID: 2 Voltage level 3: 1.10V, VID: 3
Now you can adjust the fan speed:
$ nvclock --fanspeed 40
Note: The argument to --fanspeed is the PWM percentage which is not the same as the percent of fanspeed. Adjust the fan speed to a noise level you can live with that also doesn't let your video card get too hot.
If nvclock doesn't recognize your video card you can try the --force option. Use this option at your own risk.
Mitch Frazier is an Associate Editor for Linux Journal.
Practical books for the most technical people on the planet. Newly available books include:
- Agile Product Development by Ted Schmidt
- Improve Business Processes with an Enterprise Job Scheduler by Mike Diehl
- Finding Your Way: Mapping Your Network to Improve Manageability by Bill Childers
- DIY Commerce Site by Reven Lerner
Plus many more.
- diff -u: What's New in Kernel Development
- What's New in 3D Printing, Part III: the Software
- Giving Silos Their Due
- Server Hardening
- February 2016 Issue of Linux Journal
- Controversy at the Linux Foundation
- 22 Years of Linux Journal on One DVD - Now Available
- Don't Burn Your Android Yet
- New Products