foucault / nvfancontrol

NVidia dynamic fan control for Linux and Windows
GNU General Public License v3.0
206 stars 20 forks source link

Crash on startup #28

Closed tris-tan closed 3 years ago

tris-tan commented 3 years ago

Hi, thanks for making nvfancontrol, I've been using it successfully for some months now. Very useful.

I upgraded my nvidia drivers to version 455.45.01(non-free) today and it's started crashing on launch with this message:

thread 'main' panicked at 'called Result::unwrap() on an Err value: ParseFloatError { kind: Invalid }', src/main.rs:86:17 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

I'm using 5.9.10-1-MANJARO kernel and my graphics card is NVIDIA GeForce RTX 2060 SUPER. Reinstalling hasn't helped.

Help appreciated!

foucault commented 3 years ago

Hi! Thanks for reporting. Can you please run the binary manually with the debug flag and paste the output up to the point of crash?

nvfancontrol -d -f

tris-tan commented 3 years ago

I get basically the same message:

[tristan@Zen ~]$ nvfancontrol -d -f thread 'main' panicked at 'called Result::unwrap() on an Err value: ParseFloatError { kind: Invalid }', src/main.rs:86:34 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

foucault commented 3 years ago

If you're using the standard 0.4.1 version this is now addressed in master. I'll draft a new release shortly so if you're using AUR it will be there soon.

tris-tan commented 3 years ago

Amazing, thank you!