Dreaming-Codes / nvidia_oc

A simple command line tool to overclock Nvidia GPUs using the NVML library on Linux. This supports both X11 and Wayland.
https://crates.io/crates/nvidia_oc
MIT License
49 stars 1 forks source link

Doesn't work on Fedora SIlverblue (Bluefin) #5

Closed rashadgasimli closed 1 month ago

rashadgasimli commented 2 months ago

Hello. The script doesn't work, here is a terminal input/output:

> sudo ./nvidia_oc set --index 1 --power-limit 45000
thread 'main' panicked at src/main.rs:62:37:
Failed to initialize NVML: LibloadingError(DlOpen { desc: "libnvidia-ml.so: cannot open shared object file: No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Dreaming-Codes commented 1 month ago

Which nvidia driver are you using?

rashadgasimli commented 1 month ago

Nvidia 560

Dreaming-Codes commented 1 month ago

I believe the required shared library is included in the CUDA toolkit package on Fedora. You can find more information on how to install it here. However, I have never used Fedora or Fedora Silverblue, so you may need to do some additional research on your own.