Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Helios45 on December 06, 2017, 08:34:02 PM



Title: Automating loading Afterburner profiles
Post by: Helios45 on December 06, 2017, 08:34:02 PM
Hi everyone,

Is there a way to load an Afterburner profile using command line?
I'm trying to automate switching my profile on a daily basis as I would like to lower my TDP during on-peak power and put it back to higher TDP during off-peak

Thanks


Title: Re: Automating loading Afterburner profiles
Post by: gt_addict on December 06, 2017, 08:44:24 PM
Can you not just use teamviewer?


Title: Re: Automating loading Afterburner profiles
Post by: Helios45 on December 06, 2017, 09:21:22 PM
Can you not just use teamviewer?

I'm currently doing it using Teamviewer but since I have to do it 4 times a day I'm looking for a way to automate it


Title: Re: Automating loading Afterburner profiles
Post by: gt_addict on December 06, 2017, 09:30:43 PM
Four times a day? Thought about changing your electricity plan  ;D


Title: Re: Automating loading Afterburner profiles
Post by: Helios45 on December 06, 2017, 11:27:01 PM
Four times a day? Thought about changing your electricity plan  ;D

Electricity prices are regulated by the province, so no way to get around it


Title: Re: Automating loading Afterburner profiles
Post by: wacko on December 07, 2017, 05:40:27 AM
Is there a way to load an Afterburner profile using command line?
I'm trying to automate switching my profile on a daily basis as I would like to lower my TDP during on-peak power and put it back to higher TDP during off-peak
I'm not sure whether it's possible with MSI AB, but if all you're doing is simply adjusting TDP and/or clocks, you can do it with nvidia inspector. Which can run via command line, and thus can be automated with some batch files.


Title: Re: Automating loading Afterburner profiles
Post by: jmigdlc99 on December 07, 2017, 07:23:51 AM
Nice. On and off peak power adjustment. Good idea to boost profit by a bit i guess. Do you by any chance live in the Philippines?

Aside from NVIDIA inspector, you could also automate it using automation tools like AutoIt. Basically AutoIt simulates mouse movement and clicks. Should be able to adjust profiles easily as long as you spend the time to record all the necessary clicks with MSI AB.


Title: Re: Automating loading Afterburner profiles
Post by: VyprBTC on December 07, 2017, 07:41:08 AM
if you can't use cmd line for batch file worst case you can simulate mouse clicks and intervals with vbs script.

just leave your afterburner open, save 4 profiles and program yoru x,y coords with vbs


Title: Re: Automating loading Afterburner profiles
Post by: m1n1ngP4d4w4n on December 07, 2017, 07:45:44 AM
Use nvidia inspector, best way to do OC on windows and nvidia GPU's.

example for a 6 gpu rig

Code:
nvidiaInspector.exe -setBaseClockOffset:0,0,135 -setMemoryClockOffset:0,0,550 -setPowerTarget:0,60 -setTempTarget:0,0,85
nvidiaInspector.exe -setBaseClockOffset:1,0,135 -setMemoryClockOffset:1,0,550 -setPowerTarget:1,60 -setTempTarget:1,0,85
nvidiaInspector.exe -setBaseClockOffset:2,0,135 -setMemoryClockOffset:2,0,550 -setPowerTarget:2,60 -setTempTarget:2,0,85
nvidiaInspector.exe -setBaseClockOffset:3,0,135 -setMemoryClockOffset:3,0,550 -setPowerTarget:3,60 -setTempTarget:3,0,85
nvidiaInspector.exe -setBaseClockOffset:4,0,135 -setMemoryClockOffset:4,0,550 -setPowerTarget:4,60 -setTempTarget:4,0,85
nvidiaInspector.exe -setBaseClockOffset:5,0,135 -setMemoryClockOffset:5,0,550 -setPowerTarget:5,60 -setTempTarget:5,0,85

you can find it here (http://www.guru3d.com/files-details/nvidia-inspector-download.html)


Title: Re: Automating loading Afterburner profiles
Post by: Helios45 on December 08, 2017, 05:03:20 PM
Thanks for the feedback guys, I'll give nvidiainspector a try


Title: Re: Automating loading Afterburner profiles
Post by: fanatic26 on December 08, 2017, 06:02:33 PM
You can do it very easily in linux with the side effect of running a better, more stable OS for your mining rig.


Title: Re: Automating loading Afterburner profiles
Post by: VyprBTC on December 08, 2017, 06:25:27 PM
You can do it very easily in linux with the side effect of running a better, more stable OS for your mining rig.


I'm running windows 10 for the past year with not one single problem with stability.


Title: Re: Automating loading Afterburner profiles
Post by: m1n1ngP4d4w4n on December 08, 2017, 08:01:17 PM
You can do it very easily in linux with the side effect of running a better, more stable OS for your mining rig.


I'm running windows 10 for the past year with not one single problem with stability.

Yeah linux is good, but windows properly configured work very well too.


Title: Re: Automating loading Afterburner profiles
Post by: e97 on May 28, 2018, 04:31:15 AM
Use nvidia inspector, best way to do OC on windows and nvidia GPU's.

example for a 6 gpu rig

Code:
nvidiaInspector.exe -setBaseClockOffset:0,0,135 -setMemoryClockOffset:0,0,550 -setPowerTarget:0,60 -setTempTarget:0,0,85
nvidiaInspector.exe -setBaseClockOffset:1,0,135 -setMemoryClockOffset:1,0,550 -setPowerTarget:1,60 -setTempTarget:1,0,85
nvidiaInspector.exe -setBaseClockOffset:2,0,135 -setMemoryClockOffset:2,0,550 -setPowerTarget:2,60 -setTempTarget:2,0,85
nvidiaInspector.exe -setBaseClockOffset:3,0,135 -setMemoryClockOffset:3,0,550 -setPowerTarget:3,60 -setTempTarget:3,0,85
nvidiaInspector.exe -setBaseClockOffset:4,0,135 -setMemoryClockOffset:4,0,550 -setPowerTarget:4,60 -setTempTarget:4,0,85
nvidiaInspector.exe -setBaseClockOffset:5,0,135 -setMemoryClockOffset:5,0,550 -setPowerTarget:5,60 -setTempTarget:5,0,85

you can find it here (http://www.guru3d.com/files-details/nvidia-inspector-download.html)

Awesome, thank you! Solves the problem I was having with OC settings reverting after a few hours.


Title: Re: Automating loading Afterburner profiles
Post by: wacko on May 28, 2018, 05:55:29 AM
Awesome, thank you! Solves the problem I was having with OC settings reverting after a few hours.
Your OC settings are not supposed to be reverting after a few hours, no matter what software you use to apply them. The most likely reason this happens that I can think of is that your OC is not stable, the driver crashes and the clocks/voltages get reset to stock.


Title: Re: Automating loading Afterburner profiles
Post by: 4ward on May 28, 2018, 09:17:47 AM
1. Open google
2. Search for "MSI Afterburner preset command line"
3. Click the first link - "MSI Afterburner preset switch automation"

https://bitcointalk.org/index.php?topic=2105295.0


Title: Re: Automating loading Afterburner profiles
Post by: e97 on May 29, 2018, 04:13:26 AM
Awesome, thank you! Solves the problem I was having with OC settings reverting after a few hours.
Your OC settings are not supposed to be reverting after a few hours, no matter what software you use to apply them. The most likely reason this happens that I can think of is that your OC is not stable, the driver crashes and the clocks/voltages get reset to stock.

Upgrading to the latest version of Afterburner ver 4.5.0 seems to have resolved the issue.