Bitcoin Forum
April 23, 2019, 07:16:12 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 [173] 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 419398 times)
guytechie
Hero Member
*****
Offline Offline

Activity: 645
Merit: 500


View Profile
February 23, 2018, 04:27:51 PM
 #3441

Is it possible install this on ubuntu box?

I would think so.  You'll have to compile it from source, no?

I did it once, but it was on a VM.  I was hoping to utilize SHA before it was available in the Windows binary.

Of course, SHA acceleration is not exposed to the VM, so it was more of a learning experience on how to compile.

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
1556003772
Hero Member
*
Offline Offline

Posts: 1556003772

View Profile Personal Message (Offline)

Ignore
1556003772
Reply with quote  #2

1556003772
Report to moderator
1556003772
Hero Member
*
Offline Offline

Posts: 1556003772

View Profile Personal Message (Offline)

Ignore
1556003772
Reply with quote  #2

1556003772
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 05:50:22 PM
 #3442

cpuminer-opt-3.8.3

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.3

More restoration of lost lyra2 hash.
8 way AVX2 and 4way AVX optimization for blakecoin, vanilla & blake2s.
8 way AVX2 for lbry.
Scaled hashrate for API output.
A couple of GBT fixes.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 05:51:30 PM
 #3443

Is it possible install this on ubuntu box?

I would think so. 

Not if it has an ARM CPU. x86_64 only!

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
February 23, 2018, 06:33:58 PM
 #3444

Scaled hashrate for API output.

Thanks for this (y)
s0ftcorn
Newbie
*
Offline Offline

Activity: 70
Merit: 0


View Profile
February 23, 2018, 07:07:11 PM
 #3445

anyone else getting 100% rejected shares?
pools and algos:
yescrypt.mine.zpool.ca:6233
-a cryptonight -o stratum+tcp://mine.graft.cryptocrush.cc:3333

using cpuminer-avx2.exe on a core i5 7600K

3.8.2 worked flawless
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 07:23:02 PM
Last edit: February 23, 2018, 08:31:39 PM by joblo
 #3446

anyone else getting 100% rejected shares?
pools and algos:
yescrypt.mine.zpool.ca:6233
-a cryptonight -o stratum+tcp://mine.graft.cryptocrush.cc:3333

using cpuminer-avx2.exe on a core i5 7600K

3.8.2 worked flawless

Yes, I just discovered this with m7m, I'm investigating.

Edit: It looks like a problem submitting shares by algos that don't use 4 way.

Edit: Fix coming soon.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 08:52:21 PM
 #3447

cpuminer-opt-3.8.3.1

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.3.1

Fixed regression in v3.8.3 that broke several algos.

New in 3.8.3:

More restoration of lost lyra2 hash.
8 way AVX2 and 4way AVX optimization for blakecoin, vanilla & blake2s.
8 way AVX2 for lbry.
Scaled hashrate for API output.
A couple of GBT fixes.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
February 23, 2018, 08:57:45 PM
 #3448

Scaled hashrate for API output.

Thanks for this (y)

oh, nvm, though you changed it to H/s instead of KH/s, but you made it dynamic Sad
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 09:12:40 PM
 #3449

Scaled hashrate for API output.

Thanks for this (y)

oh, nvm, though you changed it to H/s instead of KH/s, but you made it dynamic Sad

It scales up  at 10,000, just like the console display. It makes parsing the output a little trickier,
you'll need to test the scale prefix.

I had to do this because some algos (since 3.8.3) can now reach over 100000 kH/s on a mainstream CPU.
It also gives more precision for very slow algos.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
February 23, 2018, 09:21:54 PM
 #3450

as this is api, why not just output H/s (a large number for fast algos), gives most fine granular control over display and formatting etc

for display it makes sense to scale it, but not for api
Nokedli
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 23, 2018, 09:25:05 PM
 #3451

Code:
./cpuminer -a yescryptr16 -o http://192.168.1.150:49751 -u XY -p XY1 --no-stratum

         **********  cpuminer-opt 3.8.2.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD Ryzen 7 1700X Eight-Core Processor         .
SW built on Feb 18 2018 with GCC 7.3.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: SSE2 AVX SHA.
Start mining with AVX SHA.

[2018-02-23 22:17:46] 16 miner threads started, using 'yescryptr16' algorithm.
[2018-02-23 22:17:47] Current block is 83506
[2018-02-23 22:17:47] No payout address provided, switching to getwork
[2018-02-23 22:19:30] CPU #0: 4096 H, 40.29 H/s
[2018-02-23 22:19:32] yescryptr16 block 83507, diff 0.11, net 3051.57 kH/s
[2018-02-23 22:19:32] CPU #10: 2419 H, 28.93 H/s
[2018-02-23 22:19:32] CPU #14: 1988 H, 26.30 H/s
[2018-02-23 22:19:32] CPU #13: 2221 H, 28.62 H/s
[2018-02-23 22:19:32] CPU #11: 2362 H, 28.94 H/s


Code:
./cpuminer -a yescryptr16 -o http://192.168.1.150:49751 -u XY -p XY1 --no-stratum

         **********  cpuminer-opt 3.8.3.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD Ryzen 7 1700X Eight-Core Processor         .
SW built on Feb 23 2018 with GCC 7.3.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: SSE2 AVX SHA.
Start mining with AVX SHA.

[2018-02-23 22:17:18] 16 miner threads started, using 'yescryptr16' algorithm.
[2018-02-23 22:17:19] Current block is 83506
[2018-02-23 22:17:19] No payout address provided, switching to getwork
Segmentation fault

Solo mining looks bad, only for me?
Dual E5-2640 similar error, Manjaro 17 on both
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 09:43:27 PM
 #3452

Solo mining looks bad, only for me?
Dual E5-2640 similar error, Manjaro 17 on both

Possibly not. If you can compile please replace function std_longpoll_rpc_call in file
cpu-miner.c with this and let me know what happens.

Code:
json_t *std_longpoll_rpc_call( CURL *curl, int *err, char* lp_url )
{
   json_t *val;
   char *req = NULL;
   if (have_gbt)
   {
       req = (char*) malloc( strlen(gbt_lp_req) + strlen(lp_id) + 1 );
       sprintf( req, gbt_lp_req, lp_id );
   }
//TODO this code makes no sense, this first call should be removed.
// also remove conditional expression in second call, no getwork.
//   val = json_rpc_call( curl, rpc_url, rpc_userpass, getwork_req, err,
//                        JSON_RPC_LONGPOLL );
   val = json_rpc_call( curl, lp_url, rpc_userpass, req ? req : getwork_req,
                        err, JSON_RPC_LONGPOLL);
//   val = json_rpc_call( curl, lp_url, rpc_userpass, req,
//                        err, JSON_RPC_LONGPOLL );
   free(req);
   return val;
}

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
wildzer0
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
February 23, 2018, 09:47:18 PM
 #3453

The API change breaks Awesome Miner support. Can a compatibility mode be added or is an Awesome Miner update needed?
Nokedli
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 23, 2018, 09:54:12 PM
 #3454

still the same error
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 09:55:28 PM
Last edit: February 23, 2018, 10:12:59 PM by joblo
 #3455

The API changes were a request, but it seems the old way was preferred. I'll revert the change
if the majority want.

Edit: there are more changes to the API coming, adding solved block count.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 10:02:39 PM
 #3456

still the same error

OK, try going back to block version 3:

Code:
#define BLOCK_VERSION_CURRENT 3


Edit: if that doesn't work go back to std_longpoll_rpc_call from v3.8.2. Those were the only
changes I made that affect solo mining and I made no changes to yescrypt.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Nokedli
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 23, 2018, 10:14:10 PM
 #3457

still Segmentation fault
same error with other wallet
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 23, 2018, 10:23:13 PM
 #3458

still Segmentation fault
same error with other wallet

If it crashes with BLOCK_VERSION_CURRENT 3 and std_longpoll_rpc_call from 3.8.2 I'm stumped.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
February 23, 2018, 10:31:40 PM
 #3459

The API changes were a request, but it seems the old way was preferred. I'll revert the change
if the majority want.

Edit: there are more changes to the API coming, adding solved block count.

actually the requester on github was talking about what i mentioned above: use H/s in addition to KH/s

Quote
Could you modify api.c to also include hashes/sec?
Quote
159 "ALGO=%s;CPUS=%d;URL=%s;KHS=%.2f;HS=%.2f;ACC=%d;REJ=%d;"
163 algo, opt_n_threads, short_url, (double)global_hashrate / 1000.0, (double)global_hashrate,
Nokedli
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 23, 2018, 10:34:52 PM
 #3460

still Segmentation fault
same error with other wallet

If it crashes with BLOCK_VERSION_CURRENT 3 and std_longpoll_rpc_call from 3.8.2 I'm stumped.

git + 2 patch, no build modification
http://prntscr.com/iixh31
Pages: « 1 ... 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 [173] 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!