Bitcoin Forum
October 18, 2018, 03:20:00 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 190 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 415986 times)
TradeForProfits
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
June 13, 2016, 04:02:28 AM
 #861

When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.
1539876000
Hero Member
*
Offline Offline

Posts: 1539876000

View Profile Personal Message (Offline)

Ignore
1539876000
Reply with quote  #2

1539876000
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
June 13, 2016, 10:44:20 AM
 #862

When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

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

Activity: 297
Merit: 100



View Profile
June 13, 2016, 07:11:57 PM
 #863

is it possible to run this miner on Lynnfield ?

all my attempts ended crashing

Virtual Rehab➣➣➣ Psychological Rehabilitation for Vulnerable Populations
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 13, 2016, 07:55:00 PM
 #864

is it possible to run this miner on Lynnfield ?

all my attempts ended crashing

if you're using the precompiled binaries you will have to use the SSE2 build. If you compiled your own
post the details.

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

Activity: 36
Merit: 0


View Profile
June 14, 2016, 01:33:19 AM
 #865

When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 14, 2016, 02:09:39 AM
 #866

When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.

scryptjane works for me at nicehash:

./cpuminer -a scryptjane:16 -o stratum+tcp://scryptjanenf16.usa.nicehash.com:3348

Post your session showing the command line, startup messages and failure.

I think stratum errors are likely a problem with the stratum server at the pool. Even when I specify the wrong NF
at nicehash it still hashes but only produces rejects, I don't get stratum errors.

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

Activity: 36
Merit: 0


View Profile
June 14, 2016, 03:57:57 AM
 #867

When i try script:n with n=17, I get unknown algo.

I am trying to mine hempcoin/hmp outside of the wallet/purse. Still trying to find the right setup. Scryptjane loads but I get stratum_recv_line failed error  when pulling from server setup purse. So thought maybe scrypt:17 but that errors out as unknown also.

From the BCT thread: "Algorithm: Scrypt (Pos/PoW)". Did you try that?

That is for THC The Hempcoin.  Scrypt-Jane is HMP Hempcoin. A different coin.

I did try just Scrypt but I get the same error  'stratum_recv_line failed'.

scryptjane works for me at nicehash:

./cpuminer -a scryptjane:16 -o stratum+tcp://scryptjanenf16.usa.nicehash.com:3348

Post your session showing the command line, startup messages and failure.

I think stratum errors are likely a problem with the stratum server at the pool. Even when I specify the wrong NF
at nicehash it still hashes but only produces rejects, I don't get stratum errors.

If i use scryptjane:17 it says unknown also... if I use 16 I get the same stratum_recv_line failed...

I am trying to set this up using my wallet/purse as a server (currently no HMP pool that I know of). I know the port is open and listening otherwise it would give a fail to connect error and a port scan shows it is listening.

When using 16, or plain scryptjane (or scrypt)

cpuminer-amd -a scryptjane:16 -o stratum+tcp://10.0.0.5:33333 -u tfp -p p

         **********  cpuminer-opt 3.3.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0 and Jeff Garzik.

CPU: AMD A8-5545M APU with Radeon(tm) HD Graphics
CPU features: SSE2 AES AVX
SW built on Jun  9 2016 with GCC 5.3.0
SW features: SSE2 AES AVX
Algo features: SSE2
AES not available, starting mining with SSE2 optimizations...

[2016-06-13 23:43:02] Starting Stratum on stratum+tcp://10.0.0.5:33333
[2016-06-13 23:43:02] 4 miner threads started, using 'scryptjane' algorithm.
[2016-06-13 23:43:02] stratum_recv_line failed
[2016-06-13 23:43:02] ...retry after 10 seconds
[2016-06-13 23:43:03] CTRL_C_EVENT received, exiting
Terminate batch job (Y/N)?

if I don't ctrl-c, it just keeps showing the recv_line failed/retry continually...

I am guessing it is something with the wallet/server setup that isn't working right with the separate mining setup. I even set it to allow all ip's, same thing.

hempcoin.conf
rpcuser=tfp
rpcpassword=p
rpcallowip=127.0.0.1
rpcallowip=10.0.0.*
rpcallowip=*
rpcport=33333
server=1

Appreciate the help/ideas/etc
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 14, 2016, 04:18:14 AM
 #868


If i use scryptjane:17 it says unknown also... if I use 16 I get the same stratum_recv_line failed...

I am trying to set this up using my wallet/purse as a server (currently no HMP pool that I know of). I know the port is open and listening otherwise it would give a fail to connect error and a port scan shows it is listening.

When using 16, or plain scryptjane (or scrypt)

cpuminer-amd -a scryptjane:16 -o stratum+tcp://10.0.0.5:33333 -u tfp -p p

         **********  cpuminer-opt 3.3.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0 and Jeff Garzik.

CPU: AMD A8-5545M APU with Radeon(tm) HD Graphics
CPU features: SSE2 AES AVX
SW built on Jun  9 2016 with GCC 5.3.0
SW features: SSE2 AES AVX
Algo features: SSE2
AES not available, starting mining with SSE2 optimizations...

[2016-06-13 23:43:02] Starting Stratum on stratum+tcp://10.0.0.5:33333
[2016-06-13 23:43:02] 4 miner threads started, using 'scryptjane' algorithm.
[2016-06-13 23:43:02] stratum_recv_line failed
[2016-06-13 23:43:02] ...retry after 10 seconds
[2016-06-13 23:43:03] CTRL_C_EVENT received, exiting
Terminate batch job (Y/N)?

if I don't ctrl-c, it just keeps showing the recv_line failed/retry continually...

I am guessing it is something with the wallet/server setup that isn't working right with the separate mining setup. I even set it to allow all ip's, same thing.

hempcoin.conf
rpcuser=tfp
rpcpassword=p
rpcallowip=127.0.0.1
rpcallowip=10.0.0.*
rpcallowip=*
rpcport=33333
server=1

Appreciate the help/ideas/etc

1. Wallet mining does not use stratum protocol

2. cpuminer-opt only supports stratum mining

In other words you can't mine from the wallet with cpuminer-opt.

Since the SJ in cpuminer-opt is not optimized you could try cpuminer-multi and get the same performance that cpuminer-opt
offers. It might work for wallet mining but use http not stratum+tcp.

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

Activity: 36
Merit: 0


View Profile
June 14, 2016, 03:37:59 PM
 #869


If i use scryptjane:17 it says unknown also... if I use 16 I get the same stratum_recv_line failed...

I am trying to set this up using my wallet/purse as a server (currently no HMP pool that I know of). I know the port is open and listening otherwise it would give a fail to connect error and a port scan shows it is listening.

When using 16, or plain scryptjane (or scrypt)

cpuminer-amd -a scryptjane:16 -o stratum+tcp://10.0.0.5:33333 -u tfp -p p

         **********  cpuminer-opt 3.3.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0 and Jeff Garzik.

CPU: AMD A8-5545M APU with Radeon(tm) HD Graphics
CPU features: SSE2 AES AVX
SW built on Jun  9 2016 with GCC 5.3.0
SW features: SSE2 AES AVX
Algo features: SSE2
AES not available, starting mining with SSE2 optimizations...

[2016-06-13 23:43:02] Starting Stratum on stratum+tcp://10.0.0.5:33333
[2016-06-13 23:43:02] 4 miner threads started, using 'scryptjane' algorithm.
[2016-06-13 23:43:02] stratum_recv_line failed
[2016-06-13 23:43:02] ...retry after 10 seconds
[2016-06-13 23:43:03] CTRL_C_EVENT received, exiting
Terminate batch job (Y/N)?

if I don't ctrl-c, it just keeps showing the recv_line failed/retry continually...

I am guessing it is something with the wallet/server setup that isn't working right with the separate mining setup. I even set it to allow all ip's, same thing.

hempcoin.conf
rpcuser=tfp
rpcpassword=p
rpcallowip=127.0.0.1
rpcallowip=10.0.0.*
rpcallowip=*
rpcport=33333
server=1

Appreciate the help/ideas/etc

1. Wallet mining does not use stratum protocol

2. cpuminer-opt only supports stratum mining

In other words you can't mine from the wallet with cpuminer-opt.

Since the SJ in cpuminer-opt is not optimized you could try cpuminer-multi and get the same performance that cpuminer-opt
offers. It might work for wallet mining but use http not stratum+tcp.

I will try c-multi but when I switch to HTTP I wouldn't get any response from the server if I recall, that's why I switched to stratum.

I thought I got to this thread from c-multi when I asked about SJ being compiled in, being possible for a noob to do...  but maybe it was a different cpuminer thread. will check. do u know if c-multi has precompiled windows binaries? ty
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 14, 2016, 03:50:51 PM
 #870


I will try c-multi but when I switch to HTTP I wouldn't get any response from the server if I recall, that's why I switched to stratum.

I thought I got to this thread from c-multi when I asked about SJ being compiled in, being possible for a noob to do...  but maybe it was a different cpuminer thread. will check. do u know if c-multi has precompiled windows binaries? ty

https://github.com/tpruvot/cpuminer-multi/releases

You could also ask the coin's devs how to mine. Many wallets have a built in miner.

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

Activity: 36
Merit: 0


View Profile
June 14, 2016, 04:14:06 PM
 #871


I will try c-multi but when I switch to HTTP I wouldn't get any response from the server if I recall, that's why I switched to stratum.

I thought I got to this thread from c-multi when I asked about SJ being compiled in, being possible for a noob to do...  but maybe it was a different cpuminer thread. will check. do u know if c-multi has precompiled windows binaries? ty

https://github.com/tpruvot/cpuminer-multi/releases

You could also ask the coin's devs how to mine. Many wallets have a built in miner.

Thanks for the link. I was close, but in the wrong author's github page. The purse does have a built in miner but wanted to see if cpuminer would be more efficient. I will sent a request to the devs pending the outcome of testing the c-multi. Thank you again.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 16, 2016, 05:55:08 PM
 #872

I have found a problem with the capabilities reporting for lyra2RE  and lyra2REv2 algos.

They are being reported an not AES optimized when in fact the AES build will crash on a non-AES CPU.
This will only occur if using the precompiled AES enabled binaries from Cryptomining Blog. If compiled
natively on the same CPU there should be no problem.

Users with older CPUs that see a crash mining lyra2 or lyra2v2 should use the SSE2 build.

The only impact of this bug is the crash is unexpected and using the SSE2 build will result in a slighly lower preformance.

The next release of cpuminer-opt will report lyra2 and lyra2v2 as AES optimized and the performance chart will be
updated accordingly. The fix will not be rushed out because it does not prevent the crash.


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

Activity: 13
Merit: 0


View Profile
June 20, 2016, 01:34:51 PM
 #873

Hi all,
I've encountered an error as follows:
Code:
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:126:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(ktemp, _k_ipt, t1, t4);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:126:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(ktemp, _k_ipt, t1, t4);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:68:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t2 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 1), x);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:70:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t1);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:72:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t4 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), x);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:74:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t2 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t3);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:76:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t4);\
     ^
algo/echo/aes_ni/vperm.h:100:2: note: in expansion of macro ‘SUBSTITUTE_VPERM_CORE’
  SUBSTITUTE_VPERM_CORE(x, t1, t2, t3, t4);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:83:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t = _mm_shuffle_epi8(*((__m128i*)table + 0), x1);\
    ^
algo/echo/aes_ni/vperm.h:101:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb1, s1, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:84:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  y = _mm_shuffle_epi8(*((__m128i*)table + 1), x2);\
    ^
algo/echo/aes_ni/vperm.h:101:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb1, s1, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:83:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t = _mm_shuffle_epi8(*((__m128i*)table + 0), x1);\
    ^
algo/echo/aes_ni/vperm.h:102:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb2, s2, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:84:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  y = _mm_shuffle_epi8(*((__m128i*)table + 1), x2);\
    ^
algo/echo/aes_ni/vperm.h:102:2: note: in expansion of macro ‘VPERM_LOOKUP’
  VPERM_LOOKUP(t2, t3, _k_sb2, s2, t1);\
  ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:104:4: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x = _mm_shuffle_epi8(s2, M128(_k_aesmix1));\
    ^
algo/echo/aes_ni/hash.c:128:5: note: in expansion of macro ‘AES_ROUND_VPERM_CORE’
     AES_ROUND_VPERM_CORE(state[i][j], t1, t2, t3, t4, s1, s2, s3);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
algo/echo/aes_ni/hash.c:342:4: error: incompatible type for argument 2 of ‘_mm_xor_si128’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
In file included from ./algo/sha3/sha3-defs.h:4:0,
                 from ./algo/sha3/sha3_common.h:13,
                 from algo/echo/aes_ni/hash_api.h:25,
                 from algo/echo/aes_ni/hash.c:20:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:1264:1: note: expected ‘__m128i’ but argument is of type ‘int’
 _mm_xor_si128 (__m128i __A, __m128i __B)
 ^
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^
algo/echo/aes_ni/vperm.h:52:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\
     ^
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^
algo/echo/aes_ni/vperm.h:53:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
     ^
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^
In file included from algo/echo/aes_ni/hash.c:19:0:
algo/echo/aes_ni/hash.c: At top level:
./miner.h:496:20: warning: ‘algo_names’ defined but not used [-Wunused-variable]
 static const char *algo_names[] = {
                    ^
make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.3.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.3.6'
make: *** [all] Error 2

I follow the instructions below:
Code:
./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make

CPU Info:
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version (cpu64-rhel6)
stepping        : 3
microcode       : 0x1
cpu MHz         : 2659.998
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm
bogomips        : 5319.99
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual

Please tell me or guide me how i can handle this problem. Thanks!
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 20, 2016, 02:10:31 PM
 #874

Thank you for the detailed information. It appears you are using QEMU. I have not tested cpuminer-opt with QEMU.

The CPU features listed do not include AES or AVX but does include SSE2. What is your actual physical CPU?

I suspect one of two problems:

1. Your CPU has these features but QEMU does not emulate them. If this is the case you can get a proper AES compile
 natively (without emulation) or with a different form of emulation such as a VM or mingw.

2. Your CPU does not have these features but the compiler running under QEMU is unable to  detect the missing features.
In this case your CPU is limited to SSE2 and you will have to specify "-march=core2" to specifically tell the compiler not
to attempt to compile the AES optimized code in cpuminer-opt.

Edit: It appears QEMU does not support AES:

http://unix.stackexchange.com/questions/170016/does-qemu-kvm-use-intel-aes-instructions-for-encrypted-qcow2-images-if-the-host

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

Activity: 13
Merit: 0


View Profile
June 20, 2016, 02:44:22 PM
 #875

Thank you for the detailed information. It appears you are using QEMU. I have not tested cpuminer-opt with QEMU.

The CPU features listed do not include AES or AVX but does include SSE2. What is your actual physical CPU?

I suspect one of two problems:

1. Your CPU has these features but QEMU does not emulate them. If this is the case you can get a proper AES compile
 natively (without emulation) or with a different form of emulation such as a VM or mingw.

2. Your CPU does not have these features but the compiler running under QEMU is unable to  detect the missing features.
In this case your CPU is limited to SSE2 and you will have to specify "-march=core2" to specifically tell the compiler not
to attempt to compile the AES optimized code in cpuminer-opt.

Edit: It appears QEMU does not support AES:

http://unix.stackexchange.com/questions/170016/does-qemu-kvm-use-intel-aes-instructions-for-encrypted-qcow2-images-if-the-host


 Cry I'm sad to hear about that. I use CPU with QEMU/KVM use Intel AES instructions. I can't mining bitcoin with this CPU? Hic.
hmage
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
June 20, 2016, 05:53:07 PM
 #876

Please tell me or guide me how i can handle this problem. Thanks!

QEMU supports AES, but by default it shows a minimal subset of CPU features so that the VM can be moved between physical machines and compiled code on one host will run on another host.

Add "-cpu host" to qemu commandline. But beware that the VM will not run properly on another machine that doesn't support same CPU features if you compile anything with "-march" flag.

[EDIT]: Also I don't see KVM enabled. Enable KVM with "-enable-kvm" qemu flag in command line.
thanhhx
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 21, 2016, 12:10:20 AM
 #877

Please tell me or guide me how i can handle this problem. Thanks!

QEMU supports AES, but by default it shows a minimal subset of CPU features so that the VM can be moved between physical machines and compiled code on one host will run on another host.

Add "-cpu host" to qemu commandline. But beware that the VM will not run properly on another machine that doesn't support same CPU features if you compile anything with "-march" flag.

[EDIT]: Also I don't see KVM enabled. Enable KVM with "-enable-kvm" qemu flag in command line.

I don't understand what you're saying. Please guide more detailed.

I tried running the command: qemu -enable-kvm
Code:
qemu -enable-kvm
The program 'qemu' can be found in the following packages:
 * qemu-system-arm
 * qemu-system-mips
 * qemu-system-misc
 * qemu-system-ppc
 * qemu-system-sparc
 * qemu-system-x86
Try: apt-get install <selected package>

I installed the packages: qemu-system-arm qemu-system-mips qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86 qemu qemu-system
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 21, 2016, 01:33:39 AM
 #878



I don't understand what you're saying. Please guide more detailed.


You need to explain more about what you are doing.

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

Activity: 13
Merit: 0


View Profile
June 21, 2016, 03:52:54 AM
 #879



I don't understand what you're saying. Please guide more detailed.


You need to explain more about what you are doing.

I sent a message to you. Please check it.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 21, 2016, 04:55:26 AM
 #880

I don't understand what you're saying. Please guide more detailed.
You need to explain more about what you are doing.
I sent a message to you. Please check it.

I replied to your message.

Your first post included CPU info that indicated you are using QEMU. Please describe the configuration of your PC
and how you are using QEMU to compile cpuminer-opt.

If you don't understand what I am asking maybe you can find some way to translate to vietnamese.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 ... 190 »
  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!