It is currently September 9th, 2024, 10:56 am
Share and get help with Plugins and Addons
StArL0rd84
Posts: 426 Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.
Post
by StArL0rd84 » February 25th, 2018, 11:48 am
Is this a bug?
Reading from the Heading sensor group crashes Rainmeter.
Code: Select all
[mGPU_Name]
Measure=Plugin
Plugin=SIV
SivKey=GPU-0-NAM
Sensor=H
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </> ))
eclectic-tech
Rainmeter Sage
Posts: 5504 Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Post
by eclectic-tech » February 25th, 2018, 1:44 pm
StArL0rd84 wrote: Is this a bug?
Reading from the Heading sensor group crashes Rainmeter.
Code: Select all
[mGPU_Name]
Measure=Plugin
Plugin=SIV
SivKey=GPU-0-NAM
Sensor=H
I didn't experience a crash, but it logged an error "failed to read the value..."
All items should have 'SIV' prefix...
SIV Sensor
Code: Select all
[mGPU_Name]
Measure=Plugin
Plugin=SIV
SivKey=GPU-0-NAM
SIVSensor=H
That change removed the error msg, but also showed me a number instead of the GPU name??
StArL0rd84
Posts: 426 Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.
Post
by StArL0rd84 » February 25th, 2018, 2:41 pm
eclectic-tech wrote: All items should have 'SIV' prefix... SIV Sensor
That change removed the error msg, but also showed me a number instead of the GPU name??
Yup, something weird is going on, OP should look into this.
Got the GPU name from the registry in stead:
Code: Select all
[GPU_NAME]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinSat
RegValue=PrimaryAdapterString
https://forum.rainmeter.net/viewtopic.php?p=123988#p123988
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </> ))
StArL0rd84
Posts: 426 Joined: February 8th, 2015, 10:07 pm
Location: EU, Denmark.
Post
by StArL0rd84 » October 7th, 2018, 8:33 am
Getting a weird error in the log:
Could not load library user32.dll for some unknown reason.
([mWorkTime] = 1 ? #Work# : ([mEnergyLoss:%] >= 70% ? #Chillmode# : </> ))
pmilano1
Posts: 1 Joined: September 3rd, 2020, 12:51 pm
Post
by pmilano1 » September 3rd, 2020, 12:58 pm
Is the code in a repo somewhere?
I've updates SIV to 5.51 and can't seem to get the plugin working again.
cde2006
Posts: 5 Joined: February 4th, 2017, 7:37 pm
Post
by cde2006 » December 19th, 2021, 11:10 am
Hello, I fixed it one year ago, but forgot to upload it.
The latest source code is in the zip file feel free to change it.
No credit/licenses requested.