scryptr
Legendary
Offline
Activity: 1797
Merit: 1028
|
|
November 07, 2016, 02:37:57 PM |
|
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
|
|
|
|
Streetlight9
Newbie
Offline
Activity: 38
Merit: 0
|
|
November 07, 2016, 03:32:06 PM |
|
I think I have it ~10% faster atm, still working!
woof woof... I'll get my coat..
|
|
|
|
nerdralph
|
|
November 07, 2016, 03:35:54 PM |
|
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
|
|
November 07, 2016, 04:15:41 PM |
|
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
|
|
November 07, 2016, 04:16:04 PM |
|
hi, can this miner works with old AMD cards (hd 5xxx) ? thanks.
|
|
|
|
Lantind
Sr. Member
Offline
Activity: 2324
Merit: 263
Enterapp Pre-Sale Live - bit.ly/3UrMCWI
|
|
November 07, 2016, 06:07:55 PM |
|
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 WEB3 NEOBANK | ██████████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████████ | │ | | | | | |
|
|
|
kenshirothefist
|
|
November 07, 2016, 08:17:12 PM |
|
mrb, I also would love to support the request to pool 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
Activity: 39
Merit: 0
|
|
November 07, 2016, 09:14:37 PM |
|
I will try it now. Thank you!
|
|
|
|
frozn0000
Newbie
Offline
Activity: 29
Merit: 0
|
|
November 08, 2016, 01:29:40 AM |
|
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
Activity: 1241
Merit: 1005
..like bright metal on a sullen ground.
|
|
November 08, 2016, 02:22:27 AM |
|
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
|
|
|
|
mrb (OP)
Legendary
Offline
Activity: 1512
Merit: 1028
|
|
November 08, 2016, 03:04:26 AM |
|
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
Activity: 1274
Merit: 1000
|
|
November 08, 2016, 03:12:35 AM Last edit: November 08, 2016, 04:19:26 AM by toptek |
|
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 .
|
|
|
|
frozn0000
Newbie
Offline
Activity: 29
Merit: 0
|
|
November 08, 2016, 04:44:28 AM |
|
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
Activity: 1274
Merit: 1000
|
|
November 08, 2016, 05:23:41 AM Last edit: November 08, 2016, 05:40:52 AM by toptek |
|
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 CD / root
sudo nano .bashrc
put at the bottom #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 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 there may be another problem with the i couldn't figure out in 14 so i tired 15 it works greats . I think that's what they meant by 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 .
|
|
|
|
stef942
|
|
November 08, 2016, 06:15:00 AM |
|
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 $
|
|
|
|
|
t2yax
Sr. Member
Offline
Activity: 462
Merit: 250
Arianee:Smart-link Connecting Owners,Assets,Brands
|
|
November 08, 2016, 07:49:29 AM |
|
very impatient to see nvidia gpu benchmarks now ^^ thanx mrb keep up the good work !!
|
|
|
|
Psynthax
|
|
November 08, 2016, 07:51:32 AM |
|
What is the hash rate of 1070 with V4?
|
|
|
|
restless
Legendary
Offline
Activity: 1151
Merit: 1001
|
|
November 08, 2016, 07:53:21 AM |
|
Can anyone share how CPU-dependant is the miner under Linux?
|
|
|
|
doktor83
|
|
November 08, 2016, 07:56:36 AM |
|
V5 will be my favorite version
|
|
|
|
|