badman74
|
|
April 05, 2014, 06:20:38 PM Last edit: April 05, 2014, 06:53:33 PM by badman74 |
|
Silly me, forgot to push the changes. Try now.
[20:03:21] CompilerOptions: -I "/usr/local/bin/" -I "./" -I "./kernel" -I "." -D LOOKUP_GAP=2 -D CONCURRENT_THREADS=8128 -D WORKSIZE=64 -D BITALIGN -D GOFFSET [20:03:22] Error -11: Building Program (clBuildProgram) [20:03:22] "/tmp/OCLq34zin.cl", line 309: error: function "c256" declared implicitly c256(buf); ^
"/tmp/OCLq34zin.cl", line 309: error: identifier "buf" is undefined c256(buf); ^
"/tmp/OCLq34zin.cl", line 287: warning: variable "rk0" was set but n
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE
|
|
|
|
|
phm (OP)
Full Member
Offline
Activity: 378
Merit: 110
DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO
|
|
April 05, 2014, 06:58:51 PM |
|
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE Thanks man, that did the trick.
|
|
|
|
Atrides
|
|
April 05, 2014, 07:08:34 PM |
|
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE Thanks man, that did the trick. Not only this place! Please check my changes: https://github.com/Atrides/sph-sgminer
|
|
|
|
badman74
|
|
April 05, 2014, 07:10:07 PM Last edit: April 05, 2014, 08:29:31 PM by badman74 |
|
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE Thanks man, that did the trick. Not only this place! Please check my changes: https://github.com/Atrides/sph-sgminerwell yes but that was the main spot phm was missing you can check mine to see if i missed anything the hashrates appear to be right but diff looks like it may be off so i may try DM_FUGUECOIN to see if that makes it match edit: DM_FUGUECOIN gives me bad shares, DM_DARKCOIN is the only one that gives proper net diff edit2: it seems dwarfpool needs DM_FUGUECOIN while supernova gives nothing but share below target with that DM_MODE
|
|
|
|
|
phm (OP)
Full Member
Offline
Activity: 378
Merit: 110
DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO
|
|
April 05, 2014, 07:12:46 PM |
|
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE Thanks man, that did the trick. Not only this place! Please check my changes: https://github.com/Atrides/sph-sgminerwell yes but that was the main spot phm was missing A new option was added: --difficulty-multiplier. It allows to set stratum difficulty multiplier. For QubitCoin, Quark and Animecoin it will be usually 256. For Groestlcoin, Fuguecoin and Twecoin it will be usually 0.0039062500 (1/256). Default is 1.0. If you have "share above target" errors then set it to 256. If difficulty required by pool is strangely large, set it to 0.0039062500 (1/256). Other values are unlikely to be used. Hopefully this will fix all remaining stratum problems.
|
|
|
|
dboylc
Full Member
Offline
Activity: 153
Merit: 100
mine for future~
|
|
April 05, 2014, 07:15:00 PM |
|
badman74,ocminer I love both of you so much
|
|
|
|
badman74
|
|
April 05, 2014, 08:29:49 PM |
|
to fix stratum support /* Generate merkle root */ if ((strcmp(gpus[i].kernelname, FUGUECOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, GROESTLCOIN_KERNNAME) == 0) || (strcmp(gpus[i].kernelname, TWECOIN_KERNNAME) == 0)) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
or /* Generate merkle root */ if (gpus[i].kernel == KL_FUGUECOIN || gpus[i].kernel == KL_GROESTLCOIN || gpus[i].kernel == KL_TWECOIN) { sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
edit: also using bitcoin/darkcoin DM_MODE Thanks man, that did the trick. Not only this place! Please check my changes: https://github.com/Atrides/sph-sgminerwell yes but that was the main spot phm was missing you can check mine to see if i missed anything the hashrates appear to be right but diff looks like it may be off so i may try DM_FUGUECOIN to see if that makes it match edit: DM_FUGUECOIN gives me bad shares, DM_DARKCOIN is the only one that gives proper net diff edit2: it seems dwarfpool needs DM_FUGUECOIN while supernova gives nothing but share below target with that DM_MODE after some testing and adding PHM's --difficulty-multiplier switch, i found supernova works with DM_FUGUECOIN and --difficulty-multiplier 256 while dwarfpool requires --difficulty-multiplier 1 so i am gonna update my code with the diff multiplier option
|
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
|
April 05, 2014, 09:20:08 PM |
|
|
|
|
|
ocminer
Legendary
Offline
Activity: 2702
Merit: 1240
|
|
April 05, 2014, 09:30:01 PM |
|
interesting.. hash func looks like regular scrypt-n (vertcoin) to me...
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
SwitchMyCoins
Newbie
Offline
Activity: 14
Merit: 0
|
|
April 05, 2014, 09:30:29 PM |
|
ouch, only 3MHs with 6950@6970 on TWE
|
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
|
April 05, 2014, 09:32:19 PM |
|
new version seems buggy, stop working on start
|
|
|
|
badman74
|
|
April 05, 2014, 09:48:24 PM |
|
new version seems buggy, stop working on start
what do you mean?
|
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
|
April 05, 2014, 09:51:53 PM |
|
when i start the miner with the config for darkcoin for example(or any other algo), it give me the typical "the application has stopped working"
|
|
|
|
badman74
|
|
April 05, 2014, 10:02:29 PM |
|
when i start the miner with the config for darkcoin for example(or any other algo), it give me the typical "the application has stopped working"
what is your config we need more info to help
|
|
|
|
SpeedDemon13
|
|
April 06, 2014, 01:21:10 AM |
|
So, how is the work going on with the Blake and Heavy kernels being incorporated?
Since XPM has 3 miners out now, is it a possible to merge XPM into this miner?
|
CRYPTSY exchange: https://www.cryptsy.com/users/register?refid=9017 BURST= BURST-TE3W-CFGH-7343-6VM6R BTC=1CNsqGUR9YJNrhydQZnUPbaDv6h4uaYCHv ETH=0x144bc9fe471d3c71d8e09d58060d78661b1d4f32 SHF=0x13a0a2cb0d55eca975cf2d97015f7d580ce52d85 EXP=0xd71921dca837e415a58ca0d6dd2223cc84e0ea2f SC=6bdf9d12a983fed6723abad91a39be4f95d227f9bdb0490de3b8e5d45357f63d564638b1bd71 CLAMS=xGVTdM9EJpNBCYAjHFVxuZGcqvoL22nP6f SOIL=0x8b5c989bc931c0769a50ecaf9ffe490c67cb5911
|
|
|
|
badman74
|
|
April 06, 2014, 05:52:53 AM |
|
have you tried the info on the OP about that error? Common problems and solutions: Error -11: Building Program (clBuildProgram) - execute miner from the directory where "kernel" directory is present HW errors - select correct mining algorithm with -k option still does not work - update Catalyst drivers to version 13.12
also make sure there are no spaces in the path to the sgminer dir
|
|
|
|
phm (OP)
Full Member
Offline
Activity: 378
Merit: 110
DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO
|
|
April 06, 2014, 06:34:32 AM |
|
Since XPM has 3 miners out now, is it a possible to merge XPM into this miner?
Give me source code of their kernels and I'll see what can be done...
|
|
|
|
|