Package Details: nvfancontrol 0.5.1-2

Git Clone URL: https://aur.archlinux.org/nvfancontrol.git (read-only, click to copy)
Package Base: nvfancontrol
Description: NVidia dynamic fan control
Upstream URL: https://github.com/foucault/nvfancontrol
Keywords: nvidia system
Licenses: GPL3
Submitter: Foucault
Maintainer: Foucault
Last Packager: Foucault
Votes: 9
Popularity: 0.000000
First Submitted: 2017-07-01 19:11 (UTC)
Last Updated: 2021-06-22 21:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Foucault commented on 2018-07-05 01:51 (UTC)

Have you enabled Coolbits ?

Cavsfan commented on 2018-07-04 18:58 (UTC) (edited on 2018-07-04 21:55 (UTC) by Cavsfan)

I got it, just didn't save it as ~/.config/systemd/user/nvfancontrol.service

Then it started just fine but, I am getting this error:

Jul 04 17:47:11 ArchLinux nvfancontrol[32423]: INFO - NVIDIA driver version: 396.24

Jul 04 17:47:11 ArchLinux nvfancontrol[32423]: INFO - NVIDIA graphics adapter #1: GeForce GTX 980 Ti

Jul 04 17:47:11 ArchLinux nvfancontrol[32423]: ERROR - Could not update fan speed: XNVCtrl QueryAttr(COOLER_MANUAL_CONTROL) failed; error 0

Jul 04 17:47:13 ArchLinux nvfancontrol[32423]: ERROR - Could not update fan speed: XNVCtrl QueryAttr(COOLER_MANUAL_CONTROL) failed; error 0

Jul 04 17:47:15 ArchLinux nvfancontrol[32423]: ERROR - Could not update fan speed: XNVCtrl QueryAttr(COOLER_MANUAL_CONTROL) failed; error 0

I probably do not have a driver component installed?

Foucault commented on 2018-07-04 02:04 (UTC) (edited on 2018-07-04 02:05 (UTC) by Foucault)

Add it to your ~/.config/systemd/user and check if it's working with

systemctl --user start nvfancontrol

and

systemctl --user status nvfancontrol

If the service is running properly you can permanently enable it upon login with

systemctl --user enable nvfancontrol

More details on systemd user units here

Cavsfan commented on 2018-07-03 23:24 (UTC)

Sorry for posting here but, is there a wiki for installing this? I've installed it and have a Nvidia Geforce 980 ti and need the fans of course. I just do not how to get it to work. I copied the systemd file into /.config/systemd/user but do not know how to enable it. Thank you in advance!

Foucault commented on 2018-02-11 21:25 (UTC) (edited on 2018-07-04 02:03 (UTC) by Foucault)

You made it start upon login not upon boot. You could have similarly created a systemd user unit and place it in /home/YOURUSERNAME/.config/systemd/user. Then you could enable it with systemctl --user enable nvfancontrol.service. Here is a minimal systemd unit to do so

[Unit]
Description="NVIDIA Dynamic fan control"
After=graphical.target

[Service]
Type=simple
ExecStart=/path/to/nvfancontrol

[Install]
WantedBy=default.target

Stillrotten commented on 2018-02-07 03:32 (UTC)

No concerns here, just wanted to say thanks a ton for making a simple, easy to use, and effective program. Using this with my Gigabyte GTX 1060 and it's working absolutely flawlessly. Cheers and thanks again.

Foucault commented on 2018-02-02 01:13 (UTC)

This is more complicated than it sounds. It is impossible to use xnvctrl (the library that controls the GPU) without an X server. So at the very least the program must be run after the graphics environment has been brought up. So graphical.target should be a better candidate instead of multi-user.target. If you run nvfancontrol as root after graphical.target it might work. However once you log in your desktop the display will probably re-initialised or a new one will be set up (for example GDM does that; if you check $DISPLAY you'll see that is :1 rather than :0). In any case nvfancontrol will be killed once this happen and you will have to start it again. This is an inherent limitation of the way the NVIDIA driver works. There is a hacky way [0] to fake a GPU context however it still involves spinning up an X server so again similar limitations apply. I'm wondering if it is possible to have a different X server always running (etc. in :50) and bind nvfancontrol there but I haven't tested that yet. It might or it might not work.

[0] https://sites.google.com/site/akohlmey/random-hacks/nvidia-gpu-coolness#TOC-Faking-a-Head-for-a-Headless-X-Server