superfry
Newbie
Offline
Activity: 19
Merit: 0
|
|
June 15, 2013, 04:56:47 PM |
|
Great work on the miner hanzac. Getting 125kh/s on each of my 7770's and 110kh/s on my 5870
|
|
|
|
Charles999
|
|
June 15, 2013, 07:15:46 PM |
|
any good YaC pools?? It seems that under this weird circumstance, the GPU miner should be released. Here it is: Prebuilt binary for windows 64: http://sourceforge.net/projects/hnindev/files/yaminer-beta-winx64-2.zipSource code: http://sourceforge.net/projects/hnindev/files/yaminer-beta-src-2.zipWin32 binary built by Thirtybird: https://mega.co.nz/#!e1YVDBYZ!YSzn40ba5ciOVUeJjIcQnFxbvr0JhdYwkzqempL_l8Y (Package Status: MINOR UPDATE, correct the program name issue, upgrade to cgminer 3.2.1, If you have working installation, no need to update.) It's based on the cgminer scrypt mining, but there's some difference, the lookup-gap=2 + thread-concurrency parameters are just used to for allocate the pad buffer. The intensity (I) means the global work size 2^I, it seems to be related to the Nfactor & GPU stream cores & GPU memory size. For the GCN GPUs, set the worksize to 256 and for the pre-GCN GPUs, set the worksize to 64. Some typical command lines: For 5950 yacminer --device 0 --scrypt --worksize 64 --lookup-gap 2 -I 11 --thread-concurrency 8192 -o <URL> -u <username> -p <password> Currently can hash 190KH/s (Nfactor=9) For 6750 yacminer --device 0 - -scrypt --worksize 64 --lookup-gap 2 -I 10 --thread-concurrency 2816 -o <URL> -u <username> -p <password> Currently can hash 47KH/s (Nfactor=9) For 7950 Some correction [Under Linux] yacminer --device 0 --scrypt --worksize 256 --lookup-gap 2 -I 12 --thread-concurrency 32768 -o <URL> -u <username> -p <password> Currently can hash 230KH/s (Nfactor=9) [Under Windows] yacminer --device 0 --scrypt --worksize 256 --lookup-gap 2 -I 11 --thread-concurrency 8192 -o <URL> -u <username> -p <password> Currently can hash ???KH/s (Nfactor=9) When running under linux, maybe you need to set these environment variables: export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1
[Compilation under linux] It's quite easy if you've already complied cgminer once (have all the other dependency libraries installed) Run: chmod +x ./configure ./configure --enable-scrypt make install
Then, it will be installed into the application's dir (typical /usr/local/bin). [Known issue] - Because using the latest cgminer 3.2.0 code base, the network thread seems has slow reaction to submit hash & get a response at the beginning. After a while, it will become normal.
- AMD Graphics drivers prior to 12.X may not work, so recommend using newer drivers.
[Q&As] https://bitcointalk.org/index.php?topic=232241.msg2449944#msg2449944https://bitcointalk.org/index.php?topic=232907.0 (Performance tuning) PS, my GPU miner is not quite fast comparing to some others, and it may not work for some other cards.
|
|
|
|
hanzac (OP)
|
|
June 15, 2013, 07:36:01 PM |
|
|
|
|
|
Eli0t
|
|
June 15, 2013, 09:25:23 PM |
|
beta 1 was working but i cant get beta 2 (64bit) to work no matter what i set. was the -scrypt switch renamed? yacminer --scrypt --worksize 64 --lookup-gap 2 -I 10 --thread-concurrency 2816 No the -scrypt switch not changed, because I think it's simple to use. Can you lower the thread-concurrency or just fall back to beta 1. I can't tell the reason for this error. Or maybe you can try reboot your PC to make a fresh start. tried the 32bit version of beta 2 and its working fine with the same settings
|
LTC: LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7 DGC: DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d XPM: AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
|
|
|
wetroof
Member
Offline
Activity: 75
Merit: 10
|
|
June 15, 2013, 09:44:21 PM |
|
figured out.
|
|
|
|
YacLives
Newbie
Offline
Activity: 56
Merit: 0
|
|
June 15, 2013, 10:21:31 PM Last edit: June 27, 2013, 01:45:21 AM by YacLives |
|
any good YaC pools?? Official Yacointalk.com pool here is montiored 24/7 http://pool.yacointalk.com
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 01:44:45 PM |
|
how to tweak for onecoin?
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 02:31:48 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512.
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 02:37:21 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort?
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 02:41:56 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort? It's of course feasible. I just hope there're some one else can hack it if he's interested. Because my kernel is presented in a very clear way. Just replace the chacha core with the salsa core, I think just that easy. After that, the Nfactor calculation needs to be changed also. Because I don't have any onecoin position, I don't really have intention to do that.
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 02:44:12 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort? It's of course feasible. I just hope there're some one else can hack it if he's interested. Because my kernel is presented in a very clear way. Just replace the chacha core with the salsa core, I think just that easy. After that, the Nfactor calculation needs to be changed also. Because I don't have any onecoin position, I don't really have intention to do that. i'll give it a crack, any pointers on where to look?
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 02:53:49 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort? It's of course feasible. I just hope there're some one else can hack it if he's interested. Because my kernel is presented in a very clear way. Just replace the chacha core with the salsa core, I think just that easy. After that, the Nfactor calculation needs to be changed also. Because I don't have any onecoin position, I don't really have intention to do that. i'll give it a crack, any pointers on where to look? CL kernel file: scrypt-chacha.cl, find the function `static void chacha_core(uint4 state[4])`, trying to replace it with the function `static void salsa_core_basic(uint32_t state[16])` from file scrypt-jane\code\scrypt-jane-mix_salsa.h scrypt.c, driver-opencl.c: GetNfactor(unsigned int nTimestamp), change to the function in onecoin. I think basically these two places, other parameter to the scrypt hash seems to be the same like the rfactor, pfactor both are 0.
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 02:58:44 PM |
|
thanks a lot, never messed with cgminer before, i'll tell you if i'm succesful and if i mine a few coin i'll throw some your way.
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 03:01:10 PM |
|
thanks a lot, never messed with cgminer before, i'll tell you if i'm succesful and if i mine a few coin i'll throw some your way.
Cool, if you met some difficulty, let me know. One last thing: the chacha_core in scrypt.c should also be replaced to salsa_core_basic.
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 03:13:20 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort? It's of course feasible. I just hope there're some one else can hack it if he's interested. Because my kernel is presented in a very clear way. Just replace the chacha core with the salsa core, I think just that easy. After that, the Nfactor calculation needs to be changed also. Because I don't have any onecoin position, I don't really have intention to do that. i'll give it a crack, any pointers on where to look? CL kernel file: scrypt-chacha.cl, find the function `static void chacha_core(uint4 state[4])`, trying to replace it with the function `static void salsa_core_basic(uint32_t state[16])` from file scrypt-jane\code\scrypt-jane-mix_salsa.h scrypt.c, driver-opencl.c: GetNfactor(unsigned int nTimestamp), change to the function in onecoin. I think basically these two places, other parameter to the scrypt hash seems to be the same like the rfactor, pfactor both are 0. ok i got the first part and third part done but i cant find the function GetNfactor(unsigned int nTimestamp) in scrypt.c (onecoin)
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 03:21:53 PM |
|
how to tweak for onecoin?
I found it needs some work for onecoin, onecoin uses salsa mixing not chacha mixing. Hash function is same both are keccak-512. so is it feasible or maybe not worth the effort? It's of course feasible. I just hope there're some one else can hack it if he's interested. Because my kernel is presented in a very clear way. Just replace the chacha core with the salsa core, I think just that easy. After that, the Nfactor calculation needs to be changed also. Because I don't have any onecoin position, I don't really have intention to do that. i'll give it a crack, any pointers on where to look? CL kernel file: scrypt-chacha.cl, find the function `static void chacha_core(uint4 state[4])`, trying to replace it with the function `static void salsa_core_basic(uint32_t state[16])` from file scrypt-jane\code\scrypt-jane-mix_salsa.h scrypt.c, driver-opencl.c: GetNfactor(unsigned int nTimestamp), change to the function in onecoin. I think basically these two places, other parameter to the scrypt hash seems to be the same like the rfactor, pfactor both are 0. ok i got the first part and third part done but i cant find the function GetNfactor(unsigned int nTimestamp) in scrypt.c (onecoin) It's in the main.cpp? Or search for it.
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 03:31:18 PM |
|
thanks, found it, but i get this error now driver-opencl.c:1081:26: error: unknown type name ‘int64’ driver-opencl.c:1093:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&=’ token driver-opencl.c: In function ‘opencl_scanhash’: driver-opencl.c:1565:17: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat] driver-opencl.c:1565:17: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat] make[1]: *** [cgminer-driver-opencl.o] Error 1
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 03:35:38 PM |
|
thanks, found it, but i get this error now driver-opencl.c:1081:26: error: unknown type name ‘int64’ driver-opencl.c:1093:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&=’ token driver-opencl.c: In function ‘opencl_scanhash’: driver-opencl.c:1565:17: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat] driver-opencl.c:1565:17: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat] make[1]: *** [cgminer-driver-opencl.o] Error 1
replace int64 with int64_t?
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 03:49:29 PM |
|
i got those ones, am working on these one at a time
cgminer-scrypt.o: In function `GetNfactor': /home/cole/Downloads/Untitled Folder/scrypt.c:410: multiple definition of `GetNfactor' cgminer-driver-opencl.o:/home/cole/Downloads/Untitled Folder/driver-opencl.c:1084: first defined here cgminer-scrypt.o:(.data+0x0): multiple definition of `nChainStartTime' cgminer-driver-opencl.o:(.data+0xd0): first defined here collect2: error: ld returned 1 exit status
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 03:57:51 PM |
|
i got those ones, am working on these one at a time
cgminer-scrypt.o: In function `GetNfactor': /home/cole/Downloads/Untitled Folder/scrypt.c:410: multiple definition of `GetNfactor' cgminer-driver-opencl.o:/home/cole/Downloads/Untitled Folder/driver-opencl.c:1084: first defined here cgminer-scrypt.o:(.data+0x0): multiple definition of `nChainStartTime' cgminer-driver-opencl.o:(.data+0xd0): first defined here collect2: error: ld returned 1 exit status
Add static modifier to these multiple definitions. For example, static void GetNfactor(...) static int nChainStartTime ...
|
|
|
|
|