Bitcoin Forum
June 15, 2024, 02:01:27 AM *
News: Voting for pizza day contest
 
   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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ... 91 »
  Print  
Author Topic: SILENTARMY v5: Zcash miner, 115 sol/s on R9 Nano, 70 sol/s on GTX 1070  (Read 209264 times)
scryptr
Legendary
*
Offline Offline

Activity: 1796
Merit: 1028



View Profile WWW
November 07, 2016, 02:37:57 PM
 #181

I think I have it ~10% faster atm, still working!

WILL THIS MINING ENGINE BE FOLDED INTO SGMINER-GM? --

The inclusion of Ethereum mining routines within SGminer-GM was really an accomplishment.  Will the Zcash algorithm follow?       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
Streetlight9
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
November 07, 2016, 03:32:06 PM
 #182

I think I have it ~10% faster atm, still working!

woof woof...

I'll get my coat.. Grin
nerdralph
Sr. Member
****
Offline Offline

Activity: 588
Merit: 251


View Profile
November 07, 2016, 03:35:54 PM
 #183

I think I have it ~10% faster atm, still working!

So we're not duplicating our efforts, I'll PM you the optimizations I'm working on.
nerdralph
Sr. Member
****
Offline Offline

Activity: 588
Merit: 251


View Profile
November 07, 2016, 04:15:41 PM
 #184

I think I have it ~10% faster atm, still working!

So we're not duplicating our efforts, I'll PM you the optimizations I'm working on.

You're thinking WAY too hard. Mine was rather simple. I should also probably reduce branching in the kernel for another speedup...

Also, final test for this optimization shows it only around 8%, if I did my math right.

I don't think it is compute limited, so branch reductions shouldn't make a material difference.  Even when not waiting for memory, most of the threads in a wafefront aren't executing after the first tuple (collision) found in a row.
stef942
Full Member
***
Offline Offline

Activity: 181
Merit: 100


View Profile
November 07, 2016, 04:16:04 PM
 #185

hi, can this miner works with old AMD cards (hd 5xxx) ? thanks.
Lantind
Sr. Member
****
Offline Offline

Activity: 2324
Merit: 263


Enterapp Pre-Sale Live - bit.ly/3UrMCWI


View Profile
November 07, 2016, 06:07:55 PM
 #186

hi, can this miner works with old AMD cards (hd 5xxx) ? thanks.

I do not think so. When I run the Genoil miner on the Windows, it uses about 1.6 GB video memory.

█████████████████████
█████████████████████████
█████████▀▀▀▀▀▀▀█████████
██████▀███████████▀██████
█████▀███▄▄▄▄▄▄▄███▀█████
████████▀▀▀▀▀▀▀▀▀████████
█████████████████████████
█████▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█████
█████████████████████████
██████▄███████████▄██████
█████████▄▄▄▄▄▄▄█████████
█████████████████████████
█████████████████████
██████████
██
██
██
██
██
██
██

██

██

██

██

██████████
 
CRYPTO WEBNEOBANK
██████████
██
██
██
██
██
██
██

██

██

██

██

██████████
▄▄███████▄▄
▄███████████████▄
▄██████░░░░░░░░░░███▄
▄████▄▄███████▄▄░░░██▄
▄█████████████████░░░██▄
████░░▄▄▄▄▄▄▄▄▄░░░░░░░░██
████░░██████████░░░░░░░██
████░░▀▀▀▀▀▀▀▀▀░░░░░░░░██
▀█████████████████░░░██▀
▀████▀▀███████▀▀░░░██▀
▀██████░░░░░░░░░░███▀
▀███████████████▀
▀▀███████▀▀
kenshirothefist
Sr. Member
****
Offline Offline

Activity: 457
Merit: 273



View Profile
November 07, 2016, 08:17:12 PM
 #187

mrb, I also would love to support the request to pool

Code:
extranonce.subscribe #39
https://github.com/mbevand/silentarmy/pull/39


into the mainstream. Would it be possible to implement it?

Until @mbr doesn't pulls this you can build from our repository (just forked with patches for NiceHash extranonce.subscription):

https://github.com/nicehash/silentarmy
snk0752
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
November 07, 2016, 09:14:37 PM
 #188

Until @mbr doesn't pulls this you can build from our repository (just forked with patches for NiceHash extranonce.subscription):

https://github.com/nicehash/silentarmy

I will try it now. Thank you!
frozn0000
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
November 08, 2016, 01:29:40 AM
 #189

Fresh install of Ubundu 16.04.  Using the instructions on the github website installed the SDK only.  Can't install the drivers because I am running R9 280x and AMD doesn't make drivers for 16.04 for 280x so was going to use the default ones.  I get here and I am stuck.  Any help will be appreciated!

mine@mine:~$ cd silentarmy
mine@mine:~/silentarmy$ make
echo 'const char *ocl_code = R"_mrb_(' >_kernel.h
cpp input.cl >>_kernel.h
echo ')_mrb_";' >>_kernel.h
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o blake.o blake.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o sha256.o sha256.c
gcc -o sa-solver main.o blake.o sha256.o -rdynamic -L"/opt/amdgpu-pro/lib/x86_64-linux-gnu" -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'sa-solver' failed
make: *** [sa-solver] Error 1
mine@mine:~/silentarmy$
monsanto
Legendary
*
Offline Offline

Activity: 1241
Merit: 1005


..like bright metal on a sullen ground.


View Profile
November 08, 2016, 02:22:27 AM
 #190

Fresh install of Ubundu 16.04.  Using the instructions on the github website installed the SDK only.  Can't install the drivers because I am running R9 280x and AMD doesn't make drivers for 16.04 for 280x so was going to use the default ones.  I get here and I am stuck.  Any help will be appreciated!

mine@mine:~$ cd silentarmy
mine@mine:~/silentarmy$ make
echo 'const char *ocl_code = R"_mrb_(' >_kernel.h
cpp input.cl >>_kernel.h
echo ')_mrb_";' >>_kernel.h
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o blake.o blake.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o sha256.o sha256.c
gcc -o sa-solver main.o blake.o sha256.o -rdynamic -L"/opt/amdgpu-pro/lib/x86_64-linux-gnu" -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'sa-solver' failed
make: *** [sa-solver] Error 1
mine@mine:~/silentarmy$


Yeah, that's why I use 14.04 with my 290s... but then most of these miners seem optimized for ubuntu 16.  Kind of a catch 22.  This miner gets good hashrate on my 14.04 system but crashes my gpus after less than an hour usually  Cry
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 08, 2016, 03:04:26 AM
 #191

Fresh install of Ubundu 16.04.  Using the instructions on the github website installed the SDK only.  Can't install the drivers because I am running R9 280x and AMD doesn't make drivers for 16.04 for 280x so was going to use the default ones.  I get here and I am stuck.  Any help will be appreciated!

mine@mine:~$ cd silentarmy
mine@mine:~/silentarmy$ make
echo 'const char *ocl_code = R"_mrb_(' >_kernel.h
cpp input.cl >>_kernel.h
echo ')_mrb_";' >>_kernel.h
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o blake.o blake.c
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o sha256.o sha256.c
gcc -o sa-solver main.o blake.o sha256.o -rdynamic -L"/opt/amdgpu-pro/lib/x86_64-linux-gnu" -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'sa-solver' failed
make: *** [sa-solver] Error 1
mine@mine:~/silentarmy$

The amdgpu-pro driver provides libOpenCL.so, so if you didn't install it, it's normal that you get this error. The solution to your pb is install Ubuntu 14.04 which will provide the fglrx driver (works with your card), and will provide libOpenCL.so.

But, for those who want to try a hack, I wonder if you could get a 280X to work on 16.04 by simply using the free amdgpu driver installed by default (don't install amdgpu-pro), and manually installing only the libopencl1-amdgpu-pro and opencl-amdgpu-pro-icd packages that come with amdgpu-pro (you need some dpkg/apt hackery to ignore other dependencies). Of course this is a big hack, but I wonder if it could work...
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
November 08, 2016, 03:12:35 AM
Last edit: November 08, 2016, 04:19:26 AM by toptek
 #192

if that doesn't work try ubuntu 15.10 i had to use 15 i don't get the speeds they get with ubuntu 16, im guessing its the driver and something about sa-solver is only available in 14 so I'm guessing the same for 15.10 more a driver issue then any thing, if, AMD would give those cards support, those cards can use 16 unless some one figured out  a way .

yup it runs the same on  15 as 14 i just tested it with ethOS i think there fglrx  version is Ubuntu 14 , same speeds as i get in 15 on my PC using it direct it should being interesting once this is ported to windows to see what speeds they can get with older cards or even 470 and 480 . sense it has the drivers we need to do it in Ubuntu 14 .

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
frozn0000
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
November 08, 2016, 04:44:28 AM
 #193

Took yalls advice and I am now on a fresh install of 14.02.  I installed the drivers using sudo apt-get install fglrx I got to the point of "make" and get:

mine@mine:~/silentarmy$ make
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
main.c:15:19: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>
                   ^
compilation terminated.
make: *** [main.o] Error 1
mine@mine:~/silentarmy$
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
November 08, 2016, 05:23:41 AM
Last edit: November 08, 2016, 05:40:52 AM by toptek
 #194

Took yalls advice and I am now on a fresh install of 14.02.  I installed the drivers using sudo apt-get install fglrx I got to the point of "make" and get:

mine@mine:~/silentarmy$ make
gcc  -std=gnu99 -pedantic -Wextra -Wall -ggdb -Wno-deprecated-declarations -Wno-overlength-strings -I"/opt/AMDAPPSDK-3.0/include"  -c -o main.o main.c
main.c:15:19: fatal error: CL/cl.h: No such file or directory
 #include <CL/cl.h>
                   ^
compilation terminated.
make: *** [main.o] Error 1
mine@mine:~/silentarmy$


did you install AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64 then link some thing like this




even may  or may not need to edit this file
Code:
CD / root 

sudo nano .bashrc

 put at the bottom

Code:
#AMD APP SDK
export AMDAPPSDKROOT=/opt/AMDAPPSD-3.0
export AMDAPPSDKSAMPLESROOT=/opt/AMDAPPSDK3.0/
export LD_LIBRARY_PATH=${AMDAPPSDKROOT}lib/x86_64:${LD_LIBRARY_PATH}
export ATISTREAMSDKROOT=$AMDAPPSDKROOT

 then use

Code:
 sudo ln -sf /opt/AMDAPPSDK-3.0/include/CL /usr/include  
 sudo ln -sf /opt/AMDAPPSDK-3.0/lib/x86_64/* /usr/lib  

then after reboot
Code:
make
there may be another problem with the
Code:
sa-solver
i couldn't figure out in 14 so i tired 15 it works greats .

I think that's what they meant by
Quote
You may need to specify the paths to the locations of your OpenCL C headers and libOpenCL.so if the Makefile does not find them:

$ make OPENCL_HEADERS=/path/here LIBOPENCL=/path/
there  is a better way but that worked for me .


For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
stef942
Full Member
***
Offline Offline

Activity: 181
Merit: 100


View Profile
November 08, 2016, 06:15:00 AM
 #195

hi, i try to run the miner on a hd5850 with 2gb, that's what i got :


stef@stef-desktop ~ $ cd silentarmy
stef@stef-desktop ~/silentarmy $ ./silentarmy --list
Devices on platform "AMD Accelerated Parallel Processing":
  ID 0: Cypress
   ID 1: AMD Opteron(tm) Processor 148
stef@stef-desktop ~/silentarmy $ ./silentarmy --use 0 -c stratum+tcp://equihash.eu.nicehash.com:3357 -u  -p x
Connecting to equihash.eu.nicehash.com:3357
Stratum server sent us the first job
Mining on 1 device
Solver 0.0: unexpected banner "clCreateBuffer (-61)"
Solver 0.1: unexpected banner "clCreateBuffer (-61)"

^C
Quitting
stef@stef-desktop ~/silentarmy $ ./silentarmy --instances 1 --use 0 -c stratum+tcp://equihash.eu.nicehash.com:3357 -u  -p x
Connecting to equihash.eu.nicehash.com:3357
Stratum server sent us the first job
Mining on 1 device
Solver 0.0: unexpected banner "clCreateBuffer (-61)"
^C
Quitting
stef@stef-desktop ~/silentarmy $

 Huh
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 08, 2016, 07:32:42 AM
 #196

I just released SILENTARMY v4, with Nvidia support. See top post for more info.

Changelog: https://github.com/mbevand/silentarmy/blob/master/CHANGELOG.md
t2yax
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Arianee:Smart-link Connecting Owners,Assets,Brands


View Profile
November 08, 2016, 07:49:29 AM
 #197

very impatient to see nvidia gpu benchmarks now ^^ thanx mrb
keep up the good work !!

arianee
• • • ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Smart-link Connecting Owners, Assets And Brands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • • •
Discord
Telegram ⊐●⊏ Reddit
Twitter ⊐●⊏ Instagram
Medium ⊐●⊏ Linkedin
Psynthax
Hero Member
*****
Offline Offline

Activity: 2324
Merit: 504



View Profile
November 08, 2016, 07:51:32 AM
 #198

What is the hash rate of 1070 with V4?

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
restless
Legendary
*
Offline Offline

Activity: 1151
Merit: 1001


View Profile
November 08, 2016, 07:53:21 AM
 #199

Can anyone share how CPU-dependant is the miner under Linux?
doktor83
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 626


View Profile WWW
November 08, 2016, 07:56:36 AM
 #200

V5 will be my favorite version  Cool

SRBMiner-MULTI thread - HERE
http://www.srbminer.com
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ... 91 »
  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!