It is currently April 27th, 2024, 1:57 pm

"rainmeter.exe" closes after resetting gpu.

General topics related to Rainmeter.
User avatar
mtchannel
Posts: 24
Joined: October 21st, 2021, 11:08 pm

"rainmeter.exe" closes after resetting gpu.

Post by mtchannel »

Hello friends. I'm someone who does "mining" on my PC from time to time. I am using amd rx580 8gb graphics card.
my problem;
"rainmeter.exe" closes itself when I run the following code in cmd prompt. I have to manually open it myself.

I am using this code to turn on "amd compute mode".

regedit code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000]
"KMD_EnableInternalLargePage"=dword:00000002

cmd code:
pnputil /restart-device "PCI\VEN_1002&DEV_67DF&SUBSYS_34181462&REV_E7\4&14486ad3&0&00E0"

After running the cmd code, the video card resets itself, so it's like the computer is turned off and on. Then I start mining. this code makes full use of the hashrate of the video card.

What is the link between this code and rainmeter? why does rainmeter turn itself off after this code? I can solve the problem by preparing a bat file, but I want to understand why it closes for such a reason.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2611
Joined: March 23rd, 2015, 5:26 pm

Re: "rainmeter.exe" closes after resetting gpu.

Post by SilverAzide »

Probably for the same reason Rainmeter crashes when installing/updating video card drivers. You are basically yanking the rug out from under the app while it is using actively the driver, so it crashes. Try UNchecking the "Use hardware acceleration" option on the Rainmeter Settings tab and see what happens. My assumption is that Rainmeter will not crash after you do this, but we'll see...
Gadgets Wiki GitHub More Gadgets...
User avatar
Yincognito
Rainmeter Sage
Posts: 7175
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: "rainmeter.exe" closes after resetting gpu.

Post by Yincognito »

Besides SilverAzide's suggestion, you could close and restart Rainmeter in your .bat or whatever, while you're resetting the GPU. I doubt that you need it for that fraction of time anyway.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth