It did not work smoothly at first as I did not add CMake to the path when I installed it (which caused getstuff.bat to break). I manually added it later to the environment which fixed the problem. I also recommend installing everything at the top level (C:), so for example cpp-ethereum lives in C:\cpp-ethereum.
Also, when I finally got ethminer building I forgot to add this:
-DETHASHCL=1
to CMake so when I started mining it was recognizing my GPU but I was seeing 0 H/s.
The options for geth have changed slightly so you'll need to change this:
Windows 7 / AMD R9 280x / 1.0.0 Using platform: AMD Accelerated Parallel Processing Using device: Tahiti(OpenCL 1.2 AMD-APP (1800.8)) Printing program log
Creating one big buffer for the DAG Loading single big chunk kernels Mapping one big chunk. Creating buffer for header. Creating mining buffer 0 Creating mining buffer 1 Trial 1... 26022289 Trial 2... 26293016 Trial 3... 26205664 Trial 4... 26127018 Trial 5... 25943608 min/mean/max: 25943608/26118319/26293016 H/s inner mean: 26118323 H/s Phoning home to find world ranking...
Comments
Trial 1... 26389162
Trial 2... 26563925
Trial 3... 26563925
Trial 4... 26476544
Trial 5... 26563925
min/mean/max: 26389162/26511496/26563925 H/s
inner mean: 17680156 H/s
Windows 8.1/Radeon R9 290 4GB/Intel i5
Trial 1... 24720677
Trial 2... 24521459
Trial 3... 24521459
Trial 4... 24608724
Trial 5... 24545972
min/mean/max: 24521459/24583658/24720677 H/s
inner mean: 24625124 H/s
Trial 1... 1310720
Trial 2... 1310720
Trial 3... 1223338
Trial 4... 1310720
Trial 5... 1310720
min/mean/max: 1223338/1293243/1310720 H/s
inner mean: 436906 H/s
Lenovo Z50 laptop
[email protected]:~/cpp-ethereum/build/eth$ ./eth -b -G -M
(++)Ethereum
Welcome to Olympic!
[OPENCL]:Found suitable OpenCL device [Tahiti] with 2575302656 bytes of GPU memory
Benchmarking on platform: GPU
Preparing DAG...
Warming up...
ℹ 11:44:30|gpuminer0 workLoop 0 #00000000… #00000000…
ℹ 11:44:30|gpuminer0 Initialising miner...
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Tahiti(OpenCL 1.2 AMD-APP (1729.3))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Allocating single buffer failed with: clCreateBuffer(-61)
[OPENCL]:Failed to allocate 1 big chunk. Max allocateable memory is 1031012352. Trying to allocate 4 chunks.
[OPENCL]:Creating buffer for chunk 0
[OPENCL]:Creating buffer for chunk 1
[OPENCL]:Creating buffer for chunk 2
[OPENCL]:Creating buffer for chunk 3
[OPENCL]:Loading chunk kernels
[OPENCL]:Creating buffer for header.
[OPENCL]:Mapping chunk 0
[OPENCL]:Mapping chunk 1
[OPENCL]:Mapping chunk 2
[OPENCL]:Mapping chunk 3
[OPENCL]:Creating mining buffer 0
[OPENCL]:Creating mining buffer 1
Trial 1... 12058624
Trial 2... 12058624
Trial 3... 11971242
Trial 4... 12058624
Trial 5... 12058624
min/mean/max: 11971242/12041147/12058624 H/s
inner mean: 4019541 H/s
Phoning home to find world ranking...
[email protected]:~/cpp-ethereum/build/eth$
min/mean/max: 26.17 MH / 26.28 MH / 26.36 MH
inner mean: 9.86 MH/s
results obtained from:
./eth -M --benchmark-trials 10 --benchmark-trial 7 --benchmark-warmup 10 -G
(++)Ethereum
Welcome to Olympic!
[OPENCL]:Found suitable OpenCL device [Hawaii] with 8370782208 bytes of GPU memory
Benchmarking on platform: GPU
Preparing DAG...
Warming up...
ℹ 21:18:19|gpuminer0 workLoop 0 #00000000… #00000000…
ℹ 21:18:19|gpuminer0 Initialising miner...
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Hawaii(OpenCL 2.0 AMD-APP (1800.5))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Created one big buffer for the DAG
[OPENCL]:Loading single big chunk kernels
[OPENCL]:Creating buffer for header.
[OPENCL]:Mapping one big chunk.
[OPENCL]:Creating mining buffer 0
[OPENCL]:Creating mining buffer 1
Trial 1... 26364196
Trial 2... 26364196
Trial 3... 26289298
Trial 4... 26251849
Trial 5... 26251849
Trial 6... 26289298
Trial 7... 26364196
Trial 8... 26289298
Trial 9... 26251849
Trial 10... 26176950
min/mean/max: 26176950/26289297/26364196 H/s
inner mean: 9863167 H/s
Phoning home to find world ranking...
with ATI drivers latest: amd-driver-installer-15.20.1046-x86.x86_64.zip
no OC, no tweaking whatsoever.
./eth -V
eth version 0.9.34
eth network protocol version: 61
Client database version: 11785
Build: Linux/g++/int/Release
cheers
https://medium.com/@timothyjcoulter/mining-ethereum-on-windows-55f3f4f2217c
It did not work smoothly at first as I did not add CMake to the path when I installed it (which caused getstuff.bat to break). I manually added it later to the environment which fixed the problem. I also recommend installing everything at the top level (C:), so for example cpp-ethereum lives in C:\cpp-ethereum.
Also, when I finally got ethminer building I forgot to add this:
-DETHASHCL=1
to CMake so when I started mining it was recognizing my GPU but I was seeing 0 H/s.
The options for geth have changed slightly so you'll need to change this:
geth.exe -rpc -unlock=primary
to this:
geth.exe -rpc -unlock=0
I am currently running geth v0.9.39 (you can see my node here: https://stats.ethdev.com/)
inner mean: 17534520 H/s
PowerColor turboduo R9270AXOC
Produces:
min/mean/max: 18387529/18424978/18462427 H/s
inner mean: 4610925 H/s
2x PowerColor turboduo R9270AXOC
min/mean/max: 0/18979225/28224170 H/s
inner mean: 12815928 H/s
~$ ethminer -G -M
[OPENCL]:Found suitable OpenCL device [Tahiti] with 2786066432 bytes of GPU memory
Benchmarking on platform: GPU
Preparing DAG...
Warming up...
ℹ 03:02:54|gpuminer0 workLoop 0 #00000000… #00000000…
ℹ 03:02:54|gpuminer0 Initialising miner...
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Tahiti(OpenCL 1.2 AMD-APP (1729.3))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Creating one big buffer for the DAG
[OPENCL]:Loading single big chunk kernels
[OPENCL]:Mapping one big chunk.
Trial 1... 0
Trial 2... 0
Trial 3... [OPENCL]:Creating buffer for header.
[OPENCL]:Creating mining buffer 0
[OPENCL]:Creating mining buffer 1
14155776
Trial 4... 24379392
Trial 5... 24292010
min/mean/max: 0/12565435/24379392 H/s
inner mean: 20942392 H/s
Not sure whats up with the zeros tough....
Trial 1... 25777493
Trial 2... 25864874
Trial 3... 25864874
Trial 4... 25777493
Trial 5... 25864874
min/mean/max: 25777493/25829921/25864874 H/s
inner mean: 8621624 H/s
Coud you help me with this question?
What is the "inner mean" compared to the "mean" ? Why is it so much lower?
best regards
7.7 MH/s
79-80MH/s
min/mean/max: 8.91/8.95/9.00 MH/s
inner mean: 3.00 MH/s
OSX Yosemite / 10.10.4 (14E46) / GeForce GT 750M 2048 MB / 0.9.38
min/mean/max: 0.87/0.92/0.96 MH/s
inner mean: 0.93 MH/s
min/mean/max: 9.1 / 9.2 / 9.2 MH/s
inner mean: 3.1 MH/s
Using platform: AMD Accelerated Parallel Processing
Using device: Tahiti(OpenCL 1.2 AMD-APP (1800.8))
Printing program log
Creating one big buffer for the DAG
Loading single big chunk kernels
Mapping one big chunk.
Creating buffer for header.
Creating mining buffer 0
Creating mining buffer 1
Trial 1... 26022289
Trial 2... 26293016
Trial 3... 26205664
Trial 4... 26127018
Trial 5... 25943608
min/mean/max: 25943608/26118319/26293016 H/s
inner mean: 26118323 H/s
Phoning home to find world ranking...
but on etherchain i see only 9MH/s, weird...
min/mean/max: 3/20/24 MH/s
inner mean: 16 MH/s
min/mean/max: 7/20/24 MH/s
inner mean: 16 MH/s
Total 48 MH/s : D