-
Notifications
You must be signed in to change notification settings - Fork 40
Windows HiveOS
Youtube video here:
- Keep SWARM in
C:\SWARM.[version].windows
(same as release), as miners with logging have issues with parsing paths, some miners may fail to launch because of their -logs argument. - SWARM attempts to start an administrator level program (required for overclocking gpus). Defender and/or antivirus may attempt to block it. If you want SWARM to automatically start when you log in, you will have to reduce your UAC notifications...Or else a prompt asking if you want to run the program will continue to appear.
- Hashrate Watchdog (is monitored through background agent window)
- Autofan (Uses original HiveOS Autofan codebase. This works better with current Windows Driver control, since it behaves differently than linux)
- stop miner
- restart miner
- push interval setting
- rocket launch
- run command (You can run windows commands fine remotely like in linux HiveOS)
- server url (should be part of config)
- config settings
- reboot
- shutdown
- miner delay
All OC mirrors HiveOS. You can set DPM and MDPM to force P-States in AMD cards. You can also set aggressive and non-aggressive oc settings. NVIDIA cards Memory clocks works like you would in Windows. You don't have to double the mem clock speed to get linux equivalent- Use whatever setting you currently use.
As of 1.6.2 SWARM windows version works with HiveOS to give you remote control over your windows miner.
SWARM requires latest Powershell Core and Visual C Runtimes. Install 2012 Visual C Runtime and 2015,2017,2019 Visual C Runtime.
https://github.com/PowerShell/PowerShell/releases
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
SUPER IMPORTANT NOTE!! READ THIS:
Swarm is a STANDALONE miner. You DO NOT run with HiveOS windows! HiveOS windows is NOT needed. SWARM gathers all of the needed data and statistics required for HiveOS on its own. It is nearly as expansive as HiveOS in linux as far as stats and settings.
To start SWARM and synchronize with HiveOS- You must do the following:
- (Optional) Run Windows_10_Optimize.bat as administrator. This will attempt to modify registry entries for AMD, as well as do things like attempt to disable one drive, windows Update, etc. (things that can interfere with mining). Reboot. Note: This will cause issues with gaming with AMD cards
- Start SWARM.bat, and follow instructions on setup.
- The swarm_help will print out arguments once finished that you will copy and use in the 'extra config arguments section' for setting up a custom miner. Copy/Save the arguments for later.
-
If you forget copy arguments, you can see the newly created config in ".\config\parameters\newarguments.json". After starting SWARM again without help starting now, you should be able to open a commmand prompt or the SWARM terminal now on desktop and type:
get parameters json compressed
This will print out a compressed .json form of your configs, which is a useful command to know while playing around with SWARM's settings. HiveOS flights sheets can also accept compressed .json instead of arguments.
-
Once it is completed- Close window and start SWARM again.
-
If there is issues, try restarting computer to refresh environment variables, and run SWARM.bat again.
At startup, after SWARM has detected settings, you should see the following message:
"Saying Hello To HiveOS"
With hello.json printed on screen (for review if there is issues)
If you don't see this:
- verify that you have -Hive_Hash argument set correctly in
config\parameters\newarguments.json
. - try running Hive_Windows_Reset.bat, and deleting the debug folder to remove rig data.
If it succeeded, miner should print its response, which should be the normal hello response you would get using HiveOS. It will state is it using default flight sheet, which is Claymore. This is a good sign. It means it has successfully registered your rig as a worker!
Here is an example output of Rig.Conf:
### MINERS HIVE CONFIG ################################
#URL where hive server is
HIVE_HOST_URL="http://api.hiveos.farm"
#Id of the rig, numeric value from admin panel
RIG_ID=[removed]
#Rig passord as in admin panel
RIG_PASSWD=[removed]
#Rig hostname and worker name for pool
WORKER_NAME="rig1"
#Id of the farm
FARM_ID=[removed]
#Selected miners
MINER=claymore
MINER2=
#Rig timezone
TIMEZONE="America/New_York"
#Watchdog
WD_ENABLED=0
#Hive Shell server host
HSSH_SRV="shell.hiveos.farm"
#Options
SWARM's main logo will appear, and then another window will open- This is agent window that works independently of SWARM to gather stats and information for HiveOS. It does not close when SWARM closes, because this way you can still communicate with HiveOS's server. Once this window is open- There is now communication between SWARM and HiveOS.
If you go to HiveOS's website, and your farm - The worker should be there. It is ready for setting up a flight sheet for SWARM.
Now you will set up a flight sheet for your worker and/or farm, specifying SWARM as the miner along with arguments you wish to use with SWARM. Then you will apply that flight sheet to your worker, like you would with any other HiveOS miner. See HiveOS install wiki here on how to set it up: https://github.com/MaynardMiner/SWARM/wiki/HiveOS-&-Unix-Install.
SWARM will notice this change, and write arguments into a file known as "newarguments.json" in ".\config\parameters" folder. It will then restart and apply those arguments. This will be done whenever you modify/change flight sheet, or rocket launch flight sheet to SWARM.
Windows HiveOS requires login disabled. Doing this is simple.
1.) In windows search type "login" and select "sign-in" options.
2.) Turn "Requires Windows Hello sign-in for Microsoft Acccounts" off.
3.) In windows search type "run"
4.) When run window opens: type "netplwiz"
5.) Uncheck "Users must enter a username and password to use this computer" box
Once completed- You will automatically login to windows, and SWARM will start. This is so that SWARM can reboot on errors.
Users should adjust power options to ensure that everything in computer is always on. The exception would be your monitor. Everything else should always be running.
Users require for miners to disable UAC. This is so that questions are asked such as "Do you want to run this program?", which stops programs from starting.
To disable UAC:
1.) In windows search type "UAC" and press enter.
2.) Slide the slider to bottom, or "Never Notify"