Please post the details of your mining hardware and the hashing speed you attain using CGMiner. Signed binaries, source code, and verification details are now available.
Here's one of my cards. Will add more later http://www.mininghwcomparison.com/list/amd/index.php?algo=blake256
Can you statically link the signed binaries, I'm getting issues with some linked libraries in ubuntu 14.04 LTE: piffio@sheldon:~/decred/cgminer-decred-linux-x86_64-20160127$ ./cgminer ./cgminer: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
First test whit w64 binaries published on bitcointalk thread form Legendary Wolf0 in benchmark mode with amd R9 270 i have stable 820 Mh/s whit no TLS and CPU miner disabled because whit CPU miner (nicehash miner) i have near 200 Mh/s ... In bat file all SETX form amd and afther commandline cgminer --blake256 --benchmark Tomorrow i test v.0.0 testnet and w32 binaries downloaded from github/decred/cgminer
I tested also with Wolf0s binaries on testnet my hashrate is ~1.450GH on an AMD R9 280X I am getting about the same with the official binaries too
I was afraid of statically linking since AMD/Intel/Nvidia all have their own OpenCL library which gets dlopen()'d when the program starts. The OpenCL library only works with the vendor's hardware/driver version. Can you try: https://github.com/decred/cgminer/r...gminer-decred-linux-x86_64-20160127-v2.tar.gz I added libncursesw.so.6 to the tarball. You may need to do: Code: $ LD_LIBRARY_PATH=. ./cgminer --blake256 --benchmark to get it to load the library.
The issue with ncurses is now fixed, but I'm having more problems with library versions: Code: piffio@sheldon:~/decred/cgminer-decred-linux-x86_64-20160127-v2$ LD_LIBRARY_PATH=.:/usr/local/cuda-7.5/lib64 ./cgminer LD_LIBRARY_PATH=. ./cgminer --blake256 --benchmark ./cgminer: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information available (required by ./cgminer) ./cgminer: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by ./cgminer) Are there somewhere build instructions in order for me to compile my own binary of cgminer?
Ok I added libcurl and made a new tar: https://github.com/decred/cgminer/r...gminer-decred-linux-x86_64-20160127-v3.tar.gz These instructions should work as long as you have the dependencies: Code: $ git clone https://github.com/decred/cgminer $ cd cgminer; sh autogen.sh $ ./configure --enable-opencl $ make I'd appreciate if you could keep testing the new releases of the binaries to help other people out if you don't mind.
Sure I will, but I'd like to know how to build a binary locally in order to not waste too much of your time. Getting better: Code: piffio@sheldon:~/decred/cgminer-decred-linux-x86_64-20160127-v3$ LD_LIBRARY_PATH=. ./cgminer --blake256 --benchmark ./cgminer: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information available (required by ./cgminer) Error opening terminal: screen-256color. I'm going to review the Nvidia driver installation. I use this machine mostly for learning CUDA, but I've never used it thought the OpenCL abstraction layer, and I'm wondering whether the OpenCL implementation shipped with this version of the drivers is OK. Will keep investigating / testing
Pretty sure this is just a warning: Code: ./cgminer: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information available (required by ./cgminer) And this is an actual error: Code: Error opening terminal: screen-256color. If you're using Ubuntu/debian can you try installing the 'ncurses-term' package? Or do: Code: $ TERM=xterm LD_LIBRARY_PATH=. ./cgminer --blake256 --benchmark
This is actually a working value for the term variable: Code: TERM=xterm+256color LD_LIBRARY_PATH=. ./cgminer --blake256 --benchmark Still, the OpenCL issue is more than just a warning apparently: Code: 2016-01-27 18:35:26] Started cgminer 3.7.2[2016-01-27 18:35:26] Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)[2016-01-27 18:35:26] clDevicesNum returned error, no GPUs usable[2016-01-27 18:35 [2016-01-27 18:35:26] ed, cannot mine! But once again, I'm going to review the setup of this machine since I have a serious doubt that it's 100% OK on the Nvidia side
I'm using a GTX 780 and get the following: (5s):785.7M (avg):779.1Mh/s For not using that seems fine to me.
Yes there's something not quite right with the OpenCL library/config. What flavor/version of Linux are you running?
3 X Sapphire Radeon R9 290 4GB GDDR5 wolf-decred-cgminer-01272016-win64 cgminer.exe --blake256 --benchmark cgminer version 3.7.2 - Started: [2016-01-27 20:23:10] -------------------------------------------------------------------------------- temp: 90 C (5s):3.777G (avg):3.708Gh/s | A:0 R:0 HW:0 WU:0.0/m I:8 Radeon Software Version - 15.12 Radeon Software Edition - Crimson Graphics Chipset - AMD Radeon R9 200 Series Memory Size - 4096 MB Memory Type - GDDR5 Core Clock - 947 MHz Windows Version - Windows 7 (Service Pack 1) System Memory - 8 GB Driver Packaging Version - 15.30.1025.1001-151204a-296872C
It's Ubuntu server 14.04.3 LTS with the drivers installed from deb packages. I'm probably going to install the Nvidia binary driver from their site and see if this fixes the current issue, will keep you posted
Finally fixed my issue, I had to install the following package Code: apt-get install -y nvidia-opencl-icd-352 My results are: [2016-01-27 20:25:48] GPU0 | (5s):468.7M (avg):470.8Mh/s | A:0 R:0 HW:0 WU:0.0/m Not great, looking forward for an CUDA version! My Card is a GeForce GTX 750 Ti Thanks for all your support @jolan !
EDIT: I just saw you got it working while posting this but I'll leave it up in case anyone needs more info on how to check that OpenCL is properly installed/configured. I have dealt with Nvidia + OpenCL on Ubuntu in the past and there was definitely some bugginess/weirdness to it. First check what version of the drivers you have: Code: $ dpkg --get-selections |grep nvidia You may need to install 'nvidia-opencl-icd' or a versioned copy like 'nvidia-opencl-icd-331' that matches the driver version that you have installed. Basically there should be a file called /etc/OpenCL/vendors/nvidia.icd. That file specifies the name of the OpenCL library for that vendor, it should be something like: libnvidia-opencl.so.1 Then you make sure that library shows up in ldconfig: Code: $ ldconfig -p |grep libnvidia-opencl If you don't have those 3 things correctly installed/working then OpenCL won't work.