Coder Social home page Coder Social logo

kelderek / gpu-fancurve Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mikejzx/gpu-fancurve

0.0 1.0 0.0 51 KB

Adjusts fan speeds based on a provided curve configuration relative to the GPU temperature.

License: GNU General Public License v3.0

Shell 35.32% C++ 62.58% Makefile 2.10%

gpu-fancurve's Introduction

gpu-fancurve (for NVIDIA cards)

This simple program adjusts an NVIDIA GPU's fan speed based on its temperature. A configuration file is used to define points in the fan speed curve.

Note that this program supports only a single GPU. Therefore the program will only adjust the fan speeds of the first GPU that it finds in the computer.

To customize the fan curve, copy gpu-fancurve.conf.example to gpu-fancurve.conf. Please ensure the temperatures in the curve points rise as it approaches the end of the file.

Run make install to setup the program in /usr/local/bin and set it to start automatically when you log in. If there is a gpu-fancurve.conf file in the same folder as the install.sh script then it will use that, otherwise you will be asked if you want to use the example config.

If you want to update the curve, make the changes in gpu-fancurve.conf and run make update_config

Manual execution

Prerequisites

The command below must be run, along with a reboot in order for the program to function:

sudo nvidia-xconfig -a --cool-bits=4 --allow-empty-initial-configuration

Config file

The configuration file is NOT created by the program, the user must create it manually.
The default path of this file is at ~/.config/gpu-fancurve.conf. An example configuration file is provided with the source code.

Arguments

  • -f, --config-path
    Specifies the location of the configuration path.
    By default the program checks `~/.config/gpu-fancurve.conf`. (See 'Config file' section above for more information.)
  • -v, --verbose
    Increase verbosity; i.e: show the temperature and fan speed as it changes.
  • -h, --help
    Displays help information.

gpu-fancurve's People

Contributors

kelderek avatar mikejzx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.