grid-control icon indicating copy to clipboard operation
grid-control copied to clipboard

Grid Control doesn't find Librehardware Monitor anymore

Open MrScreemi opened this issue 4 years ago • 7 comments

Hi

First i have to thank you for your great tool. It's the best one i have seen out there. I don't know if you are still willing to maintain your nice little program.

Libre Hardware Monitor changed something a while ago and now Grid Control can't read the sensor values anymore.

The task is now called Libre Hardware Monitor and not Open Hardware Monitor anymore. Maybe that's a helpfull hint.

It would be really great if you could fix that an i could upgrade to a newer version of lhwm.

Thx a lot!

MrScreemi avatar Feb 12 '20 08:02 MrScreemi

+1 i need LibreHwMonitor too, because OpenHwMonitor won't read temps for my 5700xt.

derflacco avatar Feb 17 '20 14:02 derflacco

Hi @MrScreemi, let's see if we can pinpoint the problem. First, I like to check if you get any error message in Grid Control, e.g. "OpenHardwareMonitor WMI data not found"? Or maybe some errors when trying to read sensor values or similar?

I have some limited possibilities to troubleshoot this as I have changed my HW and I'm not using the Grid anymore. On top of this, I have also switched from Windows to Linux (no dual boot unfortunately). Not sure how well OpenHWMonitor / LibreHWMonitor will run in a virtual machine, but I will give it a try.

To help me a bit with the troubleshooting, would you be OK trying to run Grid Control directly from the Python source...? If so, I'm happy to give some guidelines on how to get started :-)

akej74 avatar Feb 18 '20 19:02 akej74

Hi akej74

Great to here from you. There is no errormassage while starting gridcontrol. I attached a screenshot with all the infos i have right now. The tab sensor configuration is completely empty.

libre

As soon as i start openhardware monitor or an old verison of libre where the process is still called open hardware monitor, like it was until a couple of version ago, it picks up all the sensor readings immediately.

open

I am totally willing to run gridcontroll from source if you can provide a little tutorial how to get it running. Installing an IDE an Python shouldn't be big of a problem with a little help.

MrScreemi avatar Feb 20 '20 18:02 MrScreemi

I had the same issue and fixed the reference to OpenHardwareMonitor and changed it to LibreHardwareMonitor, fixed version is in my fork: https://github.com/stilltli/grid-control

Unfortunetly i was unable to compile a .exe with pyinstaller, it seems like a lot of modules are missing and i don't know how to get them into pyinstaller

stilltli avatar Aug 08 '20 21:08 stilltli

Thanks @stilltli for your help; I have retired my Grid unit as well as switched to Linux, but I do a test with PyInstaller just to verify the parameters needed to build. @MrScreemi maybe you can give the fork a try, i.e. test it with LibreHWMon?

akej74 avatar Aug 10 '20 18:08 akej74

@MrScreemi please see here how to run Grid Control directly from Python.

akej74 avatar Aug 10 '20 18:08 akej74

Thanks to you @stilltli for remapping it to use LibreMonitor and thanks to @akej74 for actually creating it and linking to the issue with the required packages. After installing the necessary packages I used the following arguments for pyinstaller: pyinstaller --win-no-prefer-redirects --onefile --noupx --noconsole gridcontrol.py

I was able to pack this up in one file and run it on my system using Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)] on win32.

Automaticism avatar Oct 13 '20 20:10 Automaticism