April 12Apr 12 Scenario: I have an Unraid server with a 5090 GPU passed through to a Gaming VM that is connected to the TV in the living room. My Son and I play games on the TV, but I also work in the room where the server is located. I recently replaced a bunch of system components and ended up with a server beside my desk that is VERY loud at times... with big jumps in fan noise for no apparent reason.I also have a bit of OCD when it comes to being able to see data and have my system operate in a way that I want it to... (I even have a SmartHome temperature sensor stuck ito the inside of my case so that I can monitor general changes that way)History:I've tried a bunch of different tools to control the fans:Dynamix System TemperatureDynamix System AutofanPWM FanFanCtrl PlusAnd never found one that would quite do what I wanted...My server goes months without restarting so I don't want to adjust it in the BIOS and reboot to fine tune things...Then I came across CoolerControl... And WOW I have been super happy playing with that... I've got it so my system responds to heat in a reasonable way and I can see why it does what it does so that I can fine tune it further.One thing I have been looking for is to bring the GPU Fan and Temps into the same ecosystem. I've looked around and found nothing that would work for that until...CoolerControl can use a text file as a sensorNvidia has a couple of CLI tools that report data about the GPUGemini can write Python scripts...So now I have a Python Script being started by Task Scheduler, A shared /tmp folder in Unraid, and a graph that shows me the Temperature info (and more: Fan Speed (%), GPU Load, Memory Load) in a graph with all the other relevant (and some irrelevant) data.Now, while I can't control the fans on the GPU from here, I can have them and the GPU temp affect the Case Fans to expel extra heat when they start working overtime.Some of the numbers are a bit weird because they are all interpreted as temperature so I have things displayed as percentages out of a hundred (labeled at degrees C)Thought I would share in case anyone else wants this. NVML-Stats.py
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.