Comments (11)
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.
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.
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.
Just confirming here that I am also seeing this issue in the latest 460.73.1 release.
from nvfancontrol.
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.
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.
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.
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.
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.
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.
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-1Following 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)
- Run as daemon on Windows HOT 3
- XNVCtrl failed: XOpenDisplay failed; is $DISPLAY set? HOT 5
- please provide a windows build HOT 1
- Crash on startup HOT 4
- Monitor (-m) flag modifies fan speed on exit HOT 5
- /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found HOT 4
- Problem setting fanspeed HOT 10
- ignore----
- Add Cargo.lock for nix packaging HOT 3
- ERROR - Could not update fan speed HOT 3
- RTX3090 @ driver 471.68 HOT 11
- Limits not working? HOT 2
- Fan is enabled on auto control; doing nothing HOT 3
- Fans still work despite being forced & had aggressive idle mode HOT 5
- Fan Control issue on a Inno3d RTX 3060 HOT 3
- nvfancontrol "Option Fanflicker"?
- GPU doesn't always follow the targeted Fan Speed
- ERROR - XNVCtrl failed: XOpenDisplay failed; is $DISPLAY set? HOT 1
- Ability to control each fan speed independently
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvfancontrol.