Bitcoin Forum
November 15, 2024, 12:35:34 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   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 »
  Print  
Author Topic: [ANN] Yet another GPU miner release! [YAC]  (Read 53368 times)
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
June 16, 2013, 04:10:15 PM
 #201

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)
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
June 16, 2013, 04:18:46 PM
 #202

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 Offline

Activity: 882
Merit: 1000



View Profile
June 16, 2013, 04:21:11 PM
 #203

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)
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
June 16, 2013, 04:27:43 PM
 #204

It's not easy task  Wink
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 Offline

Activity: 882
Merit: 1000



View Profile
June 16, 2013, 04:29:35 PM
 #205

It's not easy task  Wink
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
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 17, 2013, 07:14:17 PM
 #206

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_GAP
https://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:
Code:
./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
June 17, 2013, 07:17:46 PM
 #207

i thought the original already had lookup gap

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 17, 2013, 07:31:05 PM
 #208

i thought the original already had lookup gap

No, there was no actual support for it in the OpenCL code.
BlazinBeaches
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 17, 2013, 07:54:54 PM
 #209

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_GAP
https://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:
Code:
./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1

I tried this exactly but it freezes my computer
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 17, 2013, 08:00:56 PM
 #210

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 Offline

Activity: 98
Merit: 10


View Profile
June 17, 2013, 08:39:31 PM
 #211

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_GAP
https://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:
Code:
./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 Cheesy

You are right, intensity 13 works!  And I have received a bit of a boost on the 7970, awesome job thanks man! Cheesy  Keep up the good work Smiley

200 YAC for you!
feeleep
Legendary
*
Offline Offline

Activity: 1197
Merit: 1000


View Profile WWW
June 17, 2013, 08:53:08 PM
 #212

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
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 17, 2013, 09:24:53 PM
 #213

You are right, intensity 13 works!  And I have received a bit of a boost on the 7970, awesome job thanks man! Cheesy  Keep up the good work Smiley

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:
Code:
./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:
Code:
./yacmine --scrypt -w 256 --lookup-gap 2 -I 15 --thread-concurrency 32832 -g 1

Intensity 15 needs more than 2 GB of RAM.
eule
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


View Profile
June 17, 2013, 09:26:31 PM
 #214

Wow, my 5770 went from 56kH to 87kH!  Shocked
Thanks!

hanzac (OP)
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
June 17, 2013, 09:27:53 PM
 #215

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_GAP
https://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:
Code:
./yacmine --scrypt -w 256 --lookup-gap 2 -I 13 --thread-concurrency 8208 -g 1

This is great! Thanks!
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
June 17, 2013, 09:58:49 PM
Last edit: June 17, 2013, 10:30:18 PM by Eli0t
 #216

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_GAP
https://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:
Code:
./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 Smiley

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 Offline

Activity: 75
Merit: 10


View Profile
June 18, 2013, 08:17:44 AM
 #217

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 Offline

Activity: 406
Merit: 250


The cryptocoin watcher


View Profile
June 18, 2013, 08:37:34 AM
Last edit: June 18, 2013, 06:41:15 PM by bitdwarf
 #218

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
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 18, 2013, 03:42:08 PM
Last edit: June 18, 2013, 04:13:24 PM by mikaelh
 #219

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.cl
https://mega.co.nz/#!cxUUmRga!I3ttCwVJIjt9g14sXW33FhJZLhtTqyWtcGQ2vFI8vsY

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. 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-comparison

My settings for a 7790:
Code:
./yacminer --scrypt -w 128 --lookup-gap 2 -I 17 --thread-concurrency 8000 -g 1
jdebunt
Legendary
*
Offline Offline

Activity: 1596
Merit: 1010


View Profile WWW
June 18, 2013, 04:19:15 PM
 #220

really like this miner, thanks so much for all the hard work Smiley
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 »
  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!