i think i may have found the problem but would like others to test and see if it is fixed
also, arebyp kernel can now be used for nscrypt although it seems to put out less hashrate than zuikkis, though it produces less errors for me
Hi,
I also fixed it in my local build, is this the same you found? This fixed HW errors 100% for me.
sgminer.c, function test_nonce, near line 6873:
if ((work->pool->algorithm.name, "neoscrypt")) {
diff1targ = ((uint32_t *)work->target)[7];
} else {
diff1targ = work->pool->algorithm.diff1targ;
}
Should be like this, just add !safe_cmp:
if (!safe_cmp(work->pool->algorithm.name, "neoscrypt")) {
diff1targ = ((uint32_t *)work->target)[7];
} else {
diff1targ = work->pool->algorithm.diff1targ;
}
The original version is really a no-op, always true. So neoscrypt code was used for all algorithms.
Thank you so much for pointing this out. (Although it would have been nice to get a pull request or a notice on github lol...)
I must have pushed the wrong file up originally and when debugging the issue I was using corrected code. No wonder I didn't get HW errors. Chasing a bug that isn't there is can be quite a headache...
Anyway, I pushed the fix to the develop branch. Can anybody try it and confirm that the HW errors are gone?
- ystarnaud