Bitcoin Forum
April 27, 2024, 04:13:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 »  All
  Print  
Author Topic: [ANN] YACMiner - AMD GPU miner for Scrypt-Chacha, N-Scrypt, and Scrypt coins  (Read 47337 times)
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
February 19, 2014, 08:35:44 PM
Last edit: March 25, 2014, 02:54:07 PM by Thirtybird
 #1

This is an updated version of cgminer 3.3.1 that supports mining any Scrypt, Adaptive-N-Scrypt, or Scrypt-chacha (aka "scrypt-jane") hashing algorithm.  This release includes the latest OpenCL scrypt-chacha kernel by mikaelh (v7) and a number of improvements from the version of CGMiner it was forked from (3.3.1)

Latest Version: 3.5.0 - Updated 3/13/2014

Source
https://github.com/Thirtybird/YACMiner
Windows Binaries
https://github.com/Thirtybird/YACMiner/releases

Changes:
  • Display updated and fixed to account for vardiff
  • ADL code has been updated and some fixes for various cards have been included
  • Added fine-tuning parameters for mining high N-factor coins (Raw Intensity, Buffer-size) (starting with 3.4.0)
  • Ability to mine other SC coins, and save the settings per-pool (starting with 3.4.2)
  • Ability to mine Scrypt and N-Scrypt coins (starting with 3.5.0)

Usage:
sample settings for a R7 250 (384 shaders) 2GB card (with N = 14 / 32,768) being able to allocate 1,648 MB of GPU memory: 2.5 KH/sec with overclocking
Code:
yacminer --scrypt-chacha --worksize 256 -g 1 --lookup-gap 4 -R 3072 --thread-concurrency 52736 -o stratum+tcp://yac.coinmine.pl:9088 -u username -p password

Good sample settings for a 7850 (1024 shaders) 1GB card (with N = 14 / 32,768) being able to allocate 760 MB of GPU memory: 1.45 KH/sec with overclocking
Code:
yacminer --scrypt-chacha --worksize 256 --lookup-gap 8 -g 1 -R 1856 --thread-concurrency 48640 -o stratum+tcp://yac.coinmine.pl:9088 -u username -p password

At higher NFactors, cards with high shader counts should be set to use a higher lookup gap in order to keep them busy as they may be short on memory.  If you've got a 1GB card, and are mining YACoin, your lookup-gap will likely be 8.  2GB cards will probably be ranging from 4 through 8 depending on how many shaders your card has.

Parameters work similarly as in normal scrypt mining except that much more memory is needed depending on the N parameter currently used by the network. Try to find the highest value for thread concurrency you can achieve before the thread memory gets shifted from dedicated memory to synamic memory (use GPUz or HWInfo to monitor this). Set worksize (-w) to 32, 64, 128 or 256 - the RawIntensity for most cards needs to be a multiple of this value, and you can do a bit more fine tuning with a lower work size.  This may be different for the R7 & R9 cards, however, these may allow their Raw Intensity to be adjusted in multiples of 8 instead of a multiple of work size.

Your starting point for setting the Raw Intensity will be based on the amount of memory the card has.  Increase Raw Intensity until you start seeing HW errors then back it down until you aren't receiving any.  The following table is merely a guideline on where to start.
Code:
Memory	# of shaders	LG	Raw Intensity
1GB Low Shaders 4 Shaders*4
2GB Low Shaders 2 Shaders*2
2GB Low Shaders 4 Shaders*4
1GB High Shaders 8 Shaders*1
2GB High Shaders 4 Shaders*2

Future Plans - see https://github.com/Thirtybird/YACMiner/wiki/Plan
  • Ability to save configurations per card per hashing algorithm (to easily allow failover pools that are a different coin/NFActor)
  • Easy-mode configuration - specify just the buffer-size and let YACMiner figure out the other settings

Attribution:
Original version by mikaelh
http://yacointalk.com/forum/index.php/topic,350.0.html
Original version by hanzac
https://bitcointalk.org/index.php?topic=232241.0

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
1714191222
Hero Member
*
Offline Offline

Posts: 1714191222

View Profile Personal Message (Offline)

Ignore
1714191222
Reply with quote  #2

1714191222
Report to moderator
1714191222
Hero Member
*
Offline Offline

Posts: 1714191222

View Profile Personal Message (Offline)

Ignore
1714191222
Reply with quote  #2

1714191222
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714191222
Hero Member
*
Offline Offline

Posts: 1714191222

View Profile Personal Message (Offline)

Ignore
1714191222
Reply with quote  #2

1714191222
Report to moderator
1714191222
Hero Member
*
Offline Offline

Posts: 1714191222

View Profile Personal Message (Offline)

Ignore
1714191222
Reply with quote  #2

1714191222
Report to moderator
alenevaa
Sr. Member
****
Offline Offline

Activity: 288
Merit: 260



View Profile WWW
February 20, 2014, 11:36:18 AM
 #2

Do you have any guide to make executables for Linux? I'm very newbie in Linux unfortunately.

██████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
█████████████████████
████████████████████████
████████████████████████
██████████████████████
██████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
██████████████████████
|
WINGS           
Where DAO Unicorns are born
|
.
1st Bitcoin & Ethereum DAO for DAOs
1st Decentralized Chatbot to Smart Contracts Interaction System

|
.
Wings Bounties Earn Eggs
X-Blockchain DAO

lumberinvestments
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
February 22, 2014, 12:31:13 AM
 #3

Keep up the good work m8. You deserve many donations. People don't yet realize what little bit of wonder you are doing with this piece of software.
I hope many can donate so you'll buy more cards for yourself.
ekrem
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
February 27, 2014, 01:32:25 AM
 #4

Hi what it means -R  how to write 7970
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
February 27, 2014, 02:09:45 AM
 #5

Hi what it means -R  how to write 7970

https://github.com/Thirtybird/YACMiner/blob/master/SCRYPT-README

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
RJX
Legendary
*
Offline Offline

Activity: 1078
Merit: 1003


umachit.fund


View Profile
March 11, 2014, 01:43:10 PM
 #6

Hi

I'm trying to configure yacminer batchfile to mine Bitleu and i'm having trouble writing it. I have this:

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

C:\Users\q6600\Desktop\BITLEU\YAC/yacminer.exe --scrypt -o 127.0.0.1:22640 -u user -p pass --intensity 16 --gpu-engine 870 --gpu-memclock 1145 --worksize 256 --thread-concurrency 5824 --failover-only --queue=0 --scan-time=0 --expiry=1 -g 1

pause


I get HW=going up with every new block detected by network.

any tips for me?

thanks


.UmaChit.Fund.
‎ ★
..Revolutionized Rotating..
..Savings & Borrowings.....

‎ ★
█████
██
██
██
██
██
██
██
██
██
██
██
█████
█████
██
██
██
██
██
██
██
██
██
██
██
█████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████████▀▀  ███████
█████████████▀▀      ███████
█████████▀▀   ▄▄     ███████
█████▀▀    ▄█▀▀     ████████
█████████ █▀        ████████
█████████ █ ▄███▄   ████████
██████████████████▄▄████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████▀▀▀█████████
██████ ▀██████▀      ▄██████
██████▄   ▀▀▀        ███████
██████▄             ▄███████
███████▄           ▄████████
██████▀▀▀        ▄██████████
███████▄▄     ▄▄████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
█████████████▀    ██████████
████████████    ▄▄██████████
███████████▀    ▀▀██████████
██████████▌       ██████████
████████████    ████████████
████████████    ████████████
████████████    ████████████
████████████▄  ▄████████████
████████████████████████████
████████████████████████████
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
March 11, 2014, 02:29:52 PM
 #7

Hi

I'm trying to configure yacminer batchfile to mine Bitleu and i'm having trouble writing it. I have this:

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

C:\Users\q6600\Desktop\BITLEU\YAC/yacminer.exe --scrypt -o 127.0.0.1:22640 -u user -p pass --intensity 16 --gpu-engine 870 --gpu-memclock 1145 --worksize 256 --thread-concurrency 5824 --failover-only --queue=0 --scan-time=0 --expiry=1 -g 1

pause


I get HW=going up with every new block detected by network.

any tips for me?

thanks



yep, you need --nfmin and --nfmax and --startime on your command line

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
March 13, 2014, 06:25:32 PM
 #8

YACMiner has been updated to 3.5.0 today!

Version 3.5.0-yac2 - 13th March 2014
*** MAJOR CHANGES AHEAD ***
- Application can now mine scrypt, N-Scrypt, and scrypt-chacha based coins
- The command-line options for setting the algorithm have changed!
   --scrypt - Mine scrypt based coins
   --scrypt-chacha (this is the equivilant of what --scrypt used to do!)
   --nscrypt - Mine N-Scrypt based coins (vertcoin)
- Scrypt and N-Scrypt have different kernels.  You can use the N-Scrypt
 kernel for mining Scrypt if you like by passing "--kernel nscrypt" on
 the command line.  The converse does not work though.
- buffer-size is now fully completed, and thread concurrency is no longer
 needed.  thread-concurrency is still a valid option if you want to use it.
- Implemented new defaults if you do not provide a buffer-size or
 thread-concurrency.  It will attempt to allocate 88% of the GPU memory.
- lookup-gap now defaults to 4 if it is not set.
- W/U is back on the hashmeter at the top of the curses display
- Rejected count is now the number of rejected shares instead of the value
 of the sum of all the rejected shares
- Fixed OpenCL 1.2+ patch regarding BFI_INT patch still being done.
- cleanup code and extraneous files in project.
- More updates to the readme.md and scrypt-readme for further documentation.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
March 13, 2014, 06:45:49 PM
 #9

YACMiner has been updated to 3.5.0 today!

Version 3.5.0-yac2 - 13th March 2014
*** MAJOR CHANGES AHEAD ***
- Application can now mine scrypt, N-Scrypt, and scrypt-chacha based coins
- The command-line options for setting the algorithm have changed!
   --scrypt - Mine scrypt based coins
   --scrypt-chacha (this is the equivilant of what --scrypt used to do!)
   --nscrypt - Mine N-Scrypt based coins (vertcoin)
- Scrypt and N-Scrypt have different kernels.  You can use the N-Scrypt
 kernel for mining Scrypt if you like by passing "--kernel nscrypt" on
 the command line.  The converse does not work though.
- buffer-size is now fully completed, and thread concurrency is no longer
 needed.  thread-concurrency is still a valid option if you want to use it.
- Implemented new defaults if you do not provide a buffer-size or
 thread-concurrency.  It will attempt to allocate 88% of the GPU memory.
- lookup-gap now defaults to 4 if it is not set.
- W/U is back on the hashmeter at the top of the curses display
- Rejected count is now the number of rejected shares instead of the value
 of the sum of all the rejected shares
- Fixed OpenCL 1.2+ patch regarding BFI_INT patch still being done.
- cleanup code and extraneous files in project.
- More updates to the readme.md and scrypt-readme for further documentation.

Amazing news! Seems like the ideal miner for my dedicated mining Os.
fran2k
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
March 13, 2014, 07:03:37 PM
 #10

  • Ability to mine Scrypt and N-Scrypt coins (starting with 3.5.0)

Wow, very nice! Thanks, I´m going to try it right now.
fran2k
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
March 13, 2014, 10:48:27 PM
 #11

Thirtybird, could you give some working running command for 79xx and/or R9 GPUs for both scryptN and scrypt. I´m not being successful to mining VTC with your miner.

Thanks.
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
March 13, 2014, 11:39:46 PM
 #12

Thirtybird, could you give some working running command for 79xx and/or R9 GPUs for both scryptN and scrypt. I´m not being successful to mining VTC with your miner.

Thanks.

You need to say how much memory the card has... post YOUR command line and I'll explain the differences that need to be made.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Hilux74
Legendary
*
Offline Offline

Activity: 912
Merit: 1000



View Profile
March 14, 2014, 04:46:15 AM
 #13

Fantastic update!

Using this mining microCoin and have been able to increase my system happy hashrate (ie no crashing) on each R9-270 card from 75 to 92 khash/s.  That is a big increase. 
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
March 14, 2014, 05:10:20 AM
 #14

Fantastic update!

Using this mining microCoin and have been able to increase my system happy hashrate (ie no crashing) on each R9-270 card from 75 to 92 khash/s.  That is a big increase. 

Mrc is at N factor 11, right?

Mind sharing your settings?
smart15
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
March 14, 2014, 06:40:36 AM
 #15

I can't get right settings for 7950, what settings should i use?
Hilux74
Legendary
*
Offline Offline

Activity: 912
Merit: 1000



View Profile
March 14, 2014, 06:42:27 AM
 #16

Here are the relevant settings I am using for my MSI R9-270 2GB to obtain 90-93khash/s on microCoin.  Hope it is useful.

--gpu-engine 1100,1100 --gpu-memclock 1200,1200 --rawintensity 5120 --buffer-size 1400 -g 1 -w 256 --lookup-gap 2

One of my systems with 3 cards has since my post bluescreened so I might need to tweak it more to run stable.
smart15
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
March 14, 2014, 07:00:21 AM
 #17

Here are the relevant settings I am using for my MSI R9-270 2GB to obtain 90-93khash/s on microCoin.  Hope it is useful.

--gpu-engine 1100,1100 --gpu-memclock 1200,1200 --rawintensity 5120 --buffer-size 1400 -g 1 -w 256 --lookup-gap 2

One of my systems with 3 cards has since my post bluescreened so I might need to tweak it more to run stable.
thanks for help, but that didn't work for me on yac
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
March 14, 2014, 08:43:01 AM
 #18

Here are the relevant settings I am using for my MSI R9-270 2GB to obtain 90-93khash/s on microCoin.  Hope it is useful.

--gpu-engine 1100,1100 --gpu-memclock 1200,1200 --rawintensity 5120 --buffer-size 1400 -g 1 -w 256 --lookup-gap 2

One of my systems with 3 cards has since my post bluescreened so I might need to tweak it more to run stable.
thanks for help, but that didn't work for me on yac

It's for MRC/UTC, N 11.

Will try asap.
Thirtybird (OP)
Hero Member
*****
Offline Offline

Activity: 693
Merit: 500



View Profile
March 14, 2014, 10:48:48 AM
 #19

I can't get right settings for 7950, what settings should i use?

You need to say how much memory the card has... post YOUR command line and I'll explain the differences that need to be made.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
smart15
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
March 14, 2014, 08:43:55 PM
 #20

I can't get right settings for 7950, what settings should i use?

You need to say how much memory the card has... post YOUR command line and I'll explain the differences that need to be made.
I tried the command line you posted above for R7 250. my card has 3GB memory
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 »  All
  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!