Pages:
Author

Topic: [BBR] Boolberry GPU Miner Discussion - AMD & Nvidia - OpenCL & CUDA - page 25. (Read 82970 times)

full member
Activity: 168
Merit: 100
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


Thank you for the hard work and dedication to making this happen! Smiley
mbk
member
Activity: 106
Merit: 10
Got it. Thanks.

1000 BBR held by me has been sent to mbk
transaction 72359503cc4df572b193e8647c5607a59e1c130546436435b5df95b5175985d8
mbk
member
Activity: 106
Merit: 10
Fixed the Linux build. Tested on Ubuntu 13.10 and AMD SDK. Should work with CUDA too. Pull the update and make it again.

I have problems compiling your miner.
Kubuntu with cuda 5.5 installed.
Any idea?

hero member
Activity: 938
Merit: 1001
1000 BBR held by me has been sent to mbk
transaction 72359503cc4df572b193e8647c5607a59e1c130546436435b5df95b5175985d8
sr. member
Activity: 330
Merit: 252
I have problems compiling your miner.
Kubuntu with cuda 5.5 installed.
Any idea?

Code:
root@kopiemtu:/opt/miners/boolberry-opencl# make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- OpenCL: Searching in custom location
-- Looking for CL_VERSION_1_0
-- Looking for CL_VERSION_1_0 - found
-- Looking for CL_VERSION_1_1
-- Looking for CL_VERSION_1_1 - found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - not found
-- Found OpenCL: /usr/local/cuda-5.5/include (found version "1.1")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   chrono
--   regex
--   serialization
--   atomic
--   program_options
-- Found Git: /usr/bin/git
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/miners/boolberry-opencl/build/release
cd build/release && make
make[1]: Entering directory `/opt/miners/boolberry-opencl/build/release'
make[2]: Entering directory `/opt/miners/boolberry-opencl/build/release'
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
Scanning dependencies of target version
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
fatal: No names found, cannot describe anything.
CMake Warning at src/version.cmake:3 (message):
  Cannot determine current revision.  Make sure that you are building either
  from a Git working tree or from a source archive.


make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
[  0%] Built target version
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
Scanning dependencies of target upnpc-static
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
[  1%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o
[  2%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/miniupnpc.c.o
[  3%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minixml.c.o
[  4%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minisoap.c.o
[  5%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/miniwget.c.o
[  6%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o
[  7%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpcommands.c.o
[  8%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpreplyparse.c.o
[  9%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnperrors.c.o
[ 10%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/connecthostport.c.o
[ 11%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/portlistingparse.c.o
[ 12%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/receivedata.c.o
[ 13%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minissdpc.c.o
Linking C static library libminiupnpc.a
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
[ 13%] Built target upnpc-static
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
Scanning dependencies of target common
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
[ 14%] Building CXX object src/CMakeFiles/common.dir/common/base58.cpp.o
[ 15%] Building CXX object src/CMakeFiles/common.dir/common/command_line.cpp.o
[ 16%] Building CXX object src/CMakeFiles/common.dir/common/util.cpp.o
Linking CXX static library libcommon.a
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
[ 16%] Built target common
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
Scanning dependencies of target currency_core
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[3]: Entering directory `/opt/miners/boolberry-opencl/build/release'
[ 17%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/OCL_Device.cpp.o
/opt/miners/boolberry-opencl/src/currency_core/OCL_Device.cpp:1:23: fatal error: CL\opencl.h: No such file or directory
 #include
                       ^
compilation terminated.
make[3]: *** [src/CMakeFiles/currency_core.dir/currency_core/OCL_Device.cpp.o] Error 1
make[3]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[2]: *** [src/CMakeFiles/currency_core.dir/all] Error 2
make[2]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/miners/boolberry-opencl/build/release'
make: *** [build-release] Error 2


mbk
member
Activity: 106
Merit: 10
I used 14.4 and 14.6.

there's error while mining, it says fatal error, and then the hashrate decrease,what's the version of you video card driver for test? i'm using 13.12 for AMD 280X
full member
Activity: 122
Merit: 100
there's error while mining, it says fatal error, and then the hashrate decrease,what's the version of you video card driver for test? i'm using 13.12 for AMD 280X
member
Activity: 81
Merit: 1002
It was only the wind.
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


I saw it. Congratulations, the keccak implementation looks a little like mine - and it definitely doesn't look like a copy/paste a four-year-old could do.
Is this officially mean AWS mining is profitable again?!!?

It's OpenCL. God only knows if it'll even work with Nvidia. Besides, AWS mining has always been profitable... you just need to know some stuff.
mbk
member
Activity: 106
Merit: 10
It works on NVidia but AWS g2.2 gets only 365 khs on GPU + 200 khs on CPU . It's not enough even for spot Linux instances right now.


Is this officially mean AWS mining is profitable again?!!?

It's OpenCL. God only knows if it'll even work with Nvidia. Besides, AWS mining has always been profitable... you just need to know some stuff.
mbk
member
Activity: 106
Merit: 10
Yes, I've done simpleminer version first just to find out all the pools to be unreliable for real mining so I've done boolbd version. Anyway simpleminer works just fine if you find fast and reliable JSON RPC pool.


Oh ok, so this is optimized for solo mining only at the moment then?
member
Activity: 81
Merit: 1002
It was only the wind.
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


I saw it. Congratulations, the keccak implementation looks a little like mine - and it definitely doesn't look like a copy/paste a four-year-old could do.
hero member
Activity: 518
Merit: 500
You should run boolbd.exe to solo mine. It's exactly the same as with original miner. My version just uses GPUs instead of CPU cores.
Code:
boolbd --start-mining=
--mining-threads=1
(or 2,3 if you have many GPUs).

It should synchronize the blockchain before mining starts so wait if you run boolbd.exe first time. If you loaded the blockchain with original boolbd this miner will use it. Look at the output for lines like:
Code:
hr: 510698, efficiency: 185% (shares 2/2, blocks 0/0)

Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


Code:
 Boolberry daemon OpenCL configuration

OpenCL miner supports ordinary mining parameters:

--start-mining=[address]

--mining-threads=[n], n - number of GPUs to use

Run the daemon once to create miner_conf.json in the data directory.

Keys to tune the miner: "platform_index" - use OpenCL platform (if you have manym, default 0)

"device_index" - use OpenCL devices from (if you have many, default from 0)

"difficulty" - virtual share difficulty for statistics

"donation_percent_opencl" - OpenCL developer donation, default value - 2%

"kernel" - OpenCL kernel file name

"kernel_type" - kernel type: 0 - all-in-one, 1 - multiple step version (wild_keccak-multi.cl)

"thread_delay" - delay in ms between thread startups

"work_size" - OpenCL work size (smaller values make the computer more responsive)

So, it's "--start-mining" instead of "--pool-address" for the miner?

If certain options like kernel_type, work_size, etc aren't put it, will it go to a default setting?

So, there's no stratum for it yet? I'm mining with it, but what shows the stats of the hashrate?


Oh ok, so this is optimized for solo mining only at the moment then?
mbk
member
Activity: 106
Merit: 10
You should run boolbd.exe to solo mine. It's exactly the same as with original miner. My version just uses GPUs instead of CPU cores.
Code:
boolbd --start-mining=
--mining-threads=1
(or 2,3 if you have many GPUs).

It should synchronize the blockchain before mining starts so wait if you run boolbd.exe first time. If you loaded the blockchain with original boolbd this miner will use it. Look at the output for lines like:
Code:
hr: 510698, efficiency: 185% (shares 2/2, blocks 0/0)

Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


Code:
 Boolberry daemon OpenCL configuration

OpenCL miner supports ordinary mining parameters:

--start-mining=[address]

--mining-threads=[n], n - number of GPUs to use

Run the daemon once to create miner_conf.json in the data directory.

Keys to tune the miner: "platform_index" - use OpenCL platform (if you have manym, default 0)

"device_index" - use OpenCL devices from (if you have many, default from 0)

"difficulty" - virtual share difficulty for statistics

"donation_percent_opencl" - OpenCL developer donation, default value - 2%

"kernel" - OpenCL kernel file name

"kernel_type" - kernel type: 0 - all-in-one, 1 - multiple step version (wild_keccak-multi.cl)

"thread_delay" - delay in ms between thread startups

"work_size" - OpenCL work size (smaller values make the computer more responsive)

So, it's "--start-mining" instead of "--pool-address" for the miner?

If certain options like kernel_type, work_size, etc aren't put it, will it go to a default setting?

So, there's no stratum for it yet? I'm mining with it, but what shows the stats of the hashrate?

member
Activity: 81
Merit: 1002
It was only the wind.
I'd write an implementation of Wild Keccak for GPU, but I do not want to deal with that scratchpad shit.
Probably the common issue.

True, but usually when a GPU miner is made, you get some copy + paste shit from sphlib for the algo. I don't do that.

What can we do to help with the scratchpad related code?

Well, if all the divisions and shit can be done on CPU, we could just pass the scratchpad to the GPU... on second thought, since host to device transfers are slow, that may not be the best idea. It may be unavoidable, though, if the scratchpad needs to be updated with data from the internet - at least the changes will have to be copied to the GPU.
hero member
Activity: 518
Merit: 500
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


Code:
 Boolberry daemon OpenCL configuration

OpenCL miner supports ordinary mining parameters:

--start-mining=[address]

--mining-threads=[n], n - number of GPUs to use

Run the daemon once to create miner_conf.json in the data directory.

Keys to tune the miner: "platform_index" - use OpenCL platform (if you have manym, default 0)

"device_index" - use OpenCL devices from (if you have many, default from 0)

"difficulty" - virtual share difficulty for statistics

"donation_percent_opencl" - OpenCL developer donation, default value - 2%

"kernel" - OpenCL kernel file name

"kernel_type" - kernel type: 0 - all-in-one, 1 - multiple step version (wild_keccak-multi.cl)

"thread_delay" - delay in ms between thread startups

"work_size" - OpenCL work size (smaller values make the computer more responsive)

So, it's "--start-mining" instead of "--pool-address" for the miner?

If certain options like kernel_type, work_size, etc aren't put it, will it go to a default setting?

So, there's no stratum for it yet? I'm mining with it, but what shows the stats of the hashrate?
sr. member
Activity: 378
Merit: 254
small fry
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK


I saw it. Congratulations, the keccak implementation looks a little like mine - and it definitely doesn't look like a copy/paste a four-year-old could do.
Is this officially mean AWS mining is profitable again?!!?
mbk
member
Activity: 106
Merit: 10
Open source Boolberry OpenCL miner
https://github.com/mbkuperman/boolberry-opencl.git

Read README.md for details and build instructions.

Windows x64 executables:
https://github.com/mbkuperman/boolberry-opencl/releases/download/v1.0/BoolberryOCL-20140719.zip

2% developer donation (you can change or disable it in the configuration file)

Solo version: boolbd.exe (best performance/reliability)
Pool (JSON RPC) version: simpleminer.exe (please, use solo version if you can!)

Personally, I think it doesn't make any sense to use pools while the block value is about $7. Just give enough time to the solo miner.

Tested on AMD GPUs only!

Expected performance:
6870, R270x - 500-600 khs
6970, R280X - 900-1000 khs

OpenCL code is available under the terms of the GNU Public License version 3.
Author: Mikhail Kuperman ([email protected])
BBR donation address: 1EmWGnwhydr3S2vRWQbbefh1hgDKgMjdMGe43ZgdPhdARhNBRkUMuD4YzLA2nyYG8tg2HKCCBg4aDam JKypRQWW1Ca2kSV8
BTC donation address: 1Lns6UjL3sw77DJ5z1EKJZy6SnqriqvVGK
member
Activity: 81
Merit: 1002
It was only the wind.
I'd write an implementation of Wild Keccak for GPU, but I do not want to deal with that scratchpad shit.
Probably the common issue.

True, but usually when a GPU miner is made, you get some copy + paste shit from sphlib for the algo. I don't do that.
sr. member
Activity: 378
Merit: 254
small fry
has buchner still not open sourced his friggin cryptonote miner code?
wowzers
hero member
Activity: 938
Merit: 1001
I'd write an implementation of Wild Keccak for GPU, but I do not want to deal with that scratchpad shit.
Probably the common issue.

True, but usually when a GPU miner is made, you get some copy + paste shit from sphlib for the algo. I don't do that.

What can we do to help with the scratchpad related code?
Pages:
Jump to: