Pages:
Author

Topic: [ANN] Yet another GPU miner release! [YAC] - page 2. (Read 53369 times)

hero member
Activity: 693
Merit: 500
Thanks for the extensive explanation!
I mistyped, I'm using raw intensity and I'm on 13.12.
The same values, if set on the command line, work fine.
It hangs only when set live.
Currently I'm getting 3.350 Kh from a 7950 and 3.730 from an r9 290.

Can you post your exact command line, and then examples of what fails?  also, how much memory your cards and system have as well as the number of shaders being reported by HWInfo or GPU-z (alternatively, you could launch yacminer with -D and -T and comb through the output, but that's messy - it will eventually get added to pretty output somewhere, sometime.)

rI has a similar limitation to xI - multiples of worksize are known to work, in-between values are questionable.  I haven't been able to nail down what is affected and what is not - there are just too many variables.  I thought it was just R7/R9 that was exempt, then thought it was driver - I know my R7 240, and R7 250 aren't limited, both on 13.12.  My 7850M (unknown driver version) is not, but my 7850 desktop on 12.10 (I think) is limited.   Also, no clue about what values can be valid under what driver version of linux...

However, in none of the cases has the computer or software hung (I compile and run for Windows only though).  For me, if it finds a value it doesn't like, and can't enqueue it onto the openCL kernel, it disables the GPU.  Setting rI back to a valid value and then re-enabling the GPU always gets it back to work for me.

here is the command line:
-R 6144,1856 --lookup-gap 3 --buffer-size 3264,2496 --gpu-engine 1100,1100 --gpu-memclock 1250,1250

what fails is changing -R "on the fly".
the first card is an r9 290 with 4GB and the second is a 7950 with 3GB (both failing), system has 8GB ram.
how can I see the number of shaders on linux?
when a card fails that way, if I try restarting, it goes "sick" and I need to reboot.
at this point, I believe it might be a driver issue (I'm using xedgers repository, which usually has beta drivers, but with ubuntu default ones it was much worse).

So, if you aren't specifying --worksize, it defaults to 256, and I wouldn't use -R 1856 (try -R 6144,1792 or throw a --worksize 256,64).

I really can't answer questions about linux - you'll have to google it, or, as I said, run it with -T -D and look through the output, it does get output somewhere in there.

So, the AMD supplied linux drivers don't work for mining?  That really surprises me.  I know Ubuntu is Debian based, and a colleague is running numerous machines on debian using YACMiner, and has been quite successful, even while still learning what he was doing.
hero member
Activity: 693
Merit: 500
Quote
[2014-03-19 11:12:42] Started yacminer 3.5.0-yac2
 [2014-03-19 11:12:42] Probing for an alive pool
 [2014-03-19 11:12:43] Pool 0 difficulty changed to 2
 [2014-03-19 11:12:49] GPU 0: bufsize for thread @ 1664MB based on buffer-size
 [2014-03-19 11:12:49] Network diff set to 1.42K
 [2014-03-19 11:12:49] Error -4: Enqueueing kernel onto command queue. (clEnqueu
eNDRangeKernel)
 [2014-03-19 11:12:49] GPU 0 failure, disabling!
 [2014-03-19 11:12:49] Thread 0 being disabled
 [2014-03-19 11:13:13] Stratum from pool 0 detected new block

using buffer-size
yacminer --scrypt-chacha --worksize 64 --lookup-gap 8 -g 1 -R 1856 --buffer-size 1664  -o stratum+tcp://yac.m-s-t.org:3333

Using "auto mode" - gives same error and produces
scrypt-chachaCaymanglg4tc50432w64l4.bin

"old settings" work ok

It just looks like you don't have the ability to allocate that much GPU ram - guessing only 2 GB of system memory too? 
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Thanks for the extensive explanation!
I mistyped, I'm using raw intensity and I'm on 13.12.
The same values, if set on the command line, work fine.
It hangs only when set live.
Currently I'm getting 3.350 Kh from a 7950 and 3.730 from an r9 290.

Can you post your exact command line, and then examples of what fails?  also, how much memory your cards and system have as well as the number of shaders being reported by HWInfo or GPU-z (alternatively, you could launch yacminer with -D and -T and comb through the output, but that's messy - it will eventually get added to pretty output somewhere, sometime.)

rI has a similar limitation to xI - multiples of worksize are known to work, in-between values are questionable.  I haven't been able to nail down what is affected and what is not - there are just too many variables.  I thought it was just R7/R9 that was exempt, then thought it was driver - I know my R7 240, and R7 250 aren't limited, both on 13.12.  My 7850M (unknown driver version) is not, but my 7850 desktop on 12.10 (I think) is limited.   Also, no clue about what values can be valid under what driver version of linux...

However, in none of the cases has the computer or software hung (I compile and run for Windows only though).  For me, if it finds a value it doesn't like, and can't enqueue it onto the openCL kernel, it disables the GPU.  Setting rI back to a valid value and then re-enabling the GPU always gets it back to work for me.

here is the command line:
-R 6144,1856 --lookup-gap 3 --buffer-size 3264,2496 --gpu-engine 1100,1100 --gpu-memclock 1250,1250

what fails is changing -R "on the fly".
the first card is an r9 290 with 4GB and the second is a 7950 with 3GB (both failing), system has 8GB ram.
how can I see the number of shaders on linux?
when a card fails that way, if I try restarting, it goes "sick" and I need to reboot.
at this point, I believe it might be a driver issue (I'm using xedgers repository, which usually has beta drivers, but with ubuntu default ones it was much worse).
legendary
Activity: 1151
Merit: 1001
Quote
[2014-03-19 11:12:42] Started yacminer 3.5.0-yac2
 [2014-03-19 11:12:42] Probing for an alive pool
 [2014-03-19 11:12:43] Pool 0 difficulty changed to 2
 [2014-03-19 11:12:49] GPU 0: bufsize for thread @ 1664MB based on buffer-size
 [2014-03-19 11:12:49] Network diff set to 1.42K
 [2014-03-19 11:12:49] Error -4: Enqueueing kernel onto command queue. (clEnqueu
eNDRangeKernel)
 [2014-03-19 11:12:49] GPU 0 failure, disabling!
 [2014-03-19 11:12:49] Thread 0 being disabled
 [2014-03-19 11:13:13] Stratum from pool 0 detected new block

using buffer-size
yacminer --scrypt-chacha --worksize 64 --lookup-gap 8 -g 1 -R 1856 --buffer-size 1664  -o stratum+tcp://yac.m-s-t.org:3333

Using "auto mode" - gives same error and produces
scrypt-chachaCaymanglg4tc50432w64l4.bin

"old settings" work ok


hero member
Activity: 693
Merit: 500
Thanks for the extensive explanation!
I mistyped, I'm using raw intensity and I'm on 13.12.
The same values, if set on the command line, work fine.
It hangs only when set live.
Currently I'm getting 3.350 Kh from a 7950 and 3.730 from an r9 290.

Can you post your exact command line, and then examples of what fails?  also, how much memory your cards and system have as well as the number of shaders being reported by HWInfo or GPU-z (alternatively, you could launch yacminer with -D and -T and comb through the output, but that's messy - it will eventually get added to pretty output somewhere, sometime.)

rI has a similar limitation to xI - multiples of worksize are known to work, in-between values are questionable.  I haven't been able to nail down what is affected and what is not - there are just too many variables.  I thought it was just R7/R9 that was exempt, then thought it was driver - I know my R7 240, and R7 250 aren't limited, both on 13.12.  My 7850M (unknown driver version) is not, but my 7850 desktop on 12.10 (I think) is limited.   Also, no clue about what values can be valid under what driver version of linux...

However, in none of the cases has the computer or software hung (I compile and run for Windows only though).  For me, if it finds a value it doesn't like, and can't enqueue it onto the openCL kernel, it disables the GPU.  Setting rI back to a valid value and then re-enabling the GPU always gets it back to work for me.
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Thanks for the extensive explanation!
I mistyped, I'm using raw intensity and I'm on 13.12.
The same values, if set on the command line, work fine.
It hangs only when set live.
Currently I'm getting 3.350 Kh from a 7950 and 3.730 from an r9 290.
hero member
Activity: 693
Merit: 500
You're fast - I updated my analysis when I looked at the code

you forgot --enable-scrypt in your configure statement

you could just run autogen.sh too (unless you don't like things easy Smiley)

thanks!
it's working now, about the same hashrate than 3.4 but I need to tweak a little bit to see if I can get better.
the problem I'm having now is that every time I change the xintensity the corresponding gpu halts and I must reboot.
changing the legacy intensity value doesn't seem to suffer the same issue, though.

Are you specifying shaders in the command line?  If so, try not doing that.  I can't think of any reason why it would do that other than your card having a shader count that is not a multiple of worksize (primarily on older drivers I believe).  For instance, on my 5770, it has 800 shaders, and at optimal it should be xI = 4 (for 3200 threads).  3200 is not a multiple of 256, so if my worksize is 256, the GPU gets disabled.  In fact, unless you set the worksize to 64 on that card, none of the xI settings work.  Any -I based intensity 8 or higher is always going to be a multiple of 256, so there's no danger there, but I think xI and rI are much more precise.

tl;dr - try worksize =64 ; also, maybe catalyst 13.12 with OpenCL 1.2 - on my machine I was able to set values for rI and xI that were not multiples of worksize after I installed that driver.  The worksize change is easier though Smiley
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
You're fast - I updated my analysis when I looked at the code

you forgot --enable-scrypt in your configure statement

you could just run autogen.sh too (unless you don't like things easy Smiley)

thanks!
it's working now, about the same hashrate than 3.4 but I need to tweak a little bit to see if I can get better.
the problem I'm having now is that every time I change the xintensity the corresponding gpu halts and I must reboot.
changing the legacy intensity value doesn't seem to suffer the same issue, though.
hero member
Activity: 693
Merit: 500
You're fast - I updated my analysis when I looked at the code

you forgot --enable-scrypt in your configure statement

you could just run autogen.sh too (unless you don't like things easy Smiley)
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Disclaimer - update to yacminer 3.5.0 is required to follow this advice...

You need to allocate more memory. 760 MB is not enough - Double it and go higher if you can.  Use "--buffer-size 1664" instead of your thread concurrency setting. That will let you use more shaders without running out of memory.  If you do that, you can push -R to ~3300 without any other changes to your config

tried compiling it now:

yacminer.c: In function ‘GetNfactor’:
yacminer.c:1090:11: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  else if (opt_n_scrypt)
           ^
yacminer.c:1090:11: note: each undeclared identifier is reported only once for each function it appears in
yacminer.c: In function ‘curses_print_status’:
yacminer.c:2297:27: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  if (opt_scrypt_chacha || opt_n_scrypt)
                           ^
yacminer.c: In function ‘main’:
yacminer.c:7807:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7808:20: error: ‘opt_n_scrypt’ undeclared (first use in this function)
   opt_set_invbool(&opt_n_scrypt);
                    ^
yacminer.c:7813:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7814:19: error: lvalue required as unary ‘&’ operand
   opt_set_invbool(&opt_scrypt_chacha);
                   ^

you need to have the automake tools and dependancies and then run the autogen.sh before running make.  It looks like it's going off an old config.


I run it on a new folder like this:

./autogen.sh
CFLAGS="-march=native -O3" ./configure
make

tried also running "make clean" but same problem.
other cgminer variants and yacminer 3.4 do compile fine.

EDIT: if I don't run configure after autogen.sh, it works :-)
hero member
Activity: 693
Merit: 500
Disclaimer - update to yacminer 3.5.0 is required to follow this advice...

You need to allocate more memory. 760 MB is not enough - Double it and go higher if you can.  Use "--buffer-size 1664" instead of your thread concurrency setting. That will let you use more shaders without running out of memory.  If you do that, you can push -R to ~3300 without any other changes to your config

tried compiling it now:

yacminer.c: In function ‘GetNfactor’:
yacminer.c:1090:11: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  else if (opt_n_scrypt)
           ^
yacminer.c:1090:11: note: each undeclared identifier is reported only once for each function it appears in
yacminer.c: In function ‘curses_print_status’:
yacminer.c:2297:27: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  if (opt_scrypt_chacha || opt_n_scrypt)
                           ^
yacminer.c: In function ‘main’:
yacminer.c:7807:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7808:20: error: ‘opt_n_scrypt’ undeclared (first use in this function)
   opt_set_invbool(&opt_n_scrypt);
                    ^
yacminer.c:7813:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7814:19: error: lvalue required as unary ‘&’ operand
   opt_set_invbool(&opt_scrypt_chacha);
                   ^

you need to have the automake tools and dependancies and then run the autogen.sh before running make.  It looks like you ran your own configure statement without the --enable-scrypt setting
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Disclaimer - update to yacminer 3.5.0 is required to follow this advice...

You need to allocate more memory. 760 MB is not enough - Double it and go higher if you can.  Use "--buffer-size 1664" instead of your thread concurrency setting. That will let you use more shaders without running out of memory.  If you do that, you can push -R to ~3300 without any other changes to your config

tried compiling it now:

yacminer.c: In function ‘GetNfactor’:
yacminer.c:1090:11: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  else if (opt_n_scrypt)
           ^
yacminer.c:1090:11: note: each undeclared identifier is reported only once for each function it appears in
yacminer.c: In function ‘curses_print_status’:
yacminer.c:2297:27: error: ‘opt_n_scrypt’ undeclared (first use in this function)
  if (opt_scrypt_chacha || opt_n_scrypt)
                           ^
yacminer.c: In function ‘main’:
yacminer.c:7807:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7808:20: error: ‘opt_n_scrypt’ undeclared (first use in this function)
   opt_set_invbool(&opt_n_scrypt);
                    ^
yacminer.c:7813:16: error: lvalue required as unary ‘&’ operand
   opt_set_bool(&opt_scrypt);
                ^
yacminer.c:7814:19: error: lvalue required as unary ‘&’ operand
   opt_set_invbool(&opt_scrypt_chacha);
                   ^
hero member
Activity: 693
Merit: 500
My best results for 6970 with 2GB RAM

yacminer --scrypt --worksize 64 --lookup-gap 8 -g 1 -R 1856 --thread-concurrency 48640 -o stratum+tcp://yac.m-s-t.org:3333

2.25KH/s



Disclaimer - update to yacminer 3.5.0 is required to follow this advice...

You need to allocate more memory. 760 MB is not enough - Double it and go higher if you can.  Use "--buffer-size 1664" instead of your thread concurrency setting.  That will let you use more shaders without running out of memory.  If you do that, you can push -R to ~3300 without any other changes to your config

hero member
Activity: 812
Merit: 1000
My best results for 6970 with 2GB RAM

yacminer --scrypt --worksize 64 --lookup-gap 8 -g 1 -R 1856 --thread-concurrency 48640 -o stratum+tcp://yac.m-s-t.org:3333

2.25KH/s



You're better off mining myriad coin groestl with it me thinks...have you tried? I can get 2.35kh/s on an R7 240 2gb.
legendary
Activity: 1151
Merit: 1001
My best results for 6970 with 2GB RAM

yacminer --scrypt --worksize 64 --lookup-gap 8 -g 1 -R 1856 --thread-concurrency 48640 -o stratum+tcp://yac.m-s-t.org:3333

2.25KH/s

hero member
Activity: 809
Merit: 501
February 21, 2014, 09:37:15 PM
Well, I saw one accepted share, but I think the effective mining rate is very low now.

It's a 6850 with 1GB of memory, I wonder if GPU's with more memory are faring better.

Indeed. Checkout http://[Suspicious link removed]/index.php/Mining_Hardware_Comparison
Thanks guys , helpful info

haha it was yacoinwiki.tk :/
hero member
Activity: 809
Merit: 501
February 21, 2014, 08:54:40 PM
Well, I saw one accepted share, but I think the effective mining rate is very low now.

It's a 6850 with 1GB of memory, I wonder if GPU's with more memory are faring better.

Indeed. Checkout http://yacoinwiki.tk/index.php/Mining_Hardware_Comparison
hero member
Activity: 812
Merit: 1000
February 21, 2014, 08:52:36 PM
Well, I saw one accepted share, but I think the effective mining rate is very low now.

It's a 6850 with 1GB of memory, I wonder if GPU's with more memory are faring better.

They are. at least 2gb and play with lookup gap.
newbie
Activity: 3
Merit: 0
February 21, 2014, 08:06:38 PM
Hello,
Can you help me with the settings of 280x? im only getting 3khs with 280x dualx card.
hero member
Activity: 693
Merit: 500
February 19, 2014, 10:29:57 AM
anyone know the command line to Scrypt R9 280x - GV-R928XOC-3GD

Everyone is going to come up with different results, and someone elses settings may not work for you.

Try the following and tweak from there.

Code:
yacminer --scrypt --worksize 256 -g 1 --lookup-gap 4 -R 2048 --thread-concurrency 51968 -o stratum+tcp://yac.coinmine.pl:9088 -u Thirtybird.envygpu -p x  --no-submit-stale --nfmin 4 --nfmax 30 --starttime 1367991200
Pages:
Jump to: