Original post at https://anorak.tech/community/t/amd-compute-n-stability-script-v2-0/89066Mining performance & stability boost for mining on the Windows OS with AMD video cards.
For all your installed AMD cards, it only takes a couple seconds to:
- Automatically switch Compute Mode on = More power!
- Automatically turn ULPS + CFAL off = More stability!
Disclaimer: Needless to say, always check the content of a script you want to run on your computer BEFORE running it. I'm not responsible for any issue(s) that would arise from using this script.In more details, these 2 scripts will toggle 3 AMD registry settings on/off:-
*
KMD_EnableInternalLargePage should be
ENABLED for mining (compute mode "on").
*
EnableUlps should be
DISABLED for mining (adds stability).
*
EnableCrossFireAutoLink should be
DISABLED for mining (adds stability).
Download link(s):-
https://drive.google.com/drive/folders/1uEWXhTEvDUIOhsxoXu51hi5-UOplMSjT?usp=sharingv2.0 Changes - April 2nd, 2018-
* Ability to see the current status of each setting for each card before changing anything.
* Separated the Compute Mode script from the Stability Tweaks. Each script can now be run on its own.
* Reworked the logic - won't try to change anything if the settings are already correct.
* Added the total number of registry changes made after each script run.
* Added the total number of registry changes who were successful.
* Added the total number of registry changes who failed.
* Tells you if you need to restart your computer for changes to be applied.
* Changed some text color to be more user-friendly for those running the script directly from PowerShell.
Features:-
* Blazing fast; only takes a couple seconds, even on a Celeron system with 19 GPUs
* Loops through all your GPUs (no limits to the number of installed GPUs)
* Lets you choose between: Optimize for mining (or) Reset registry settings (or) List current settings
* Skips GPU entries that are not from AMD, but lists them
* Displays the changes it makes for each GPU
* Gives an error message if some changes cannot be made
* Lists the total number of GPU it found, and how many were AMD
Quick-n-dirty how to:-
# 1. Unzip the files to a folder
# 2. Open a command prompt as Administrator (right click on Command Prompt shortcut icon)
# or search for it:
WINDOWS KEY + (S)earch
type "command" in the search field
^ right-click the Command Prompt icon, select "Run as administrator"
# 3. Once inside the command prompt, type
powershell
# and press ENTER.
# Note: This will move you into PS mode.
# 4. Once in PS mode, type
powershell -ExecutionPolicy Unrestricted
# Note: This will give you the rights to run both ps1 scripts with no errors.
# 5. Type this to run COMPUTE script
powershell -noexit 'C:\Users\UserName\Path` to` Script\AMD-Compute-n-Stability-Script\compute.ps1'
# or type this to run STABILITY script
powershell -noexit 'C:\Users\UserName\Path` to` Script\AMD-Compute-n-Stability-Script\stability.ps1'
# Note: You can see I added a ` before each space in the path. You will need to
# add a ` before every space in your path for this to work. PowerShell cannot
# have spaces in a path. e.g.
# wrong way to define a path with spaces in folder name
powershell -noexit 'C:\Users\John\Appleseed\my folder spaces\downloads\script.ps1'
# correct way to define a path with spaces in folder name
powershell -noexit 'C:\Users\John\Appleseed\my` folder` spaces\downloads\script.ps1'
# 6. Follow the easy instructions from the scripts
Credits:-
* Original script by [lordpurvis](
https://www.reddit.com/user/lordpurvis), found on [this Reddit thread](
https://www.reddit.com/r/gpumining/comments/7uuw5f/automatically_setting_amd_cards_from_graphics_to/)
* Modified by phila82r (
https://twitter.com/phila82r)
Additional information-
ULPS: ULPS means Ultra Low Power State. It is a feature of AMD GPUs which are in a multi-GPU CrossFire configuration. Essentially, when enabled, it turns off the second GPU when it isn't in use. This feature sometimes causes problems with games and overclocking, and there are some cases when it does cause a slow boot.CFAL: CFAL means CrossFire Auto Link. Whenever Windows starts, the AMD driver tries to detect other AMD cards to establish "crossfire". We don't want crossfire for mining and even searching for it is not good for driver stability. We also don't want it polling to see about power states when your mining.If you'd like to show your support and appreciation, you can do so by sending donations to
phila82r:
ETH: 0xf7c0737a32ad2b971e74478D61B0Ed193097Cf82
BTC: 3QCQUwtJNgYi7StM6mBZi773jzdb28GEvB
LTC: MJrPidBwzekzSopAmSqxcbtbP2TscG2Zp7
ENJOY!