Coder Social home page Coder Social logo

vandabbin / nvidia-fan-control-linux Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 8.0 203 KB

Fan Curve Control Script for Nvidia GPUs on Linux

License: GNU General Public License v3.0

Shell 96.59% Makefile 3.41%
nvidia-gpu fan-curve linux cron shell-script bash nvidia fan-control

nvidia-fan-control-linux's Issues

Question: update frequency

Hi, this is a question, not an issue.

I would like to control the fan curve of my GPU used for deep learning, and your script looks great for that, but I think the default update of once in 30 seconds would not be enough. Is there any downside to setting it to 1 sec? What I mean do you know if there is a big overhead in querying GPU temperature so frequently?

Thanks in advance
Alex

Error resolving target specification '' (No targets match target specification), specified in query 'GPUCurrentFanSpeedRPM'

When running fan-control info I get the following error:

ERROR: Error resolving target specification '' (No targets match target
specification), specified in query 'GPUCurrentFanSpeedRPM'.

and the info given is the following. Changin of the
| Card | | Fan Speed | | Fan RPM | | GPU Temp |
0: GeForce GTX 1060 [Not% 46 °

My 10-nvidia.conf file contains the following

Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "Coolbits" "31"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia-418/xorg"
EndSection

What minimal requirement for CLI interface? (No GUI)

Hm, how to be, if i not have GUI?

nvidia-settings

ERROR: libgtk-3.so.0: cannot open shared object file: No such file or directory
       libnvidia-gtk3.so: cannot open shared object file: No such file or directory
       libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
       libnvidia-gtk2.so: cannot open shared object file: No such file or directory


ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this library when calling nvidia-settings. Please run
       `nvidia-settings --help` for usage information.

What minimum packet must install to use fancontrol without GUI?

GNU/Linux Debian - XFCE4 GUI - Modification needed

Hello,

First of all, i would like to say how your script is really well thought. However, on GNU/Linux Debian running XFCE4 (Lightdm), a little modification of your bash file was required in order to avoid the following error message:

/usr/local/bin/nvidia-fan-control.sh info
No protocol specified
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help`
       for usage information.

Under the following lines:

# Export Display (For Headless Use)                                      {{{1
export DISPLAY=':0'

I had to add:

export XAUTHORITY='/var/run/lightdm/root/:0'

Happy holidays to you and all your family and keep it up the great job <3

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.