Guys,
How to compile badman74's build in Linux ?
I tried both possibilities but got the same error "clSetKernelArg of all params failed":
./autogen.sh
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86" ./configure --enable-scrypt --enable-opencl
make install
or
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native"
make
I didn't have any problems with compilation of phm's build .
For anyone that uses my sgminer version (https://github.com/badman74/sph-sgminer and https://github.com/badman74/Binaries/archive/master.zip) not the ones on the OP.The method to set CPU algo's has changed, it is now set with --algorithm instead of --kernel.
also --difficulty-multiplier is only needed if the pool wont accept your shares as the most common diff is already set
this miner can do scrypt, nscrypt, scrypt-jane, plus all the new CPU algo's from PHM
and though i haven't tested it, gridseed ASIC should be supported
please see NEWS.md and /doc/configuration.md for more info git clone git://github.com/badman74/sph-sgminer.git
cd sph-sgminer
cp -av ../ADL-SDK/*.h ADL_SDK
autoreconf -fvi
./configure CFLAGS="-O2 -Wall -march=native" --enable-opencl --enable-gridseed
make
use --algorithm to set the desired algo and -k for the different scrypt kernelsalso please delete your old .bin files as well they may cause problemsi have confirmed that using -k instead of --algorithm when a .bin file is present will cause this error while if no .bin is present it will just show waiting for pool then eventually crash
algo's: scrypt, nscrypt, scrypt-jane, darkcoin, qubitcoin, myriadcoin-groestl, quarkcoin, fuguecoin, inkcoin, animecoin, groestlcoin, sifcoin, twecoin, and maurcoin
scrypt kernels: alexkarnew, alexkarold, ckolivas, psw, zuikkis
and for the cpu coin diff problems, most are fine but if you get low diff shares or the diff seems way too high you can use --difficulty-multiplier to manually set the multiplier
the 3 settings are 256, 1.0, and 0.0039062500 (1/256)
if you get low shares the try 1 or 256
if too large the 1 or 0.0039062500
most of the time you wont need this though