fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

bug: xmr-stak masari mining broken (result rejected) #1780

Open hieixu opened 6 years ago

hieixu commented 6 years ago

Please provide as much as possible information to reproduce the issue.

low_power_mode set to 2 cause the bug. fine when low_power_mode set to false

Basic information

CPU only minning

Compile issues

-- Configuring incomplete, errors occurred! See also "/home/xmr/src/xmr-stak-2.4.6/CMakeFiles/CMakeOutput.log". -- Cache values CMAKE_AR:FILEPATH=/usr/bin/ar CMAKE_BUILD_TYPE:STRING=Release CMAKE_COLOR_MAKEFILE:BOOL=ON CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ CMAKE_CXX_FLAGS:STRING= CMAKE_CXX_FLAGS_DEBUG:STRING=-g CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc CMAKE_C_FLAGS:STRING= CMAKE_C_FLAGS_DEBUG:STRING=-g CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG CMAKE_EXE_LINKER_FLAGS:STRING= CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF CMAKE_INSTALL_PREFIX:PATH=/home/xmr/src/xmr-stak-2.4.6 CMAKE_LINKER:FILEPATH=/usr/bin/ld CMAKE_LINK_STATIC:BOOL=OFF CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make CMAKE_MODULE_LINKER_FLAGS:STRING= CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_NM:FILEPATH=/usr/bin/nm CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib CMAKE_SHARED_LINKER_FLAGS:STRING= CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_SKIP_INSTALL_RPATH:BOOL=NO CMAKE_SKIP_RPATH:BOOL=NO CMAKE_STATIC_LINKER_FLAGS:STRING= CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_STRIP:FILEPATH=/usr/bin/strip CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE CUDA_64_BIT_DEVICE_CODE:BOOL=ON CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON CUDA_BUILD_CUBIN:BOOL=OFF CUDA_BUILD_EMULATION:BOOL=OFF CUDA_CUDART_LIBRARY:FILEPATH=CUDA_CUDART_LIBRARY-NOTFOUND CUDA_CUDA_LIBRARY:FILEPATH=CUDA_CUDA_LIBRARY-NOTFOUND CUDA_ENABLE:BOOL=ON CUDA_GENERATED_OUTPUT_DIR:PATH= CUDA_HOST_COMPILATION_CPP:BOOL=ON CUDA_HOST_COMPILER:FILEPATH=/usr/bin/cc CUDA_NVCC_EXECUTABLE:FILEPATH=CUDA_NVCC_EXECUTABLE-NOTFOUND CUDA_NVCC_FLAGS:STRING= CUDA_NVCC_FLAGS_DEBUG:STRING= CUDA_NVCC_FLAGS_MINSIZEREL:STRING= CUDA_NVCC_FLAGS_RELEASE:STRING= CUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING= CUDA_PROPAGATE_HOST_FLAGS:BOOL=ON CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND CUDA_SEPARABLE_COMPILATION:BOOL=OFF CUDA_TOOLKIT_INCLUDE:PATH=CUDA_TOOLKIT_INCLUDE-NOTFOUND CUDA_TOOLKIT_ROOT_DIR:PATH=CUDA_TOOLKIT_ROOT_DIR-NOTFOUND CUDA_VERBOSE_BUILD:BOOL=OFF CUDA_cublas_LIBRARY:FILEPATH=CUDA_cublas_LIBRARY-NOTFOUND CUDA_cublasemu_LIBRARY:FILEPATH=CUDA_cublasemu_LIBRARY-NOTFOUND CUDA_cufft_LIBRARY:FILEPATH=CUDA_cufft_LIBRARY-NOTFOUND CUDA_cufftemu_LIBRARY:FILEPATH=CUDA_cufftemu_LIBRARY-NOTFOUND XMR-STAK_COMPILE:STRING=native

Issue with the execution

AMD OpenCl issue

  run `clinfo` and add the output here

Stability issue


xmr-stak 2.4.6 64961dab

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 1.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-08-13 15:11:43] : Mining coin: masari [2018-08-13 15:11:43] : Starting 2x thread, no affinity. [2018-08-13 15:11:43] : Fast-connecting to pool.masari.hashvault.pro:3333 pool ... [2018-08-13 15:11:43] : Pool pool.masari.hashvault.pro:3333 connected. Logging in... [2018-08-13 15:11:43] : Difficulty changed. Now: 20000. [2018-08-13 15:11:43] : Pool logged in. HASHRATE REPORT - CPU | ID | 10s | 60s | 15m | | 0 | 53.0 | (na) | (na) | Totals (CPU): 53.0 0.0 0.0 H/s

Totals (ALL): 53.0 0.0 0.0 H/s Highest: 53.1 H/s

[2018-08-13 15:13:16] : Difficulty changed. Now: 9756. [2018-08-13 15:13:16] : New block detected. [2018-08-13 15:13:18] : Result rejected by the pool. [2018-08-13 15:13:18] : Difficulty changed. Now: 9757.

hieixu commented 6 years ago

xmr-stak 2.4.7 c5f0505d

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 1.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-08-13 15:08:49] : Mining coin: masari [2018-08-13 15:08:49] : Starting 2x thread, no affinity. [2018-08-13 15:08:49] : Fast-connecting to pool.masari.hashvault.pro:3333 pool ... [2018-08-13 15:08:50] : Pool pool.masari.hashvault.pro:3333 connected. Logging in... [2018-08-13 15:08:50] : Difficulty changed. Now: 20000. [2018-08-13 15:08:50] : Pool logged in. HASHRATE REPORT - CPU | ID | 10s | 60s | 15m | | 0 | 55.0 | (na) | (na) | Totals (CPU): 55.0 0.0 0.0 H/s

Totals (ALL): 55.0 0.0 0.0 H/s Highest: 55.0 H/s

[2018-08-13 15:10:19] : Difficulty changed. Now: 10084. [2018-08-13 15:10:19] : New block detected. [2018-08-13 15:10:25] : Result rejected by the pool. [2018-08-13 15:10:25] : Difficulty changed. Now: 10085. [2018-08-13 15:10:25] : New block detected. HASHRATE REPORT - CPU | ID | 10s | 60s | 15m | | 0 | 54.9 | 55.0 | (na) | Totals (CPU): 54.9 55.0 0.0 H/s

Totals (ALL): 54.9 55.0 0.0 H/s Highest: 55.1 H/s

psychocrypt commented 6 years ago

how do you solved the issue?

hieixu commented 6 years ago

not resolved, I just switch to xmrig. bug is still there.

eddiewang927 commented 6 years ago

I have some issue on xmr-stak 2.4.7 result rejected by pool when mine MSR

bymaximus commented 6 years ago

I have the same problem, if low_power_mode different than 0/false it rejects the result

psychocrypt commented 6 years ago

I will have a look into this issue after I implemented the new monero POW. Please ping me in this issue if I not marke this issues as solved in the next 2 weeks.