sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
629 stars 825 forks source link

100% rejects with Zuikkis kernel #127

Closed Bllacky closed 10 years ago

Bllacky commented 10 years ago

Has anyone had issues with zuikkis kernel?

SGminer under troky branch works perfect. SGminer under zuikkis give 100% rejects and "share above target" error. I have tried to use zuikkis kernel with sgminer under troky branch, still 100% rejects.

Is there something special needed in the settings for zuikkis kernel to work ?

veox commented 10 years ago

Post your config.

Bllacky commented 10 years ago

{ "kernel" : "zuikkis", "gpu-map" : "0:1,1:2,2:4,3:0,4:3", "xintensity" : "4,4,10,4,4", "vectors": "1,1,1,1,1", "worksize" : "256,256,256,256,256", "lookup-gap" : "2,2,2,2,2", "gpu-threads" : "2,2,1,2,2", "thread-concurrency" : "8193,8192,12288,8192,8192", "gpu-engine" : "1035-1035,1035-1035,975-975,1035-1035,1035-1035", "gpu-fan" : "30-87,30-87,0-87,30-87,30-87", "gpu-memclock" : "1500,1500,1400,1500,1500", "gpu-powertune" : "20,20,20,20,20", "temp-cutoff" : "90", "temp-overheat" : "85,85,85,85,85", "temp-target" : "75,75,75,75,75", "api-mcast-port" : "4028", "api-port" : "4028", "auto-fan" : true, "expiry" : "1", "failover-only" : true, "failover-switch-delay" : "60", "gpu-dyninterval" : "7", "gpu-platform" : "0", "log" : "5", "nfactor": "11", "scrypt" : true, "log-dateformat" : "0", "no-pool-disable" : true, "no-submit-stale" : true, "queue" : "0", "scan-time" : "30", "tcp-keepalive" : "30", "temp-hysteresis" : "3", "shares" : "0", "kernel-path" : "/usr/local/bin" }

veox commented 10 years ago

zuikkis kernel with sgminer under troky branch

Sorry, misread this one. branch nfactor-troky only supports one kernel.

nfactor support is experimental, see https://github.com/veox/sgminer/issues/126

Bllacky commented 10 years ago

I see.

But the above problem is for zuikkis branch. Basically, zuikkis sgminer branch compiled by me, gives 100% rejects. troky branch compiled by me works perfectly.

I have tried with and without nfactor, the same result. I think it's something in my settings, i think it's better if I contact zuikkis on this matter.But I haven't seen him around here.

veox commented 10 years ago

Do you remove the *bin files compiled by other branch before running?

Bllacky commented 10 years ago

I have separate sgminer folders for every branch and I clean it every time. I can try to compile again now and test zuikkis branch.

veox commented 10 years ago

(Also, you are using a config file generated from the ncurses interface, right? This functionality is known to be broken: https://github.com/veox/sgminer/issues/50)

To be precise, we are talking about a clone of veox/sgminer, branch nfactor-zuikkis, not zuikkis/master, yes?

veox commented 10 years ago

Try removing the following:

"vectors": "1,1,1,1,1",
"worksize" : "256,256,256,256,256",
"lookup-gap" : "2,2,2,2,2",
"scrypt" : true,
Bllacky commented 10 years ago

Yes, we are talking about veox/sgminer branch nfactor - zuikkis. Not zuikkis master.

Just compiled a fresh version right now, will try with your suggested settings.

Bllacky commented 10 years ago

BTW, I am testing it on mining vertcoin.

Current settings:

{ "kernel" : "zuikkis", "gpu-map" : "0:1,1:2,2:4,3:0,4:3", "intensity" : "13,13,17,13,13", "vectors": "1,1,1,1,1", "worksize" : "256,256,256,256,256", "lookup-gap" : "2,2,2,2,2", "scrypt" : true, "gpu-threads" : "1,2,1,2,2", "thread-concurrency" : "8193,8192,12288,8192,8192", "gpu-engine" : "1035-1035,1035-1035,1000-1000,1035-1035,1035-1035", "gpu-fan" : "30-87,30-87,0-87,30-87,30-87", "gpu-memclock" : "1300,1500,1400,1500,1500", "gpu-powertune" : "20,20,20,20,20", "temp-cutoff" : "90", "temp-overheat" : "85,85,85,85,85", "temp-target" : "75,75,75,75,75", "api-mcast-port" : "4028", "shaders" : "2048", "api-port" : "4028", "auto-fan" : true, "expiry" : "1", "failover-only" : true, "failover-switch-delay" : "60", "gpu-dyninterval" : "7", "gpu-platform" : "0", "log" : "5", "log-dateformat" : "0", "no-pool-disable" : true, "no-submit-stale" : true, "queue" : "0", "scan-time" : "30", "tcp-keepalive" : "30", "temp-hysteresis" : "3", "shares" : "0", "kernel-path" : "/usr/local/bin" }

The above settings give 100% rejects with "Share is above target".

veox commented 10 years ago

Hmm, what kernels are installed in /usr/local/bin? Try explicitly specifying your local branch's kernel dir.

Bllacky commented 10 years ago

KERNELS:

alexkarnew alexkarold ckolivas nscrypt psw zuikkis

I know sgminer loads the zuikkis kernel because it writes: kernel zuikkis is experimental.

However, if I leave "scrypt" : true in the config, sgminer won't use zuikkis, but ckolivas kernel.

So in order to use zuikkis, I must remove scrypt: true from the config.

But even with scrypt: true removed, I still get 100% rejects.

Maybe I need to add something like zuikkis: true, or nfactor: true , or ... I don't know.

veox commented 10 years ago

You need to use the in-tree .cl files, so specify "kernel-path". And yes, you do need "nfactor": "11" ATM.

Bllacky commented 10 years ago

Yes, it worked! Thank you! This is my config file if anyone else will need it: { "kernel" : "zuikkis", "intensity" : "13,13,17,13,13", "vectors": "1,1,1,1,1", "worksize" : "256,256,256,256,256", "lookup-gap" : "2,2,2,2,2", "gpu-threads" : "1,2,1,2,2", "thread-concurrency" : "8193,8192,12288,8192,8192", "gpu-engine" : "1035-1035,1035-1035,1000-1000,1035-1035,1035-1035", "gpu-fan" : "30-87,30-87,0-87,30-87,30-87", "gpu-memclock" : "1300,1500,1400,1500,1500", "gpu-powertune" : "20,20,20,20,20", "temp-cutoff" : "90", "temp-overheat" : "85,85,85,85,85", "temp-target" : "75,75,75,75,75", "api-mcast-port" : "4028", "shaders" : "2048", "api-port" : "4028", "auto-fan" : true, "expiry" : "1", "nfactor": "11", "failover-only" : true, "failover-switch-delay" : "60", "gpu-dyninterval" : "7", "gpu-platform" : "0", "log" : "5", "log-dateformat" : "0", "no-pool-disable" : true, "no-submit-stale" : true, "queue" : "0", "scan-time" : "30", "tcp-keepalive" : "30", "temp-hysteresis" : "3", "shares" : "0", "kernel-path" : "/usr/local/bin" }

veox commented 10 years ago

OK, closing issue.