nan0s7 / nfancurve

A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
GNU General Public License v3.0
314 stars 57 forks source link

headless support suggestion #58

Open AlexKordic opened 5 months ago

AlexKordic commented 5 months ago

Here is my gist using nvml library directly via python FFI ctypes.

Using nvml directly avoids x-server dependency. Also python makes it easy.

Just guessing, it would be simple to create python wrappers for all nvml calls you need.

Let me know what you think, Alex