Code Monkey home page Code Monkey logo

Comments (11)

foucault avatar foucault commented on August 26, 2024 1

You can't set fanspeed from nvidia-settings either. Stop nvfancontrol open nvidia-settings go to GPU-0 → Thermal Settings → Enable GPU Fan Settings → Put it to 60 or something → Click Apply → Get "Failed to set new Fan Speed!" Given that there have been NO differences in the XNVCtrl library between the two version this is most likely a driver bug. This looks like it's affecting overclocking as well [1], [2], [3],

from nvfancontrol.

foucault avatar foucault commented on August 26, 2024 1

It's a shame that you need to run X as root to make this work. But in any case this is not an nvfancontrol bug. I'll update the README. Thanks for reporting and investigating !

from nvfancontrol.

foucault avatar foucault commented on August 26, 2024

Hello! There are literally no differences in XNVCtrl (the NVIDIA interface library) between 460.xx and 465.xx so this shouldn't happen. Can you please verify that your xorg.conf is indeed correct? Can you also check the output of nvfancontrol -d -m ?

See below ↓

from nvfancontrol.

jlarmstrong avatar jlarmstrong commented on August 26, 2024

Just confirming here that I am also seeing this issue in the latest 460.73.1 release.

from nvfancontrol.

foucault avatar foucault commented on August 26, 2024

Possibly some of the code in 465 was backported into the 460 branch. I highly doubt we'll see any fix for that before 470.

from nvfancontrol.

vandonsel avatar vandonsel commented on August 26, 2024

I am able to set fan speed in nvidia-settings and I am also getting a very similar error. Please inform me if this warrants a new ticket:

INFO - Loading configuration file: "/home/d/.config/nvfancontrol.conf"
DEBUG - Curve points: [(30, 20), (40, 30), (50, 50), (60, 70), (70, 100)]
INFO - NVIDIA driver version: 465.24.02
INFO - NVIDIA graphics adapter #0: NVIDIA GeForce GTX 1050 Ti
INFO -   GPU #0 coolers: COOLER-0
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "XNVCtrl QueryAttr(COOLER_SPEED) failed; error 0"', src/main.rs:715:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
DEBUG - Resetting fan control

from nvfancontrol.

foucault avatar foucault commented on August 26, 2024

Try putting nvfancontrol in monitor mode (nvfancontrol -d -m) and change the values from nvidia-settings. Is there any change in the output of nvfancontrol?

from nvfancontrol.

vandonsel avatar vandonsel commented on August 26, 2024

Looks like I get the same error running it with those arguments

[d@virtlove ~]$ nvfancontrol -d -m
INFO - Loading configuration file: "/home/d/.config/nvfancontrol.conf"
DEBUG - Curve points: [(30, 20), (40, 30), (50, 50), (60, 70), (70, 100)]
INFO - NVIDIA driver version: 465.27
INFO - NVIDIA graphics adapter #0: NVIDIA GeForce GTX 1050 Ti
INFO -   GPU #0 coolers: COOLER-0
INFO - Option "-m" is present; curve will have no actual effect
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "XNVCtrl QueryAttr(COOLER_SPEED) failed; error 0"', src/main.rs:715:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[d@virtlove ~]$

from nvfancontrol.

foucault avatar foucault commented on August 26, 2024

Did it work with an older driver? Because I cannot reproduce the problem. It looks like the nvidia driver fails to respond when querying for a specific attribute. It looks like we can't query the driver at all which would happen if the attribute we are looking for (NV_CTRL_THERMAL_COOLER_SPEED) is not existent at all. I don't think this is directly related to the bug outlined here, but it might be if it was working before (pre 465).

from nvfancontrol.

reytiger avatar reytiger commented on August 26, 2024

I experienced ERROR - Could not update fan speed: XNVCtrl SetAttr(THERMAL_COOLER_LEVEL) failed; error 0 on Arch Linux and found I could not alter fan settings in nvidia-settings.

Kernel: 5.12.6-arch1-1
Driver: nvidia 465.31-4
Util: nvidia-settings 465.27-1

Following these steps fixed my issue, indicating this was a configuration/permissions problem for rootless Xorg.

from nvfancontrol.

reytiger avatar reytiger commented on August 26, 2024

I experienced ERROR - Could not update fan speed: XNVCtrl SetAttr(THERMAL_COOLER_LEVEL) failed; error 0 on Arch Linux and found I could not alter fan settings in nvidia-settings.

Kernel: 5.12.6-arch1-1
Driver: nvidia 465.31-4
Util: nvidia-settings 465.27-1

Following these steps fixed my issue, indicating this was a configuration/permissions problem for rootless Xorg.

In particular, /etc/X11/Xwrapper.config was missing on my system.

from nvfancontrol.

Related Issues (20)

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.