It is currently April 19th, 2024, 2:38 pm

[Solved] Looking for a way to show GPU graphic driver build version 471.41

Get help with creating, editing & fixing problems with skins
User avatar
Sh8dyDan
Posts: 19
Joined: August 22nd, 2021, 6:10 pm

[Solved] Looking for a way to show GPU graphic driver build version 471.41

Post by Sh8dyDan »

I'm trying to recreate a Rainmeter version of a Conky desktop I have on a Linux machine.

The first thing is I do not know of a good place to pull the graphic driver build version 471.41. The best place I have found so far is from the registry at the location below.

Code: Select all

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Installer2\Drivers
Not too sure if that location will still be valid after a driver update.

The second thing is I'm having a problem with extracting only the driver build version from the string below.
It displays like this as two lines.

Code: Select all

Display.Driver/471.41
C:\Program Files\NVIDIA Corporation\Installer2\Display.Driver.{069EA8E7-9276-47C7-9697-6F394EAEDA7B}\nv_dispi.inf
Any help and advice would be super appreciated.
You do not have the required permissions to view the files attached to this post.
Last edited by Sh8dyDan on August 22nd, 2021, 11:32 pm, edited 3 times in total.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Looking for a way to show GPU graphic driver version

Post by jsmorley »

https://docs.rainmeter.net/manual/plugins/runcommand/

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
OnRefreshAction=[!CommandMeasure MeasureDriver "Run"]

[Variables]

[MeasureDriver]
Measure=Plugin
Plugin=RunCommand
Program=PowerShell
Parameter=(Get-WmiObject Win32_VideoController | Select description,driverversion).driverversion
OutputType=ANSI

[MeterDriver]
Meter=String
MeasureName=MeasureDriver
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1

1.jpg

2.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Sh8dyDan
Posts: 19
Joined: August 22nd, 2021, 6:10 pm

Re: Looking for a way to show GPU graphic driver build version 471.41

Post by Sh8dyDan »

jsmorley, thanks for the reply.

I apologize because I was not clear or specific enough in my request. I am looking to obtain what I will call the build number.

Looks like this 471.41

Thanks
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Looking for a way to show GPU graphic driver build version 471.41

Post by jsmorley »

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
OnRefreshAction=[!CommandMeasure MeasureDriver "Run"]

[Variables]

[MeasureDriver]
Measure=Plugin
Plugin=RunCommand
Parameter=nvidia-smi --query-gpu=driver_version --format=csv,noheader
OutputType=ANSI

[MeterDriver]
Meter=String
MeasureName=MeasureDriver
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1

1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Sh8dyDan
Posts: 19
Joined: August 22nd, 2021, 6:10 pm

Re: Looking for a way to show GPU graphic driver build version 471.41

Post by Sh8dyDan »

Thank you so much.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Looking for a way to show GPU graphic driver build version 471.41

Post by jsmorley »

Sh8dyDan wrote: August 22nd, 2021, 7:39 pm Thank you so much.
Glad to help.