foucault / nvfancontrol

NVidia dynamic fan control for Linux and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR - Could not update fan speed

midwire opened this issue · comments

First, thanks for doing this! My GPU fans make a weird croaking/bullfrog sound (one in particular) as it stops and then restarts every few seconds. It is super annoying and I'm hoping your project will help me fix that.

I've followed the README except for running X11 as root. Since my driver version is 460.73.01 I was hoping to avoid doing that. Unfortunately it seems that may be the reason I get the error. Here's my output:

➤ ./nvfancontrol -d
WARN - No config file found; using default curve
DEBUG - Default configuration loaded
DEBUG - [[gpu]]
id = 0
enabled = true
points = [[41, 20], [49, 30], [57, 45], [66, 55], [75, 63], [78, 72], [80, 80]]
DEBUG - Curve points: [(41, 20), (49, 30), (57, 45), (66, 55), (75, 63), (78, 72), (80, 80)]
INFO - NVIDIA driver version: 460.73.01
INFO - NVIDIA graphics adapter #0: GeForce RTX 3070
INFO -   GPU #0 coolers: COOLER-1, COOLER-0
ERROR - Could not update fan speed: XNVCtrl QueryAttr(COOLER_MANUAL_CONTROL) failed; error 0
DEBUG - Temp: 57; Speed: [211, 329] RPM ([35, 38]%); Load: 0%; Mode: ERR

I'd just like to get your advice before I open a security hole by running X11 as root. Is this error caused by my unprivileged X11 use?

Assuming you have enabled Coolbits then it's almost certainly an issue of unprivileged X server. I would suggest you try X11 as root; you can always revert back if you want. If the problem still persists when you run X11 as root then we found a new bug!

I've the same issue. It used to work, however Nvidia's driver past a certain version seems to not support manual fan control anymore. Hopefully this is a bug, because the fancontrol slider in 'nvidia-settings' still exists, but doesn't work either.

Nvidia Driver version: 470.57.02

the patch notes mention, but I am unsure if this affects us:

  • Updated GPU fan control to be available by default in nvidia-settings and NV-CONTROL, for GPU boards that support programmable fan control. Previously, this was only available when bit 2 was set in the "Coolbits" X config option.

https://www.nvidia.com/download/driverResults.aspx/177145/en-us

further info:

https://forums.developer.nvidia.com/t/fan-speed-regression-with-nvidia-beta-470-42-01-and-rtx-3080-fans-dont-stop-on-idle/183604/2

the 'fix' described there works for me. That being said, it doesn't appear to be a 'good' fix.

As far as I understand you still need X11 running as root to do anything, regardless of Coolbits.