Replace 4 with number of mining threads, for dedicated mining machines, set this to number of CPU threads. You can control this later by typing mining N in the XDAG console, where N is the number of mining threads you want to run.

Replace wallet_address with the address you copied. Replace platform_id with your OpenCL platform ID, this is most usually 0 (also try 1 or 2 if necessary). If you have more than one GPU in the system, count up from zero to (number of devices - 1), so for example if you have 4 GPUs in your system, replace device_nums with 0 1 2 3. If you have only one GPU, replace device_nums with 0. To see advanced GPU miner parameters, execute ./xdag-gpu -h.

Execute: screen ./xdag_miner_run.sh. Once the miner starts running, hold down CTRL and press keys a, then d. This will detach the screen program and return to your shell, with the miner stll running. You can now disconnect from the machine.

Done! Your GPU miner is now running. For usage, see the next usage section.

Note: if you are using NVIDIA GPUs, make sure you add -nvidia-fix at the end of the command line in step 10 to prevent high system gpu usage and increase your hashrate.

Note: you can assign worker names to each GPU miner instance. To specify a worker name, add -w name at the end of the command line in step 10, replacing name with your chosen worker name. Worker name can only contain english letters and numbers.

Usage

To start the miner, execute screen ./xdag_miner_run.sh in your home folder and detach from screen by holding CTRL and pressing letters a, then d.

To view your miner status at any time execute screen -x.

To update your installation to the latest version, execute screen -x and stop the miner by pressing CTRL+C. Execute ./xdag_miner_update.sh. After this is done, execute screen ./xdag_miner_run.sh.

To view your current balance at any time, execute ./xdag_wallet_run.sh in your home folder, type in your wallet password, press enter, execute ./xdag_wallet_console.sh, type balance and press enter. If you see not ready to show balance, wait a bit and type balance again, followed by enter key. When you are done, type terminate followed by enter to close your wallet. You can also use our website to check your balance at any time on the home page, or register your miner to automatically show it's balance, payouts, unpaid shares and more.