It is currently April 27th, 2024, 4:34 pm
CPU and GPU names with HWiNFO
-
- Posts: 6
- Joined: May 27th, 2016, 6:34 am
CPU and GPU names with HWiNFO
I'm new at this and am trying to get the CPU chipset (Intel Core i7-4790 in my case) and video chipset (NVIDIA GeForce GTX 750 Ti) using HWiNFO but there doesn't seem to be an ID for those. HWiNFO obviously knows these. Is HWiNFO not the correct plugin to use? If so, what should I be using instead. SysInfo was my other guess but that doesn't seem to be correct either. Sorry if this is a dumb question or previously asked/answered, I searched the forums but couldn't find anything appropriate. Thanks.
-
- Posts: 217
- Joined: May 16th, 2012, 5:38 am
Re: CPU and GPU names with HWiNFO
Please see this: http://www.hwinfo.com/forum/Thread-Rainmeter-plug-in-for-HWiNFO-2-0 thread for instructions on how to use sensor IDs to obtain the sensor names. It is compatible with HWiNFO Plugin 3.0. The TL;DR is about half way down the post, starting at Code:. Note you do not need to provide all of the values indicated in the thread to obtain the sensor's name, the required values are explained underneath the HWiNFO Shared Memory Values example.
If you still have difficulty, or are getting a result that you don't expect, please post back here with the skin you are using and a screenshot of your HWiNFO SMV values, and we can take a look at what you've got.
If you still have difficulty, or are getting a result that you don't expect, please post back here with the skin you are using and a screenshot of your HWiNFO SMV values, and we can take a look at what you've got.
moshi wrote:there are many Rainmeter skins that aren't really useful, so let's add another one.
jsmorley wrote:I have good news and bad news.
First the bad news. [...] We would be happy to have this happen and would love to work with anyone who is feeling ambitious.
Now the good news.
I lied, there isn't any good news...
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: CPU and GPU names with HWiNFO
I don't know if you want to obtain these information only from HWiNFO or, maybe, you accept suggestions.
I added some more informations, this doesn't need other programs other than Rainmeter, to obtain, in order:
- CPU, name;
- CPU, family/model;
- Video card, name;
- Video card,installed memory.
Code: Select all
[MeasureCPUName]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=ProcessorNameString
RegExpSubstitute=1
Substitute="^(.*) @.*$":"\1"," ":" "," ":" "," ":" "
[MeasureCPUID]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=Identifier
[MeasureVideoManufacturer]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\[MeasureVideoPath]
RegValue=Device Description
[MeasureVideoMemory]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\[MeasureVideoPath]
RegValue=HardwareInformation.MemorySize
- CPU, name;
- CPU, family/model;
- Video card, name;
- Video card,installed memory.
-
- Posts: 6
- Joined: May 27th, 2016, 6:34 am
Re: CPU and GPU names with HWiNFO
Thanks to you both. I'm using the HWiNFO for the CPU ID and Registry for the Video card (because I'm too lazy right now to code up a RegEx to strip the "GPU(0):" from the name returned by HWiNFO).
I'm making some changes to existing skins (Information Overload and Genteel) to better suit my needs. I'll package them all up (giving credit where due) and post to DeviantArt once I'm done in case anyone else would like them.
Again, thanks for the quick responses. Seems like a great community here.
Code: Select all
[GPU_NAME]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinSat
RegValue=PrimaryAdapterString
Again, thanks for the quick responses. Seems like a great community here.
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: CPU and GPU names with HWiNFO
You're welcome, rcurrier.
Glad to help, when I can.
...and yes, here you'll find (almost, if not all) the help you need, there's always someone who can help.
As a side note, you can get rid of (R) and (TM) using this substitute variant:
I tested these measures with various systems, only some old hardware, mostly using Windows XP, can give some trouble with video card name and mostly with video card memory.
I say this, in case someone can find this useful.
Glad to help, when I can.
...and yes, here you'll find (almost, if not all) the help you need, there's always someone who can help.
As a side note, you can get rid of (R) and (TM) using this substitute variant:
Code: Select all
Substitute="^(.*) @.*$":"\1"," ":" "," ":" "," ":" ","\(R\)":"","\(TM\)":""
I say this, in case someone can find this useful.
-
- Posts: 943
- Joined: May 7th, 2016, 7:32 am
Re: CPU and GPU names with HWiNFO
@fanpaolo
lo and behold! t'was useful in the most
lo and behold! t'was useful in the most
My DevArt Gallery
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
-
- Posts: 6
- Joined: January 15th, 2018, 1:18 am
Re: CPU and GPU names with HWiNFO
i have CPU [#0]: AMD FX-9800P, is there any idea how to get rid that CPU [#0] ?
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: CPU and GPU names with HWiNFO
Just add:LxixSxA wrote:i have CPU [#0]: AMD FX-9800P, is there any idea how to get rid that CPU [#0] ?
Code: Select all
RegExpSubstitute=1
Substitute="^.*: (.*)$":"\1"
https://docs.rainmeter.net/manual/measures/general-options/substitute/#RegExpSubstitute
https://docs.rainmeter.net/manual/measures/general-options/substitute/#Substitute
https://docs.rainmeter.net/manual/skins/option-types/#RegExp
-
- Posts: 6
- Joined: January 15th, 2018, 1:18 am
Re: CPU and GPU names with HWiNFO
jsmorley wrote:Just add:
To the measure returning that.Code: Select all
RegExpSubstitute=1 Substitute="^.*: (.*)$":"\1"
https://docs.rainmeter.net/manual/measures/general-options/substitute/#RegExpSubstitute
https://docs.rainmeter.net/manual/measures/general-options/substitute/#Substitute
https://docs.rainmeter.net/manual/skins/option-types/#RegExp
Awesome !! thanks for the quick responses, it really helps
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: CPU and GPU names with HWiNFO
Glad to help.