tutulino / Megaminer

Multipool and multialgo windows miner
GNU General Public License v3.0
78 stars 69 forks source link

How to disable a GPU #365

Closed Deeferdawg closed 6 years ago

Deeferdawg commented 6 years ago

I would like to know how to disable a gpu from mining. What file do I need to open to be able to do this. Thank you!

1001rapid commented 6 years ago

Use GPUGROUP in config file

tutulino commented 6 years ago

As 1001rapid said, you must play with gpu groups as you want. Example for 3 nvidia GPU where we want to disable first gpu.

@@GPUGROUPS={"GroupName" : "allexceptone","Type":"NVIDIA","Gpus":"1,2","PowerLimits":"0"}

also you can define two groups

@@GPUGROUPS=[{"GroupName" : "allexceptone","Type":"NVIDIA","Gpus":"1,2","PowerLimits":"0"},{"GroupName" : "all","Type":"NVIDIA","Gpus":"0.1,2","PowerLimits":"0"}

and play (always) with batch starting parameter -gpugroups to run one or another group (if you run all groups dont work because there is duplicated gpus between them)