WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
371 stars 193 forks source link

The SW build requires a CPU with AES! #83

Closed steven87vt closed 3 years ago

steven87vt commented 3 years ago

Hello, I tried various algorithms and eventually ended up setting SSE42 however I'm prompted the selected binaries do not match the cpu properties. Its an old i3 laptop, maybe not able to support Raptoreum mining using AES but I guess its AVX compatible. I just curious if something is missing from the install or if this is the expected behavior. I can say there are lots of exe files under binaries so I assume it was not blocked by AV.

CPU: Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz 1.90 GHz OS: Win 10

Original message before set INST_OVERRIDE=sse42:

Detecting CPU
Detected Unknown CPU - GenuineIntel
Detected CPU Caption - Intel64 Family 6 Model 58 Stepping 9
Detected CPU Description - Intel64 Family 6 Model 58 Stepping 9
Detected CPU Family: 6
Detected CPU Model:  58
Detected GenuineIntel CPU
Detected avx compatible binary with "Ivy Bridge (C)" architecture
Change line 11 if CPU was not detected properly.
If file is "missing" please check if Windows Defender or AV did not block/remove it from binaries folder.

         **********  cpuminer-opt-gr 1.2.4.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     with Ghostrider Algo by Ausminer & Delgon.
     Jay D Dee's BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

     RTM 1.50% Fee

Prepared for Windows - NTver: 0x601
CPU:        Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
SW built on Nov 10 2021 with GCC 10.0.0
CPU features:  AVX
SW features:   AVX     AES
Algo features: AVX2   VAES
The SW build requires a CPU with AES!

After set INST_OVERRIDE=sse42

Detected sse42 compatible binary with "User Defined" architecture
Change line 11 if CPU was not detected properly.
If file is "missing" please check if Windows Defender or AV did not block/remove it from binaries folder.

         **********  cpuminer-opt-gr 1.2.4.1  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AVX512, SHA and VAES extensions by JayDDee.
     with Ghostrider Algo by Ausminer & Delgon.
     Jay D Dee's BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

     RTM 1.50% Fee

Prepared for Windows - NTver: 0x601
CPU:        Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
SW built on Nov 10 2021 with GCC 10.0.0
CPU features:  AVX
SW features:   SSE4.2
Algo features: AVX2   VAES
[2021-11-14 13:59:06] Software does NOT match CPU features!
[2021-11-14 13:59:06] Please check if proper binaries are being used.

[2021-11-14 13:59:06] Could not load 'tune_config' file
[2021-11-14 13:59:06] Could not find/load 'tune_config' file. Miner will perform tuning operation.
[2021-11-14 13:59:06] Ignoring tune-full flag. Only available on AVX2 capable CPUs.
[2021-11-14 13:59:06] Tuning process takes ~70 minutes to finish.
[2021-11-14 13:59:06] Starting tuning (~70 minutes)
[2021-11-14 13:59:06] Add "no-tune": true, to your config to disable it.
[2021-11-14 13:59:06] Huge Pages set up successfully.
[2021-11-14 13:59:06] 4 of 4 miner threads started using 'gr' algorithm
michal-zurkowski commented 3 years ago

Yes, AVX build assumes you have AES as that is in theory the case. Unfortunately, Intel is not consistent in their product functionality and OEM also disables hardware AES sometimes for some reason. You using SSE42 is enough and even if there was AVX binary without AES available, it would not make any difference to your performance.