Pages:
Author

Topic: SILENTARMY v5: Zcash miner, 115 sol/s on R9 Nano, 70 sol/s on GTX 1070 - page 81. (Read 209286 times)

legendary
Activity: 1274
Merit: 1000
mine to windows support.
hero member
Activity: 2548
Merit: 626
V5 will be my favorite version  Cool
legendary
Activity: 1151
Merit: 1001
Can anyone share how CPU-dependant is the miner under Linux?
hero member
Activity: 2366
Merit: 504
What is the hash rate of 1070 with V4?
sr. member
Activity: 462
Merit: 250
Arianee:Smart-link Connecting Owners,Assets,Brands
very impatient to see nvidia gpu benchmarks now ^^ thanx mrb
keep up the good work !!
mrb
legendary
Activity: 1512
Merit: 1027
I just released SILENTARMY v4, with Nvidia support. See top post for more info.

Changelog: https://github.com/mbevand/silentarmy/blob/master/CHANGELOG.md
full member
Activity: 181
Merit: 100
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
legendary
Activity: 1274
Merit: 1000
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
                   ^
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 .

newbie
Activity: 29
Merit: 0
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
                   ^
compilation terminated.
make: *** [main.o] Error 1
mine@mine:~/silentarmy$
legendary
Activity: 1274
Merit: 1000
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 .
mrb
legendary
Activity: 1512
Merit: 1027
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...
legendary
Activity: 1241
Merit: 1005
..like bright metal on a sullen ground.
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
newbie
Activity: 29
Merit: 0
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$
newbie
Activity: 39
Merit: 0
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!
sr. member
Activity: 457
Merit: 273
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
sr. member
Activity: 2324
Merit: 263
Enterapp Pre-Sale Live - bit.ly/3UrMCWI
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.
member
Activity: 81
Merit: 1002
It was only the wind.
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.
full member
Activity: 181
Merit: 100
hi, can this miner works with old AMD cards (hd 5xxx) ? thanks.
sr. member
Activity: 588
Merit: 251
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.
sr. member
Activity: 588
Merit: 251
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.
Pages:
Jump to: