barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 04:10:15 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 ... wow, that got it to compile thanks....but hehehe it refuses to play ball Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 0 failure, disabling! [2013-06-16 20:10:59] Thread 1 being disabled [2013-06-16 20:10:59] Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 1 failure, disabling! [2013-06-16 20:10:59] Thread 2 being disabled [2013-06-16 20:11:00] Error: clSetKernelArg of all params failed. [2013-06-16 20:11:00] GPU 1 failure, disabling! [2013-06-16 20:11:00] Thread 3 being disabled
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 04:18:46 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 ... wow, that got it to compile thanks....but hehehe it refuses to play ball Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 0 failure, disabling! [2013-06-16 20:10:59] Thread 1 being disabled [2013-06-16 20:10:59] Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 1 failure, disabling! [2013-06-16 20:10:59] Thread 2 being disabled [2013-06-16 20:11:00] Error: clSetKernelArg of all params failed. [2013-06-16 20:11:00] GPU 1 failure, disabling! [2013-06-16 20:11:00] Thread 3 being disabled ... have changed the anything about the kernel parameters? Did you just download the yaminer-beta-src-2.zip and modify?
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 04:21:11 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 ... wow, that got it to compile thanks....but hehehe it refuses to play ball Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 0 failure, disabling! [2013-06-16 20:10:59] Thread 1 being disabled [2013-06-16 20:10:59] Error: clSetKernelArg of all params failed. [2013-06-16 20:10:59] GPU 1 failure, disabling! [2013-06-16 20:10:59] Thread 2 being disabled [2013-06-16 20:11:00] Error: clSetKernelArg of all params failed. [2013-06-16 20:11:00] GPU 1 failure, disabling! [2013-06-16 20:11:00] Thread 3 being disabled ... have changed the anything about the kernel parameters? Did you just download the yaminer-beta-src-2.zip and modify? Yeah i used he one you uploaded
|
|
|
|
hanzac (OP)
|
|
June 16, 2013, 04:27:43 PM |
|
It's not easy task You can try rollback the changes and compile and run, to see if have these errors. Then add the set of changes, one by one, when adding each one, compile & run, to see if have these errors. This will help you identify which step you make a mistake. Then trying to correct it. I'll go sleep now ...
|
|
|
|
barwizi
Legendary
Offline
Activity: 882
Merit: 1000
|
|
June 16, 2013, 04:29:35 PM |
|
It's not easy task You can try rollback the changes and compile and run, to see if have these errors. Then add the set of changes, one by one, when adding each one, compile & run, to see if have these errors. This will help you identify which step you make a mistake. Then trying to correct it. I'll go sleep now ... thank you, goodnight
|
|
|
|
mikaelh
|
|
June 17, 2013, 07:14:17 PM |
|
I added support for LOOKUP_GAP to the scrypt-chacha kernel. This allows higher intensities and higher efficiency. I'm getting 35% more khashes/s out of my 7790. scrypt-chacha.cl with support for LOOKUP_GAPhttps://mega.co.nz/#!l0sixSoQ!Xzzic2-GwMfGu3kefL8A1HmZuC8fuE3tlKiHdVO8-7MHow to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Adjust intensity. My miner settings for a 7790: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1
|
|
|
|
Eli0t
|
|
June 17, 2013, 07:17:46 PM |
|
i thought the original already had lookup gap
|
LTC: LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7 DGC: DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d XPM: AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
|
|
|
mikaelh
|
|
June 17, 2013, 07:31:05 PM |
|
i thought the original already had lookup gap
No, there was no actual support for it in the OpenCL code.
|
|
|
|
BlazinBeaches
Member
Offline
Activity: 98
Merit: 10
|
|
June 17, 2013, 07:54:54 PM |
|
I added support for LOOKUP_GAP to the scrypt-chacha kernel. This allows higher intensities and higher efficiency. I'm getting 35% more khashes/s out of my 7790. scrypt-chacha.cl with support for LOOKUP_GAPhttps://mega.co.nz/#!l0sixSoQ!Xzzic2-GwMfGu3kefL8A1HmZuC8fuE3tlKiHdVO8-7M How to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Adjust intensity. My miner settings for a 7790: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1 I tried this exactly but it freezes my computer
|
|
|
|
mikaelh
|
|
June 17, 2013, 08:00:56 PM |
|
Try a lower intensity if it's freezing. Also make sure you replaced scrypt-chacha.cl and that the .bin files are gone. The settings I posted will crash your GPU with the old kernel.
|
|
|
|
BlazinBeaches
Member
Offline
Activity: 98
Merit: 10
|
|
June 17, 2013, 08:39:31 PM |
|
I added support for LOOKUP_GAP to the scrypt-chacha kernel. This allows higher intensities and higher efficiency. I'm getting 35% more khashes/s out of my 7790. scrypt-chacha.cl with support for LOOKUP_GAPhttps://mega.co.nz/#!l0sixSoQ!Xzzic2-GwMfGu3kefL8A1HmZuC8fuE3tlKiHdVO8-7M How to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Adjust intensity. My miner settings for a 7790: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1 maybe the older kernel was still in my cache, or something. after a reboot it does work now You are right, intensity 13 works! And I have received a bit of a boost on the 7970, awesome job thanks man! Keep up the good work 200 YAC for you!
|
|
|
|
feeleep
Legendary
Offline
Activity: 1197
Merit: 1000
|
|
June 17, 2013, 08:53:08 PM |
|
I know this is thread about developing cgminer but maybe someone skilled enough can implement scrypt-jane to stratum mining server as pushpool has terrible performance for lots of connections
|
|
|
|
mikaelh
|
|
June 17, 2013, 09:24:53 PM |
|
You are right, intensity 13 works! And I have received a bit of a boost on the 7970, awesome job thanks man! Keep up the good work If your 7970 has enough memory, you can try even higher intensities. You just need to double thread concurrency with each increase of intensity. Try something like this: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 14 --thread-concurrency 16416 -g 1 This needs more than 1 GB of RAM. Or even higher: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 15 --thread-concurrency 32832 -g 1 Intensity 15 needs more than 2 GB of RAM.
|
|
|
|
eule
|
|
June 17, 2013, 09:26:31 PM |
|
Wow, my 5770 went from 56kH to 87kH! Thanks!
|
|
|
|
hanzac (OP)
|
|
June 17, 2013, 09:27:53 PM |
|
I added support for LOOKUP_GAP to the scrypt-chacha kernel. This allows higher intensities and higher efficiency. I'm getting 35% more khashes/s out of my 7790. scrypt-chacha.cl with support for LOOKUP_GAPhttps://mega.co.nz/#!l0sixSoQ!Xzzic2-GwMfGu3kefL8A1HmZuC8fuE3tlKiHdVO8-7M How to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Adjust intensity. My miner settings for a 7790: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1 This is great! Thanks!
|
|
|
|
Eli0t
|
|
June 17, 2013, 09:58:49 PM Last edit: June 17, 2013, 10:30:18 PM by Eli0t |
|
I added support for LOOKUP_GAP to the scrypt-chacha kernel. This allows higher intensities and higher efficiency. I'm getting 35% more khashes/s out of my 7790. scrypt-chacha.cl with support for LOOKUP_GAPhttps://mega.co.nz/#!l0sixSoQ!Xzzic2-GwMfGu3kefL8A1HmZuC8fuE3tlKiHdVO8-7M How to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Adjust intensity. My miner settings for a 7790: ./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1 sorry for being suspicious i didnt realise it was just a cl file nice improvement, was able to get i 11 and another 6kh out of my 560ti, now 42 kh vs 36kh on the old version and 22kh on an i5 couldnt find the exact thread-concurrency but after the gfx driver crashing 10 times i gave up. its somewhere between 2048 and 2064 yacminer --scrypt --worksize 128 --lookup-gap 1 -I 11 --thread-concurrency 2064
|
LTC: LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7 DGC: DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d XPM: AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
|
|
|
wetroof
Member
Offline
Activity: 75
Merit: 10
|
|
June 18, 2013, 08:17:44 AM |
|
using your cl file it did not change speeds for me. using nvidia card. 2 k/h slower. but to get optimal settings I had to bump -I up by 1 and double work-size
|
|
|
|
bitdwarf
Sr. Member
Offline
Activity: 406
Merit: 250
The cryptocoin watcher
|
|
June 18, 2013, 08:37:34 AM Last edit: June 18, 2013, 06:41:15 PM by bitdwarf |
|
Edit: see below.
|
𝖄𝖆𝖈: YF3feU4PNLHrjwa1zV63BcCdWVk5z6DAh5 · 𝕭𝖙𝖈: 12F78M4oaNmyGE5C25ZixarG2Nk6UBEqme Ɏ: "the altcoin for the everyman, where the sweat on one's brow can be used to cool one's overheating CPU" -- theprofileth
|
|
|
mikaelh
|
|
June 18, 2013, 03:42:08 PM Last edit: June 18, 2013, 04:13:24 PM by mikaelh |
|
Alright, I transferred more features from the normal scrypt kernel and got even more speed out of the scrypt-chacha kernel. Notable changes: - Added support for CONCURRENT_THREADS - Fixed support for LOOKUP_GAP when it's not a power of 2 scrypt-chacha-v3.clhttps://mega.co.nz/#!cxUUmRga!I3ttCwVJIjt9g14sXW33FhJZLhtTqyWtcGQ2vFI8vsYHow to use: 1. Download the new kernel file. 2. Rename to scrypt-chacha.cl. 3. Copy to your GPU miner folder. 4. Delete any .bin files. 5. Restart your miner. 6. Look up settings from the Litecoin wiki. The tuning parameters are now compatible with the scrypt kernel. You can look up optimal settings on the Litecoin wiki: https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparisonMy settings for a 7790: ./yacminer --scrypt -w 128 --lookup-gap 2 -I 17 --thread-concurrency 8000 -g 1
|
|
|
|
jdebunt
Legendary
Offline
Activity: 1596
Merit: 1010
|
|
June 18, 2013, 04:19:15 PM |
|
really like this miner, thanks so much for all the hard work
|
|
|
|
|