Bitcoin Forum
May 24, 2024, 01:22:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
Author Topic: [BBR] Boolberry GPU Miner Discussion - AMD & Nvidia - OpenCL & CUDA  (Read 82939 times)
azhago
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
July 25, 2014, 11:36:49 AM
 #61

Hi,
i'm trying to use windows binaries, but i got this :
Quote
2014-Jul-25 09:00:14.707796 [P2P4]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!
2014-Jul-25 09:00:14.727796 Miner thread was started
2014-Jul-25 09:00:14.737796 [miner 0][OCL 0/0] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.827797 Miner thread was started [1]
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.837797 [miner 1][OCL 0/1] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:14.927797 Miner thread was started [2]
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:14.937797 [miner 2][OCL 0/2] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.027797 Miner thread was started [3]
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.037797 [miner 3][OCL 0/3] platform index must me between 0
and 4294967295
2014-Jul-25 09:00:15.127797 [P2P4]Mining has started with 5 threads, good luck!
2014-Jul-25 09:00:15.127797 [P2P4][81.31.38.5:10101 OUT] COMMAND_HANDSHAKE INVOK
ED OK
2014-Jul-25 09:00:15.137797 [P2P7]Connecting to 54.90.184.240:10101(white=1, las
t_seen: d0.h0.m9.s45)...
2014-Jul-25 09:00:15.127797 Miner thread was started [4]
2014-Jul-25 09:00:15.187797 [miner 4][OCL 0/4] start with kernel wild_keccak.cl,
 type 0
2014-Jul-25 09:00:15.207797 [miner 4][OCL 0/4] error:  CL_INVALID_VALUE
2014-Jul-25 09:00:15.217797 [miner 4][OCL 0/4] platform index must me between 0
and 4294967295

So, only one card out of 5 can mine.

i run this command line : boolbd --start-mining=1JNsCgTA1pK7ksYpZPsDDV7HihrAN5JKMTNA17fwk6aQD2CknCd34A5UKaZBxft8B9Z6mKFxKuWkheccMdbda2iARS88Y6r --mining-threads=5

In the .json file, i got this :
Quote
{
  "current_extra_message_index": 0,
  "device_index": 0,
  "difficulty": 16777215,
  "donation_decision": true,
  "donation_decision_made": false,
  "donation_descision": true,
  "donation_percent_opencl": "2.0",
  "kernel": "wild_keccak.cl",
  "kernel_type": 0,
  "platform_index": 0,
  "thread_delay": 100,
  "work_size": 262144
}


The download link for windows binary doesn't work?

Read the main thread for BBR, there is a new update miner to download.

What did i do wrong?


--mining-threads=1

No matter how many cards you run, it's in the read me from the source.
"thank you for your "answer", but in the readme file, i read :
"--mining-threads=[n], n - number of GPUs to use"

drkman
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 25, 2014, 04:07:31 PM
 #62

Are these the proper instructions on how to mine on Windows?  Is there another method?
"Windows

Dependencies: MSVC 2012, CMake 2.8.6 or later, and Boost 1.55.

You may download them from:
http://www.microsoft.com/en-US/download/details.aspx?id=34673
http://www.cmake.org/files/v3.0/cmake-3.0.0-win32-x86.exe
http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0-build2/boost_1_55_0-msvc-11.0-64.exe/download

OpenCL SDK (you can install CUDA too):
http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/

To build, edit paths to Boost in cmake-vs2012.bat and run it.
Open the generated build/boolberry.sln in VS2012, change the solution configuration to Release and build the targets you need in the prog group.
You'll find executables in build/src/Release directory.
Copy *.cl kernels from src/cl to executable's directory.

Good luck!"
btc-mike (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1001



View Profile
July 25, 2014, 04:14:49 PM
 #63

Are these the proper instructions on how to mine on Windows?  Is there another method?

.....


No, those instructions are to build the windows programs, something most people (including me) can't do. MBK had the files ready for download, but the link no longer works. If he is unable to put them back up, I will get zoidberg to try to build them.
btc-mike (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1001



View Profile
July 25, 2014, 04:41:37 PM
 #64

I added a brief summary to the first post of this thread. Let me know what else to add. Probably needs more Linux build info.
BChydro
Hero Member
*****
Offline Offline

Activity: 1426
Merit: 506


View Profile
July 25, 2014, 04:43:34 PM
 #65

Are these the proper instructions on how to mine on Windows?  Is there another method?

.....


No, those instructions are to build the windows programs, something most people (including me) can't do. MBK had the files ready for download, but the link no longer works. If he is unable to put them back up, I will get zoidberg to try to build them.
Much appreciated!
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 25, 2014, 11:56:27 PM
 #66

Merged all updates from the main branch.
Source - https://github.com/mbkuperman/boolberry-opencl
Windows x64 binaries  - https://github.com/mbkuperman/boolberry-opencl/releases

Fixed previous binary release too (it was compressed with 7zip instead of zip).

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 26, 2014, 12:08:23 AM
 #67

In the logs you posted before I see
Code:
-- OpenCL: Searching in custom location
It means CUDA_PATH variable is not visible to cmake. Is it still the case? Delete the build directory or better clone the repository from scratch and run make again.

When building on Linux you should:
1. Run 'make clean' if you got back here after some problems.
1. Set CUDA_PATH or AMDAPPSDKROOT, run 'printenv' to check.
2. Run 'make' and watch for OpenCL: Searching for NVIDIA CUDA SDK or OpenCL: Searching for AMD APP SDK. Back to 1st step if it's not in the log.
3. Watch for -- Looking for CL_VERSION_1_x - found. Check the environment variable points to the actual SDK directory if it's not in the log and get back to 1st step.
4. Check the other dependencies were found (Boost).
5. Compilation should start.

first steps clear. CUDA_PATH set. printenv checked.
3. is the problem. -- Looking for CL_VERSION_1_1 - found - is ok - but afterwards the compiler shows my beloved message:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find OpenCL (missing: OPENCL_LIBRARY) (found version "1.1")


with the boolberry miner version from the 22. July (you fixed backward compatibility after for openCL 1.1/1.0) he shows the right path afterwards:
-- Found OpenCL: /usr/local/cuda/include (found version "1.1")
...and failed later (https://bitcointalk.org/index.php?topic=577267.msg7972653#msg7972653)
but with the actual version I did not get so far.

compiling cudaminer and ccminer forks were no problem so far.

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 26, 2014, 12:13:30 AM
 #68

Yes, you can use as many GPUs as you like with solo miner (single thread in readme is about pool miner). Try larger values for thread_delay if config file (ex. 2000). It's in milliseconds.


"thank you for your "answer", but in the readme file, i read :
"--mining-threads=[n], n - number of GPUs to use"


Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
btc-mike (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1001



View Profile
July 26, 2014, 01:12:06 AM
 #69

Merged all updates from the main branch.
Source - https://github.com/mbkuperman/boolberry-opencl
Windows x64 binaries  - https://github.com/mbkuperman/boolberry-opencl/releases

Fixed previous binary release too (it was compressed with 7zip instead of zip).

Thank you! I updated the first post.
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 26, 2014, 09:31:55 AM
Last edit: July 26, 2014, 10:28:18 AM by PVmining
 #70

In the logs you posted before I see
Code:
-- OpenCL: Searching in custom location
It means CUDA_PATH variable is not visible to cmake. Is it still the case? Delete the build directory or better clone the repository from scratch and run make again.

No. It was the case before as you advised to set OPENCL_ROOT (a few days ago).
But the defined path doesn't make a difference... the error is the same.

With set CUDA_PATH he is searching for the nvidia cuda SDK - and he found the CL Versions as you could read in my logs...
the problem is described in this post above, please take a closer look:
https://bitcointalk.org/index.php?topic=693118.msg8016537#msg8016537


...and the error stays the same:

Code:
-- 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
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find OpenCL (missing: OPENCL_LIBRARY) (found version "1.1")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  FindOpenCL.cmake:159 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:13 (find_package)
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 26, 2014, 10:38:47 AM
 #71

Looks like the OPENCL_LIBRARY is undefined. It should be in line 149. Edit FindOpenCL.cmake. Put debug messages after the find_library call.
Code:
  # Find the library
  find_library(OPENCL_LIBRARY OpenCL
    PATHS /lib${_OPENCL_LIB_DIR_SUFFIX}
    ${_OPENCL_LIB_OPTS}
    ${_OPENCL_ROOT_OPTS}
  )

  message("OpenCL Library: ${OPENCL_LIBRARY}")
  message("Path: ${CMAKE_FIND_ROOT_PATH}")
  message("Library suffix: ${_OPENCL_LIB_DIR_SUFFIX}")
  message("OPENCL_LIB_OPTS: ${_OPENCL_LIB_OPTS}")
  message("OPENCL_ROOT_OPTS: ${_OPENCL_ROOT_OPTS}")
Here is the correct output:
Code:
-- OpenCL: Searching for NVIDIA CUDA SDK
-- 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
OpenCL Library: /opt/cuda/lib64/libOpenCL.so
Path: /opt/cuda
Library suffix: 64
OPENCL_LIB_OPTS:
OPENCL_ROOT_OPTS: ONLY_CMAKE_FIND_ROOT_PATH;NO_DEFAULT_PATH
-- Found OpenCL: /opt/cuda/include (found version "1.1")

In the logs you posted before I see
Code:
-- OpenCL: Searching in custom location
It means CUDA_PATH variable is not visible to cmake. Is it still the case? Delete the build directory or better clone the repository from scratch and run make again.

No. It was the case before as you advised to set OPENCL_ROOT (a few days ago).
But the defined path doesn't make a difference... the error is the same.

With set CUDA_PATH he is searching for the nvidia cuda SDK - and her found the CL Versions as you could read in my logs...
the problem is described in this post above, please take a closer look:
https://bitcointalk.org/index.php?topic=693118.msg8016537#msg8016537


...and the error stays the same:

Code:
-- 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
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find OpenCL (missing: OPENCL_LIBRARY) (found version "1.1")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  FindOpenCL.cmake:159 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:13 (find_package)

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 26, 2014, 10:41:43 AM
 #72

Got a 42.6% increase on my 860M, which is basically a 750Ti. That took a while.

Proof: https://ottrbutt.com/tmp/bbropenclstock2.png vs. https://ottrbutt.com/tmp/bbropenclwolf2.png

wow! get it on... you do a lot of cool stuff at the moment (tsiv CN).
If your BBR version would be easy to compile for nvidia linux guys I would be more than happy.
PVmining
Sr. Member
****
Offline Offline

Activity: 330
Merit: 252



View Profile
July 26, 2014, 10:44:31 AM
 #73

Looks like the OPENCL_LIBRARY is undefined. It should be in line 149. Edit FindOpenCL.cmake. Put debug messages after the find_library

thanks... I hope that brings us a step further.
I will try this tomorrow when I'm back at home.
Have a good time.
ivcelmik
Sr. Member
****
Offline Offline

Activity: 519
Merit: 250


View Profile WWW
July 26, 2014, 04:35:14 PM
Last edit: July 30, 2014, 11:45:56 AM by malevolent
 #74

Got a 42.6% increase on my 860M, which is basically a 750Ti. That took a while.

NSFW
Proof: https://ottrbutt.com/tmp/bbropenclstock2.png vs. https://ottrbutt.com/tmp/bbropenclwolf2.png

Hi,can u help meu with a config of your bat file

Thx in advance
crazycoin
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 26, 2014, 09:12:30 PM
 #75

Hi,

I am having similar problems to Antonio with the miner. My environment is following:
-Ubuntu 14.04
-Biostar HB61 + 5 x 7950
- AMD drivers 14.6 beta
- AMD APP SDK installed version 2.9
- miner compiled with make -j=5

once I start mining in simple wallet using start_mining 5 I am getting following:

2014-Jul-26 23:02:23.210488 [RPC0]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2014-Jul-26 23:02:23.217932 Miner thread was started
2014-Jul-26 23:02:23.218006 [miner 0][OCL 0/0] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:02:23.326086 Miner thread was started [1]
2014-Jul-26 23:02:23.326417 [miner 1][OCL 0/1] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:02:23.326614 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-26 23:02:23.326769 [miner 1][OCL 0/1] platform index must me between 0 and 4294967295
2014-Jul-26 23:02:23.384927 [miner 0][OCL 0/0] error:  CL_INVALID_VALUE
2014-Jul-26 23:02:23.385091 [miner 0]ERROR /home/klemen/boolberry-opencl/src/currency_core/OCL_Device.cpp:222[_cl_program* OCL_Device::GetProgram(const char*)][OCL 0/0] build log: �
2014-Jul-26 23:02:23.385186 [miner 0][OCL 0/0] error:  CL_INVALID_PROGRAM
2014-Jul-26 23:02:23.385276 [miner 0][OCL 0/0] error:  CL_INVALID_PROGRAM
2014-Jul-26 23:02:23.385376 [miner 0][OCL 0/0] using platform: AMD Accelerated Parallel Processing
2014-Jul-26 23:02:23.385477 [miner 0][OCL 0/0] using device:Tahiti
2014-Jul-26 23:02:23.385563 [miner 0]Share target (diff 16777215) 0000010000010000
2014-Jul-26 23:02:23.430528 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430582 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430600 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430615 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430631 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430648 [miner 0][OCL 0/0] error:  CL_INVALID_KERNEL
2014-Jul-26 23:02:23.430729 [miner 0]Miner thread stopped
2014-Jul-26 23:02:23.427891 Miner thread was started [2]
2014-Jul-26 23:02:23.431012 [miner 2][OCL 0/2] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:02:23.431219 [miner 2][OCL 0/2] device index must me between 0 and 0
2014-Jul-26 23:02:23.518074 Miner thread was started [3]
2014-Jul-26 23:02:23.518167 [miner 3][OCL 0/3] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:02:23.518214 [miner 3][OCL 0/3] device index must me between 0 and 0

any thoughts?

If necessary I can also downgrade to Ubuntu 13.10 with AMD 13.12 drivers. (althought it would take me several hours)

crazycoin
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 26, 2014, 09:26:58 PM
 #76

after reading this important info:

Copy *.cl kernels from src/cl to executable's directory.

I am getting following:

2014-Jul-26 23:22:00.628664 Miner thread was started
2014-Jul-26 23:22:00.628745 [miner 0][OCL 0/0] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734255 Miner thread was started [1]
2014-Jul-26 23:22:00.734388 [miner 1][OCL 0/1] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734422 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.734445 [miner 1][OCL 0/1] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.828791 Miner thread was started [2]
2014-Jul-26 23:22:00.828856 [miner 2][OCL 0/2] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.828879 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.828897 [miner 2][OCL 0/2] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.936981 Miner thread was started [3]
2014-Jul-26 23:22:00.937955 [miner 3][OCL 0/3] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.938108 [miner 3][OCL 0/3] device index must me between 0 and 0
2014-Jul-26 23:22:01.028934 [RPC1]Mining has started with 5 threads, good luck!
2014-Jul-26 23:22:01.037096 Miner thread was started [4]
2014-Jul-26 23:22:01.037270 [miner 4][OCL 0/4] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:01.037396 [miner 4][OCL 0/4] device index must me between 0 and 0
hr: 0, efficiency: 0% (shares 0/0, blocks 0/0)
2014-Jul-26 23:22:01.591695 [miner 0][OCL 0/0] using platform: AMD Accelerated Parallel Processing
2014-Jul-26 23:22:01.591750 [miner 0][OCL 0/0] using device:Tahiti
2014-Jul-26 23:22:01.591772 [miner 0]Share target (diff 16777215) 0000010000010000
hr: 349234, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 494446, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 567364, efficiency: 0% (shares 0/0, blocks 0/0)

It seams that first gpu is working and other are not.
mbk
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile WWW
July 26, 2014, 10:09:37 PM
 #77

I gave the suggestion on both threads before but here it is again:
Try larger values for thread_delay in config file (ex. 2000). It's in milliseconds.

after reading this important info:

Copy *.cl kernels from src/cl to executable's directory.

I am getting following:

2014-Jul-26 23:22:00.628664 Miner thread was started
2014-Jul-26 23:22:00.628745 [miner 0][OCL 0/0] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734255 Miner thread was started [1]
2014-Jul-26 23:22:00.734388 [miner 1][OCL 0/1] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734422 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.734445 [miner 1][OCL 0/1] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.828791 Miner thread was started [2]
2014-Jul-26 23:22:00.828856 [miner 2][OCL 0/2] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.828879 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.828897 [miner 2][OCL 0/2] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.936981 Miner thread was started [3]
2014-Jul-26 23:22:00.937955 [miner 3][OCL 0/3] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.938108 [miner 3][OCL 0/3] device index must me between 0 and 0
2014-Jul-26 23:22:01.028934 [RPC1]Mining has started with 5 threads, good luck!
2014-Jul-26 23:22:01.037096 Miner thread was started [4]
2014-Jul-26 23:22:01.037270 [miner 4][OCL 0/4] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:01.037396 [miner 4][OCL 0/4] device index must me between 0 and 0
hr: 0, efficiency: 0% (shares 0/0, blocks 0/0)
2014-Jul-26 23:22:01.591695 [miner 0][OCL 0/0] using platform: AMD Accelerated Parallel Processing
2014-Jul-26 23:22:01.591750 [miner 0][OCL 0/0] using device:Tahiti
2014-Jul-26 23:22:01.591772 [miner 0]Share target (diff 16777215) 0000010000010000
hr: 349234, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 494446, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 567364, efficiency: 0% (shares 0/0, blocks 0/0)

It seams that first gpu is working and other are not.

Boolberry OpenCL solo miner - https://github.com/mbkuperman/boolberry-opencl
Boolberry OpenCL stratum pool miner - https://github.com/mbkuperman/cpuminer-multi-opencl
MBK's Boolberry pool - http://bbr.mbkpool.info
crazycoin
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 26, 2014, 11:17:52 PM
Last edit: July 26, 2014, 11:57:47 PM by crazycoin
 #78

I am trying to execute following:

./boolbd  --start-mining=1F9hbj8w... --mining-threads=1
./boolbd --data-dir dr1 --start-mining=1F9hbj8wp... --mining-threads=1
./boolbd --data-dir dr2 --start-mining=1F9hbj8w... --mining-threads=1
./boolbd --data-dir dr3 --start-mining=1F9hbj8....  --mining-threads=1
./boolbd --data-dir dr4 --start-mining=1F9hb... --mining-threads=1

first instance works, but second do not, I am getting following error message

2014-Jul-27 01:55:55.783175 ERROR /home/klemen/boolberry-opencl/contrib/epee/include/net/abstract_tcp_server2.inl:475[bool epee::net_utils::boosted_tcp_server<t_protocol_handler>::init_server(uint32_t, std::string) [with t_protocol_handler = epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<currency::currency_connection_context> >; uint32_t = unsigned int; std::string = std::basic_string<char>]]Exception at [boosted_tcp_server<t_protocol_handler>::init_server], what=bind: Address already in use
2014-Jul-27 01:55:55.783220 ERROR /home/klemen/boolberry-opencl/src/p2p/net_node.inl:262[bool nodetool::node_server<t_payload_net_handler>::init(const boost::program_options::variables_map&) [with t_payload_net_handler = currency::t_currency_protocol_handler<currency::core>]]Failed to bind server
2014-Jul-27 01:55:55.783245 ERROR /home/klemen/boolberry-opencl/src/daemon/daemon.cpp:150[int main(int, char**)]Failed to initialize p2p server.



also setting   "thread_delay": 2000, and using 5 mining threads do not work


{
  "current_extra_message_index": 0,
  "device_index": 0,
  "difficulty": 16777215,
  "donation_decision": true,
  "donation_decision_made": false,
  "donation_descision": true,
  "donation_percent_opencl": "2.0",
  "kernel": "wild_keccak.cl",
  "kernel_type": 0,
  "platform_index": 0,
  "thread_delay": 2000,
  "work_size": 262144
}


bgcfb
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
July 27, 2014, 04:51:28 AM
 #79

I gave the suggestion on both threads before but here it is again:
Try larger values for thread_delay in config file (ex. 2000). It's in milliseconds.

after reading this important info:

Copy *.cl kernels from src/cl to executable's directory.

I am getting following:

2014-Jul-26 23:22:00.628664 Miner thread was started
2014-Jul-26 23:22:00.628745 [miner 0][OCL 0/0] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734255 Miner thread was started [1]
2014-Jul-26 23:22:00.734388 [miner 1][OCL 0/1] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.734422 [miner 1][OCL 0/1] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.734445 [miner 1][OCL 0/1] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.828791 Miner thread was started [2]
2014-Jul-26 23:22:00.828856 [miner 2][OCL 0/2] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.828879 [miner 2][OCL 0/2] error:  CL_INVALID_VALUE
2014-Jul-26 23:22:00.828897 [miner 2][OCL 0/2] platform index must me between 0 and 4294967295
2014-Jul-26 23:22:00.936981 Miner thread was started [3]
2014-Jul-26 23:22:00.937955 [miner 3][OCL 0/3] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:00.938108 [miner 3][OCL 0/3] device index must me between 0 and 0
2014-Jul-26 23:22:01.028934 [RPC1]Mining has started with 5 threads, good luck!
2014-Jul-26 23:22:01.037096 Miner thread was started [4]
2014-Jul-26 23:22:01.037270 [miner 4][OCL 0/4] start with kernel wild_keccak.cl, type 0
2014-Jul-26 23:22:01.037396 [miner 4][OCL 0/4] device index must me between 0 and 0
hr: 0, efficiency: 0% (shares 0/0, blocks 0/0)
2014-Jul-26 23:22:01.591695 [miner 0][OCL 0/0] using platform: AMD Accelerated Parallel Processing
2014-Jul-26 23:22:01.591750 [miner 0][OCL 0/0] using device:Tahiti
2014-Jul-26 23:22:01.591772 [miner 0]Share target (diff 16777215) 0000010000010000
hr: 349234, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 494446, efficiency: 0% (shares 0/0, blocks 0/0)
hr: 567364, efficiency: 0% (shares 0/0, blocks 0/0)

It seams that first gpu is working and other are not.
solved!It works now~
the thread_delay default should be set @2000
crazycoin
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 27, 2014, 08:02:01 AM
 #80

I have set thread_delay to 4000, but still does not work.

Is anybody else using latest beta 14.6 drivers?

Is there a way to manually start single instance with mining_threat=1 that would bind to 2nd or 3rd gpu? Perhapss using  "device_index" field? Because in thatt case I would manually start 5 instances of miner.
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!