Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR - Could not update fan speed #35

Open
midwire opened this issue Jun 16, 2021 · 3 comments
Open

ERROR - Could not update fan speed #35

midwire opened this issue Jun 16, 2021 · 3 comments

Comments

@midwire
Copy link

midwire commented Jun 16, 2021

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?

@foucault
Copy link
Owner

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!

@TerminalMan
Copy link

TerminalMan commented Aug 3, 2021

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.

@foucault
Copy link
Owner

foucault commented Aug 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants