Bitcoin Forum
June 20, 2024, 09:02:24 PM *
News: Voting for pizza day contest
 
   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 53305 times)
6strings
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
June 18, 2013, 04:34:30 PM
Last edit: June 18, 2013, 04:49:28 PM by 6strings
 #221

Getting 240 on my 7870 LE EZ.
I guess thats good  Smiley

Quote
yacminer  --scrypt --worksize 256 -g 2 --lookup-gap 4 -I 11 --thread-concurrency 17000
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
June 18, 2013, 04:38:27 PM
 #222

it does not compile, one of the main source code files is missing:

Code:
make[2]: Leaving directory `/usr/src/bitcoin/yaminer-beta-src/ccan'
make[2]: Entering directory `/usr/src/bitcoin/yaminer-beta-src'
make[2]: *** No rule to make target `yacminer.c', needed by `yacminer.o'.  Stop.
make[2]: Leaving directory `/usr/src/bitcoin/yaminer-beta-src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/bitcoin/yaminer-beta-src'
make: *** [all] Error 2
[root@megabox yaminer-beta-src]# ls
01-cgminer.rules  api-example.c    bench_block.h              compat.h       config.sub        driver-avalon.h    elist.h       hexdump.c          m4           ocl.c             scrypt.h       util.c
aclocal.m4        api-example.php  bitforce-firmware-flash.c  compile        configure         driver-bflsc.c     example.conf  install-sh         Makefile     ocl.h             SCRYPT-README  util.h
adl.c             API.java         bitstreams                 config.guess   configure.ac      driver-bitforce.c  findnonce.c   lib                Makefile.am  phatk121016.cl    sha2.c         warn-on-use.h
adl_functions.h   API-README       ccan                       config.h       COPYING           driver-icarus.c    findnonce.h   libztex.c          Makefile.in  poclbm130302.cl   sha2.h         windows-build.txt
adl.h             arg-nonnull.h    c++defs.h                  config.h.in    depcomp           driver-modminer.c  FPGA-README   libztex.h          miner.h      README            stamp-h1
ADL_SDK           ASIC-README      cgminer.c                  config.h.in~   diablo130302.cl   driver-opencl.c    fpgautils.c   linux-usb-cgminer  miner.php    scrypt130511.cl   usbutils.c
api.c             AUTHORS          ChangeLog                  config.log     diakgcn121016.cl  driver-opencl.h    fpgautils.h   logging.c          missing      scrypt.c          usbutils.h
API.class         autom4te.cache   compat                     config.status  driver-avalon.c   driver-ztex.c      GPU-README    logging.h          NEWS         scrypt-chacha.cl  uthash.h

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
PSL
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile
June 18, 2013, 05:34:08 PM
 #223

it does not compile, one of the main source code files is missing:

I can compile it.
Code:
wget http://sourceforge.net/projects/hnindev/files/yaminer-beta-src-2.zip
unzip yaminer-beta-src-2.zip
cd yaminer-beta-src/
chmod +x configure
./configure --enable-scrypt && make

cat ADL_SDK/readme.txt
6strings
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
June 18, 2013, 06:09:04 PM
 #224

A (sort of) off topic question for those in the know...

This yacminer seems to work great with my 7870 LE EZ tahiti based(aka 7930) where as its terrible with mining ltc or anything scrypt. I have it up to 270khash now with yacminer compared to the 230 posted for a 7950 in the op. Would I would like to know is what makes this perform so much better than mining scrypt with cgminer for a 7870 tahiti gpu like mine? Also, is it somehow possible to make a tweaked yacminer to mine ltc or other scrypt based coins? I know this sounds odd to those that are unfamiliar with the card. The card is absolute trash at scrypt but its great at sha and it also seems to be just as good as a 7950 with yacminer. If yacminer could be somehow tweaked to mine scrypt so the 7870 tahitis potential could be unlocked thatd be most awesome.
bitdwarf
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


The cryptocoin watcher


View Profile
June 18, 2013, 06:41:04 PM
 #225

Update. My 6850 is maxing out on Linux at 133Kh/s with:

Code:
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
-I 18 -w 128 --lookup-gap 2 -g 1

thread-concurrency and shaders make no difference, except their cap is 8180 and 960. Also above I 15 the gains are very small.

𝖄𝖆𝖈: YF3feU4PNLHrjwa1zV63BcCdWVk5z6DAh5 · 𝕭𝖙𝖈: 12F78M4oaNmyGE5C25ZixarG2Nk6UBEqme
Ɏ: "the altcoin for the everyman, where the sweat on one's brow can be used to cool one's overheating CPU" -- theprofileth
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
June 18, 2013, 06:45:57 PM
 #226

it does not compile, one of the main source code files is missing:

I can compile it.
Code:
wget http://sourceforge.net/projects/hnindev/files/yaminer-beta-src-2.zip
unzip yaminer-beta-src-2.zip
cd yaminer-beta-src/
chmod +x configure
./configure --enable-scrypt && make

cat ADL_SDK/readme.txt


Where is yacminer.c being generated then? i tried the --with-scrypt arg to configure in case that might cause configure to create that file but there is still no such file.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
PSL
Member
**
Offline Offline

Activity: 166
Merit: 10


View Profile
June 18, 2013, 07:55:09 PM
 #227

Where is yacminer.c being generated then? i tried the --with-scrypt arg to configure in case that might cause configure to create that file but there is still no such file.

There is no yacminer.c; check cgminer.c

echo "  CCLD  " yacminer;gcc  -g -O2 -lpthread  -o yacminer cgminer-cgminer.o cgminer-util.o cgminer-sha2.o cgminer-api.o cgminer-logging.o cgminer-driver-opencl.o cgminer-ocl.o cgminer-findnonce.o cgminer-adl.o           -lcurl   -ljansson -lpthread -lm lib/libgnu.a ccan/libccan.a -lncurses -lpthread
superfry
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
June 18, 2013, 10:57:51 PM
 #228

Great work on the updated kernel, doubled the hashrate on my 5870 (110Kh/s to 235Kh/s) and increased my 7770's from 125Kh/s to 153Kh/s
Charles999
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
June 18, 2013, 11:20:26 PM
 #229

Id' mine this coin if it had a better logo.  Someone actually made a Yak!  This coin coulda had so much potential if it wasn't GPU minable.. but it is..

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.zip
Source code:
http://sourceforge.net/projects/hnindev/files/yaminer-beta-src-2.zip
Win32 binary built by Thirtybird: https://mega.co.nz/#!e1YVDBYZ!YSzn40ba5ciOVUeJjIcQnFxbvr0JhdYwkzqempL_l8Y
CL kernel with Lookup-Gap supported by mikaelh: https://bitcointalk.org/index.php?topic=232241.msg2502101#msg2502101
(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:
Quote
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:
Quote
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#msg2449944
https://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.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 19, 2013, 09:17:42 AM
 #230

Only a small update this time. I added automatic compensation for Nfactor changes. This prevents the GPU from crashing by automatically reducing the thread concurrency within the OpenCL kernel. Intensity will still need to be adjusted when N changes (especially if you start getting HW errors).

scrypt-chacha-v4.cl
https://mega.co.nz/#!Jx8DgRhL!Lmh0-HxHm0AYwcePGFSPWV-9bbwd8WN5OwuWiC4oBh4

Next change of N is scheduled for Tue 25 Jun 2013 18:38:24 (GMT).
6strings
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
June 19, 2013, 09:26:47 AM
 #231

trying v4 now and its actually giving me a huge drop in hash rate. I am down to 165khash at i20 where as I was getting 270 at i12 with the last version.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 19, 2013, 09:39:13 AM
 #232

trying v4 now and its actually giving me a huge drop in hash rate. I am down to 165khash at i20 where as I was getting 270 at i12 with the last version.

What's your GPU? v4 adds one division operation which could be slow if your GPU doesn't have a division instruction. I can write code that doesn't use division.
6strings
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
June 19, 2013, 09:50:50 AM
 #233

What's your GPU? v4 adds one division operation which could be slow if your GPU doesn't have a division instruction. I can write code that doesn't use division.

I am using a 7870 Tahiti(aka 7930). Normally this card sucks at anything scrypt but for some reason it seems to be on par with a 7950 with yacminer(270khash) with the last version of the CL. Its a finicky card I must admit. I only ever had luck with sha with this card. It hits nearly 600mhash there. Scrypt(cgminer) I get a measly 380khash.
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
June 19, 2013, 10:23:40 AM
 #234

New revision is out. This tries to avoid nasty division and modulo operations. For whatever reason, this is the fastest kernel for my 7790.

scrypt-chacha-v5.cl
https://mega.co.nz/#!A0VCmZbR!LbTRJQ10nnidSn6U5ZZkCD1LXBwV6HjK7lA4aJaO_ng
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
June 19, 2013, 01:09:12 PM
 #235

Where is yacminer.c being generated then? i tried the --with-scrypt arg to configure in case that might cause configure to create that file but there is still no such file.

There is no yacminer.c; check cgminer.c

echo "  CCLD  " yacminer;gcc  -g -O2 -lpthread  -o yacminer cgminer-cgminer.o cgminer-util.o cgminer-sha2.o cgminer-api.o cgminer-logging.o cgminer-driver-opencl.o cgminer-ocl.o cgminer-findnonce.o cgminer-adl.o           -lcurl   -ljansson -lpthread -lm lib/libgnu.a ccan/libccan.a -lncurses -lpthread


Well I guess the autoconf stuff (./configure) must be broken then, i tried to make sure it had all the right parts for my system by doing autoreconf and that found errors:

Code:
autoreconf -i -f
Makefile.am:40: variable `cgminer_SOURCES' is defined but no program or
Makefile.am:40: library has `cgminer' as canonical name (possible typo)
Makefile.am:26: variable `cgminer_LDADD' is defined but no program or
Makefile.am:26: library has `cgminer' as canonical name (possible typo)
Makefile.am:25: variable `cgminer_LDFLAGS' is defined but no program or
Makefile.am:25: library has `cgminer' as canonical name (possible typo)

The Makefile is what is asking for yacminer.c, maybe that has something to do with the broken configure stuff.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
hanzac (OP)
Sr. Member
****
Offline Offline

Activity: 425
Merit: 262


View Profile
June 19, 2013, 01:21:13 PM
 #236

Where is yacminer.c being generated then? i tried the --with-scrypt arg to configure in case that might cause configure to create that file but there is still no such file.

There is no yacminer.c; check cgminer.c

echo "  CCLD  " yacminer;gcc  -g -O2 -lpthread  -o yacminer cgminer-cgminer.o cgminer-util.o cgminer-sha2.o cgminer-api.o cgminer-logging.o cgminer-driver-opencl.o cgminer-ocl.o cgminer-findnonce.o cgminer-adl.o           -lcurl   -ljansson -lpthread -lm lib/libgnu.a ccan/libccan.a -lncurses -lpthread


Well I guess the autoconf stuff (./configure) must be broken then, i tried to make sure it had all the right parts for my system by doing autoreconf and that found errors:

Code:
autoreconf -i -f
Makefile.am:40: variable `cgminer_SOURCES' is defined but no program or
Makefile.am:40: library has `cgminer' as canonical name (possible typo)
Makefile.am:26: variable `cgminer_LDADD' is defined but no program or
Makefile.am:26: library has `cgminer' as canonical name (possible typo)
Makefile.am:25: variable `cgminer_LDFLAGS' is defined but no program or
Makefile.am:25: library has `cgminer' as canonical name (possible typo)

The Makefile is what is asking for yacminer.c, maybe that has something to do with the broken configure stuff.

-MarkM-


I didn't make assurance for the autoconf. I just modified the ./configure so that it can output the Makefile to output the yacminer named binary.
Please just make clean run of ./configure, It shouldn't be broken as it's tested in my linux env (fedora).
bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
June 19, 2013, 01:37:02 PM
 #237

The way I see it, it still is more profitable to mine BTC with GPU rather than YAC so what is the point, really ?
6strings
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
June 19, 2013, 06:36:47 PM
 #238

The way I see it, it still is more profitable to mine BTC with GPU rather than YAC so what is the point, really ?

I noticed that too. Even with 10x more hashing power its still about half as profitable as btc mining in my case.

Not sure how gpu mining YAC will affect price over time but I can't see it being a good thing unless the coin has some big tricks up its sleeve.
Bakaboy
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 19, 2013, 07:11:27 PM
 #239

The way I see it, it still is more profitable to mine BTC with GPU rather than YAC so what is the point, really ?

I noticed that too. Even with 10x more hashing power its still about half as profitable as btc mining in my case.

At the moment, I see quite the opposite. Even with the very low conversion rate of ~0.000174/BTC. A 10x7950 mining rig will do roughly 0.25 - 0.32 BTC per day (1500-1800 YAC/day). With the current Bitcoin difficulty of 19339258 the equivalent is ~0.145 BTC/day. The YAC gpu miner also draws 400-500 watts less (I assume because it's "not yet optimized"). This is only true of course if you (can) sell your YAC's everyday. If the exchange rate increases a bit, you get an equivalent increase in BTC/day. However, with a market cap is only ~$69K (http://coinmarketcap.com/) it is heavily susceptible to heavy dumping, which will drive the price too low to be profitable (at least for the short term). The effect of the pending N increase (June 25th) is also a factor to consider as well as the subsequent difficulty adjustment.
igysa
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 19, 2013, 07:17:54 PM
 #240



At the moment, I see quite the opposite. Even with the very low conversion rate of ~0.000174/BTC. A 10x7950 mining rig will do roughly 0.25 - 0.32 BTC per day (1500-1800 YAC/day). With the current Bitcoin difficulty of 19339258 the equivalent is ~0.145 BTC/day. The YAC gpu miner also draws 400-500 watts less (I assume because it's "not yet optimized"). This is only true of course if you (can) sell your YAC's everyday. If the exchange rate increases a bit, you get an equivalent increase in BTC/day. However, with a market cap is only ~$69K (http://coinmarketcap.com/) it is heavily susceptible to heavy dumping, which will drive the price too low to be profitable (at least for the short term). The effect of the pending N increase (June 25th) is also a factor to consider as well as the subsequent difficulty adjustment.
[/quote]

spot on ! only I have much smaller hashing power, but ratio is about the same ! YAC more profitable then BTC for sure.

BTC 1Hm2qSb1XZ8iAuogEqCBod17KQPHepjwF
LTC LWu3fAQuw36UVm6vASQgk6yQjgLgKmeWPD
YAC YKVQi33Jv7UaBtStgTDiCB2uL6vsYdX7be
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!