###NOTE: Wolf's XMR Miner is no longer maintained - please use https://github.com/genesismining/sgminer-gm.
Wolf's OpenCL XMR Miner for AMD GPUs
If you get an error about clCreateBuffer
, lower your rawintensity
. See the example config xmr.conf for details.
Generally, you want to raise rawintensity
as high as it will go without error - but remember, 2MiB of GPU RAM is needed for every work-item.
The GPU fan, powertune, and clock setting options are accepted, as the configuration routine was ripped from my own full-custom miner, but they do nothing.
Use a GPU index of -1
to run on the CPU. The only other config item needed is "threads",
but rawintensity
and worksize
must still be set to a non-zero value.
As with the original CPU miner, you can gain a performance boost by configuring huge pages.
Check current setting with sysctl vm.nr_hugepages
then set it to at least 3 times the
total number of threads you're using, as root.
sudo sysctl -w vm.nr_hugepages=num
Also, it can run faster as root, which allows it to use mlock.
Use a URL of "daemon+tcp://:" - requires bitmonerod v0.9.3.1 or newer
gcc 5 or newer is required.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-6 g++-6 libjansson-dev -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
make
./miner xmr.conf
Donations accepted at: 42QWoLF7pdwMcTXDviJvNkWEHJ4TXnMBh2Cx6HNkVAW57E48Zfw6wLwDUYFDYJAqY7PLJUTz9cHWB5C4wUA7UJPu5wPf4sZ