Help wanted .. please add support for arm Adreno OpenCL and Mali OpenCL gpu support
Saikatsaha1996 opened this issue ยท 31 comments
Please try a build using my fork and branch ocean-master-fixOpenCL
Please try a build using my fork and branch
ocean-master-fixOpenCL
Can it support android Adreno OpenCL gpu?
In my device already have OpenCL driver
?
Who knows unless you try it, that's the whole point of open source software?
It made lots of other platforms work so "maybe" it helps weird Adreno :) Only you can help find out...
Who knows unless you try it, that's the whole point of open source software?
It made lots of other platforms work so "maybe" it helps weird Adreno :) Only you can help find out...
Oky I will give you results..
Thank you :)
you have to git checkout ocean-master-fixOpenCL
that is regular master (no -mo
in version)
Mey be want to input commend support "compute-mode": true,
Because wolf android miner can run with OpenCL
wget http://highlandsun.com/hyc/android-miner.tgz
tar -xvf android-miner.tgz
edit xmgpu.config
And run with. ./miner xmgpu.config
It run with my OpenCL gpu
You can find full details here
https://amp.reddit.com/r/Monero/comments/6avezv/wolfxmrminer_ported_to_android_with_openclgpu/
It's also missing most of the 64-bit features and FMA and correctly-rounded div/sqrt functions.
Probably won't work unless Qualcomm fixes it.
It's also missing most of the 64-bit features and FMA and correctly-rounded div/sqrt functions.
Probably won't work unless Qualcomm fixes it.
Thank you for your support and help
But I will come you soon with arm mali OpenCL gpu...
Because now I am confirmed Adreno gpu not good....
I saw many times Mali GPU have better performance....
But I am happy with your miner
I get very good performance with cn/upx2
15kh/s ...
I have applied the changes from wolf-xmr-miner to the ocean-master-fixOpenCL branch, please see if it helps.
Ok I will check
Pushed 4248724e3
to branch should work now
git clone https://github.com/Spudz76/xmrig.git
cd xmrig
git checkout ocean-master-fixOpenCL
Mkdir build && cd build
cmake .. -DWITH_HTTPD=OFF -DWITH_HWLOC=OFF
make -j8
export LD_LIBRARY_PATH="/system/vendor/lib64:/system/lib64"
export CFLAGS="-I$HOME/OpenCL-Headers"
export LDFLAGS="-L/system/vendor/lib64"
./xmrig.....
Ok my mistake
I will give you updates..
~/file/xmrig $ git checkout 4248724
HEAD is now at 4248724 Second try at Android OpenCL fix
~/file/xmrig $ cmake .. -DWITH_HTTPD=OFF -DWITH_HWLOC=OFF
CMake Error: The source directory "/data/data/com.termux/files/home/file" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
~/file/xmrig $ mkdir build
~/file/xmrig $ cd build
~/.../xmrig/build $ cmake .. -DWITH_HTTPD=OFF -DWITH_HWLOC=OFF-- The C compiler identification is Clang 12.0.0
-- The CXX compiler identification is Clang 12.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Use ARM_TARGET=8 (aarch64)
-- Performing Test XMRIG_ARM_CRYPTO
-- Performing Test XMRIG_ARM_CRYPTO - Success
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Found UV: /data/data/com.termux/files/usr/lib/libuv.so
-- Looking for __builtin___clear_cache
-- Looking for __builtin___clear_cache - not found
-- WITH_MSR=OFF
-- Found OpenSSL: /data/data/com.termux/files/usr/lib/libcrypto.so (found version "1.1.1k")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
WITH_HTTPD
-- Build files have been written to: /data/data/com.termux/files/home/file/xmrig/build
~/.../xmrig/build $ make -j8
[ 0%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o
[ 0%] Building C object src/3rdparty/libethash/CMakeFiles/ethash.dir/ethash_internal.c.o
[ 1%] Building C object src/3rdparty/libethash/CMakeFiles/ethash.dir/keccakf800.c.o
[ 1%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/genkat.c.o
[ 2%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/impl-select.c.o
[ 3%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/encoding.c.o
[ 3%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/blake2/blake2.c.o
[ 3%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/core.c.o
[ 3%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/arch/generic/lib/argon2-arch.c.o
[ 3%] Linking C static library libethash.a
[ 3%] Built target ethash
[ 4%] Linking C static library libargon2.a
[ 4%] Built target argon2
[ 4%] Building CXX object CMakeFiles/xmrig.dir/src/3rdparty/fmt/format.cc.o
[ 5%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuLaunchData.cpp.o
[ 5%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/HashAesKernel.cpp.o
[ 5%] Building CXX object CMakeFiles/xmrig.dir/src/base/crypto/Coin.cpp.o
[ 6%] Building CXX object CMakeFiles/xmrig.dir/src/base/crypto/sha3.cpp.o
[ 7%] Building CXX object CMakeFiles/xmrig.dir/src/base/crypto/Algorithm.cpp.o
[ 7%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/Async.cpp.o
[ 7%] Building CXX object CMakeFiles/xmrig.dir/src/base/crypto/keccak.cpp.o
[ 8%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/Console.cpp.o
[ 8%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/Env.cpp.o
[ 8%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/json/JsonChain.cpp.o
[ 9%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/json/Json.cpp.o
[ 9%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/json/JsonRequest.cpp.o
[ 10%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/backends/ConsoleLog.cpp.o
[ 10%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/backends/FileLog.cpp.o
[ 11%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/FileLogWriter.cpp.o
[ 11%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/Log.cpp.o
[ 11%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/Tags.cpp.o
[ 12%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/Signals.cpp.o
[ 12%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/Watcher.cpp.o
[ 13%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Base.cpp.o
[ 13%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/config/BaseConfig.cpp.o
[ 13%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/config/BaseTransform.cpp.o
[ 14%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/config/Title.cpp.o
[ 14%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Entry.cpp.o
[ 15%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Platform.cpp.o
[ 15%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Process.cpp.o
[ 16%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/dns/Dns.cpp.o
[ 16%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/dns/DnsConfig.cpp.o
[ 16%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/dns/DnsRecord.cpp.o
[ 17%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/dns/DnsRecords.cpp.o
[ 17%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/dns/DnsUvBackend.cpp.o
[ 18%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/Http.cpp.o
[ 18%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/BaseClient.cpp.o
[ 18%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Client.cpp.o
[ 19%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Job.cpp.o
[ 19%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/NetworkState.cpp.o
[ 20%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Pool.cpp.o
[ 20%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Pools.cpp.o
[ 20%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/ProxyUrl.cpp.o
[ 21%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Socks5.cpp.o
[ 21%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/strategies/FailoverStrategy.cpp.o
[ 22%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/strategies/SinglePoolStrategy.cpp.o
[ 22%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Url.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tools/LineReader.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tools/NetBuffer.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig.dir/src/base/tools/Arguments.cpp.o
[ 24%] Building CXX object CMakeFiles/xmrig.dir/src/base/tools/Cvt.cpp.o
[ 24%] Building CXX object CMakeFiles/xmrig.dir/src/base/tools/String.cpp.o
[ 25%] Building CXX object CMakeFiles/xmrig.dir/src/base/tools/Timer.cpp.o
[ 25%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/AutoClient.cpp.o
[ 25%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/EthStratumClient.cpp.o
[ 26%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/benchmark/BenchClient.cpp.o
[ 26%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/benchmark/BenchConfig.cpp.o
[ 27%] Building C object CMakeFiles/xmrig.dir/src/3rdparty/llhttp/llhttp.c.o
[ 27%] Building C object CMakeFiles/xmrig.dir/src/3rdparty/llhttp/api.c.o
[ 27%] Building C object CMakeFiles/xmrig.dir/src/3rdparty/llhttp/http.c.o
[ 28%] Building CXX object CMakeFiles/xmrig.dir/src/base/api/Api.cpp.o
[ 28%] Building CXX object CMakeFiles/xmrig.dir/src/base/api/Httpd.cpp.o
[ 29%] Building CXX object CMakeFiles/xmrig.dir/src/base/api/requests/ApiRequest.cpp.o
[ 29%] Building CXX object CMakeFiles/xmrig.dir/src/base/api/requests/HttpApiRequest.cpp.o
[ 30%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/Fetch.cpp.o
[ 30%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpApiResponse.cpp.o
[ 30%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpClient.cpp.o
[ 31%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpContext.cpp.o
[ 31%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpData.cpp.o
[ 32%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpListener.cpp.o
[ 32%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/http/HttpResponse.cpp.o
[ 32%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/DaemonClient.cpp.o
[ 33%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/SelfSelectClient.cpp.o
[ 33%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tools/TcpServer.cpp.o
[ 34%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/Hashrate.cpp.o
[ 34%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/Threads.cpp.o
[ 34%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/Worker.cpp.o
[ 35%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/Workers.cpp.o
[ 35%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/benchmark/Benchmark.cpp.o
[ 36%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/benchmark/BenchState.cpp.o
[ 36%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/HashrateInterpolator.cpp.o
[ 37%] Building CXX object CMakeFiles/xmrig.dir/src/backend/common/GpuWorker.cpp.o
[ 37%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/Cpu.cpp.o
[ 37%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuBackend.cpp.o
[ 38%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuConfig.cpp.o
[ 38%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThread.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThreads.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/BasicCpuInfo_arm.cpp.o
[ 40%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/lscpu_arm.cpp.o
[ 40%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/cl/OclSource.cpp.o
[ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_generic_cn_generator.cpp.o
[ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_vega_cn_generator.cpp.o
[ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn0Kernel.cpp.o
[ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn1Kernel.cpp.o
[ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn2Kernel.cpp.o
[ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/CnBranchKernel.cpp.o
[ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclBackend.cpp.o
[ 44%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclCache.cpp.o
[ 44%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclConfig.cpp.o
[ 44%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclLaunchData.cpp.o
[ 44%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclThreads.cpp.o
[ 45%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclThread.cpp.o
[ 45%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclBaseRunner.cpp.o
[ 46%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclWorker.cpp.o
[ 46%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclCnRunner.cpp.o
[ 47%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/tools/OclCnR.cpp.o
[ 48%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/tools/OclSharedState.cpp.o
[ 48%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/tools/OclSharedData.cpp.o
[ 48%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclContext.cpp.o
[ 48%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclDevice.cpp.o
[ 49%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclError.cpp.o
[ 49%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclKernel.cpp.o
[ 50%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclLib.cpp.o
[ 50%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/wrappers/OclPlatform.cpp.o
[ 51%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/OclCache_unix.cpp.o
[ 51%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_generic_rx_generator.cpp.o
[ 51%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/Blake2bHashRegistersKernel.cpp.o
[ 52%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/Blake2bInitialHashKernel.cpp.o
[ 52%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/ExecuteVmKernel.cpp.o
[ 53%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/FillAesKernel.cpp.o
[ 53%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/FindSharesKernel.cpp.o
[ 53%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/InitVmKernel.cpp.o
[ 54%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/RxJitKernel.cpp.o
[ 54%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/rx/RxRunKernel.cpp.o
[ 55%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRxBaseRunner.cpp.o
[ 55%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRxJitRunner.cpp.o
[ 55%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRxVmRunner.cpp.o
[ 56%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_generic_astrobwt_generator.cpp.o
[ 56%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_FilterKernel.cpp.o
[ 57%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_FindSharesKernel.cpp.o
[ 57%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_MainKernel.cpp.o
[ 58%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_PrepareBatch2Kernel.cpp.o
[ 58%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_Salsa20Kernel.cpp.o
[ 58%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_SHA3InitialKernel.cpp.o
[ 59%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/astrobwt/AstroBWT_SHA3Kernel.cpp.o
[ 59%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclAstroBWTRunner.cpp.o
[ 60%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_generic_kawpow_generator.cpp.o
[ 60%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/kawpow/KawPow_CalculateDAGKernel.cpp.o
[ 60%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclKawPowRunner.cpp.o
[ 61%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/tools/OclKawPow.cpp.o
[ 61%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/generators/ocl_generic_cn_gpu_generator.cpp.o
[ 62%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn00RyoKernel.cpp.o
[ 62%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn1RyoKernel.cpp.o
[ 62%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/kernels/Cn2RyoKernel.cpp.o
[ 63%] Building CXX object CMakeFiles/xmrig.dir/src/backend/opencl/runners/OclRyoRunner.cpp.o
[ 63%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaBackend.cpp.o
[ 64%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaConfig.cpp.o
[ 64%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaLaunchData.cpp.o
[ 65%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaThread.cpp.o
[ 65%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaThreads.cpp.o
[ 65%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/CudaWorker.cpp.o
[ 66%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/runners/CudaBaseRunner.cpp.o
[ 66%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/runners/CudaCnRunner.cpp.o
[ 67%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/wrappers/CudaDevice.cpp.o
[ 67%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/wrappers/CudaLib.cpp.o
[ 67%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/wrappers/NvmlLib.cpp.o
[ 68%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/runners/CudaRxRunner.cpp.o
[ 68%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/runners/CudaAstroBWTRunner.cpp.o
[ 69%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cuda/runners/CudaKawPowRunner.cpp.o
[ 69%] Building CXX object CMakeFiles/xmrig.dir/src/App.cpp.o
[ 69%] Building CXX object CMakeFiles/xmrig.dir/src/core/config/Config.cpp.o
[ 70%] Building CXX object CMakeFiles/xmrig.dir/src/core/config/ConfigTransform.cpp.o
[ 71%] Building CXX object CMakeFiles/xmrig.dir/src/core/Miner.cpp.o
[ 71%] Building CXX object CMakeFiles/xmrig.dir/src/core/Controller.cpp.o
[ 71%] Building CXX object CMakeFiles/xmrig.dir/src/net/JobResults.cpp.o
[ 72%] Building CXX object CMakeFiles/xmrig.dir/src/net/Network.cpp.o
[ 72%] Building CXX object CMakeFiles/xmrig.dir/src/net/strategies/DonateStrategy.cpp.o
[ 72%] Building CXX object CMakeFiles/xmrig.dir/src/Summary.cpp.o
[ 73%] Building CXX object CMakeFiles/xmrig.dir/src/xmrig.cpp.o
[ 73%] Building CXX object CMakeFiles/xmrig.dir/src/core/MoBenchmark.cpp.o
[ 74%] Building CXX object CMakeFiles/xmrig.dir/src/hw/api/HwApi.cpp.o
[ 74%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/json/Json_unix.cpp.o
[ 74%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Platform_unix.cpp.o
[ 75%] Building CXX object CMakeFiles/xmrig.dir/src/base/kernel/Process_unix.cpp.o
[ 75%] Building CXX object CMakeFiles/xmrig.dir/src/App_unix.cpp.o
[ 76%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/VirtualMemory_unix.cpp.o
[ 76%] Building C object CMakeFiles/xmrig.dir/src/crypto/cn/c_blake256.c.o
[ 76%] Building C object CMakeFiles/xmrig.dir/src/crypto/cn/c_groestl.c.o
[ 77%] Building C object CMakeFiles/xmrig.dir/src/crypto/cn/c_jh.c.o
[ 77%] Building C object CMakeFiles/xmrig.dir/src/crypto/cn/c_skein.c.o
[ 78%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/cn/CnCtx.cpp.o
[ 78%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/cn/CnHash.cpp.o
[ 79%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/HugePagesInfo.cpp.o
[ 79%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/MemoryPool.cpp.o
[ 79%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/Nonce.cpp.o
[ 80%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/common/VirtualMemory.cpp.o
[ 80%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/aes_hash.cpp.o
[ 81%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/allocator.cpp.o
[ 81%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/blake2_generator.cpp.o
[ 81%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/blake2/blake2b.c.o
[ 82%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/bytecode_machine.cpp.o
[ 82%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/dataset.cpp.o
[ 83%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/instructions_portable.cpp.o
[ 83%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/randomx.cpp.o
[ 83%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/reciprocal.c.o
[ 84%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/soft_aes.cpp.o
[ 84%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/superscalar.cpp.o
[ 85%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/virtual_machine.cpp.o
[ 85%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/virtual_memory.cpp.o
[ 86%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/vm_compiled_light.cpp.o
[ 86%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/vm_compiled.cpp.o
[ 86%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/vm_interpreted_light.cpp.o
[ 87%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/vm_interpreted.cpp.o
[ 87%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/Rx.cpp.o
[ 88%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxAlgo.cpp.o
[ 88%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxBasicStorage.cpp.o
[ 88%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxCache.cpp.o
[ 89%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxConfig.cpp.o
[ 89%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxDataset.cpp.o
[ 90%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxQueue.cpp.o
[ 90%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/rx/RxVm.cpp.o
[ 90%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/panthera/sha256.c.o
[ 91%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/panthera/KangarooTwelve.c.o
[ 91%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/panthera/KeccakP-1600-reference.c.o
[ 92%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/panthera/KeccakSpongeWidth1600.c.o
[ 92%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/panthera/yespower-opt.c.o
/data/data/com.termux/files/home/file/xmrig/src/crypto/randomx/panthera/yespower-opt.c:62:2: warning: "Note: building generic code for non-x86. That's OK." [-W#warnings]
#warning "Note: building generic code for non-x86. That's OK."
^
[ 93%] Building C object CMakeFiles/xmrig.dir/src/crypto/randomx/jit_compiler_a64_static.S.o
[ 93%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/randomx/jit_compiler_a64.cpp.o
[ 93%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/argon2/Impl.cpp.o
[ 94%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/astrobwt/AstroBWT.cpp.o
[ 94%] Building C object CMakeFiles/xmrig.dir/src/crypto/astrobwt/salsa20_ref/salsa20.c.o
[ 95%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/kawpow/KPCache.cpp.o
[ 95%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/cn/gpu/cn_gpu_arm.cpp.o
[ 95%] Building CXX object CMakeFiles/xmrig.dir/src/crypto/kawpow/KPHash.cpp.o
[ 95%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/stratum/Tls.cpp.o
[ 96%] Building CXX object CMakeFiles/xmrig.dir/src/base/io/log/backends/SysLog.cpp.o
[ 97%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tls/ServerTls.cpp.o
1 warning generated.
[ 97%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tls/TlsConfig.cpp.o
[ 97%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tls/TlsContext.cpp.o
[ 98%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/tls/TlsGen.cpp.o
[ 98%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/https/HttpsClient.cpp.o
[ 99%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/https/HttpsContext.cpp.o
[ 99%] Building CXX object CMakeFiles/xmrig.dir/src/base/net/https/HttpsServer.cpp.o
[100%] Linking CXX executable xmrig
[100%] Built target xmrig
~/.../xmrig/build $ export LD_LIBRARY_PATH="/system/vendor/lib64:/system/lib64"
export CFLAGS="-I$HOME/OpenCL-Headers"
export LDFLAGS="-L/system/vendor/lib64"
~/.../xmrig/build $ ./xmrig -a cn-extremelite/upx2 -o uplexa.herominers.com:10470 -u UPX1kR57JKDEC7mX7VJJnbh79ChR3yr5acaxnkWiUGCHiVdpzDKtYMUhCLHKvAzP5FY8DGaPnamAbBL5tTci9HhY99J4vCGwdo --donate-level 1 -p x --opencl-devices 0 --opencl-loader libOpenCL.so --opencl-platform QUALCOMM
- ABOUT XMRig/6.12.1-mo3 clang/12.0.0
- LIBS libuv/1.41.0 OpenSSL/1.1.1k
- HUGE PAGES supported
- 1GB PAGES unavailable
- CPU ARMv8 (1) 64-bit AES
threads:8 - MEMORY 6.8/7.4 GB (91%)
- DONATE 1%
- POOL #1 uplexa.herominers.com:10470 algo cn/upx2
- COMMANDS hashrate, pause, resume, results, connection
- OPENCL #0 QUALCOMM Snapdragon(TM)/OpenCL 2.0 QUALCOMM build: commit #191610ae03 changeid #Ic907de5ed0 Date: 09/17/20 Thu Local Branch: Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.UM.9.12.10.00.00.582.274
- OPENCL GPU #0 n/a QUALCOMM Adreno(TM) 1 MHz cu:3 mem:951/3807 MB
- CUDA disabled
[2021-05-30 10:00:47.549] benchmk STARTING ALGO PERFORMANCE CALIBRATION (with 10 seconds round)
[2021-05-30 10:00:47.550] benchmk Algo cn/r Preparation
[2021-05-30 10:00:47.550] cpu use profile cn (8 threads) scratchpad 2048 KB
[2021-05-30 10:00:47.573] opencl use profile cn/2 (1 thread) scratchpad 2048 KB
| # | GPU | BUS ID | INTENSITY | WSIZE | MEMORY | NAME
| 0 | 0 | n/a | 408 | 8 | 816 | QUALCOMM Adreno(TM)
[2021-05-30 10:00:47.881] opencl GPU #0 compiling...
Segmentation fault
~/.../xmrig/build $ cp ../src/config.json config.json
~/.../xmrig/build $ ls
CMakeCache.txt Makefile config.json xmrig
CMakeFiles cmake_install.cmake src
~/.../xmrig/build $ rm -rf config.json
~/.../xmrig/build $ ls
CMakeCache.txt Makefile config.json xmrig
CMakeFiles cmake_install.cmake src
~/.../xmrig/build $ ./xmrig - ABOUT XMRig/6.12.1-mo3 clang/12.0.0
- LIBS libuv/1.41.0 OpenSSL/1.1.1k
- HUGE PAGES supported
- 1GB PAGES unavailable
- CPU ARMv8 (1) 64-bit AES
threads:8 - MEMORY 6.4/7.4 GB (87%)
- DONATE 1%
- POOL #1 uplexa.herominers.com:10470 algo cn/upx2
- COMMANDS hashrate, pause, resume, results, connection
- OPENCL #0 QUALCOMM Snapdragon(TM)/OpenCL 2.0 QUALCOMM build: commit #191610ae03 changeid #Ic907de5ed0 Date: 09/17/20 Thu Local Branch: Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.UM.9.12.10.00.00.582.274
- OPENCL GPU #0 n/a QUALCOMM Adreno(TM) 1 MHz cu:3 mem:951/3807 MB
- CUDA disabled
[2021-05-30 10:03:43.734] config configuration saved to: "/data/data/com.termux/files/home/file/xmrig/build/config.json"
[2021-05-30 10:03:43.734] benchmk STARTING ALGO PERFORMANCE CALIBRATION (with 10 seconds round)
[2021-05-30 10:03:43.734] benchmk Algo cn/r Preparation
[2021-05-30 10:03:43.737] opencl use profile cn/2 (1 thread) scratchpad 2048 KB
| # | GPU | BUS ID | INTENSITY | WSIZE | MEMORY | NAME
| 0 | 0 | n/a | 24 | 1 | 48 | QUALCOMM Adreno(TM)
[2021-05-30 10:03:43.751] opencl GPU #0 compiling...
Segmentation fault
~/.../xmrig/build $
Any updates about android OpenCL?
Can you tell me how can stop benchmark?..
How can I star without auto benchmark?
add "algo-perf":{"rx/0": 0.01},
to config.json
when algo-perf and at least one nonzero algo entry exists it won't benchmark. conversely to make it benchmark again on purpose, erase the algo-perf section (or all its entries).
It may have already created an empty algo-perf section.
By the way can you find any solution about OpenCL problem ?..
add
"algo-perf":{"rx/0": 0.01},
to config.jsonwhen algo-perf and at least one nonzero algo entry exists it won't benchmark. conversely to make it benchmark again on purpose, erase the algo-perf section (or all its entries).
It may have already created an empty algo-perf section.
Hello
Arm v7 supported ?...
If support I will mine with GPU with cpu
I will mine with asus twinker board for testing purpose
Maybe you should try lib instead of ilb64 usually opencl support on 32bit
add
"algo-perf":{"rx/0": 0.01},
to config.jsonwhen algo-perf and at least one nonzero algo entry exists it won't benchmark. conversely to make it benchmark again on purpose, erase the algo-perf section (or all its entries).
It may have already created an empty algo-perf section.
Hello brother!..
See please..
Algo cn/upx , randomx, kawpow...
add
"algo-perf":{"rx/0": 0.01},
to config.jsonwhen algo-perf and at least one nonzero algo entry exists it won't benchmark. conversely to make it benchmark again on purpose, erase the algo-perf section (or all its entries).
It may have already created an empty algo-perf section.
So u r not available for more help..ok...
I have provided all the help I can short of having your various hardware in my hands, and even then it seems deficient.
Use my fix-AppleOpenCL code, but that doesn't fix lack of VRAM for rx/0 and RandomX isn't for GPUs anyway.
Your other device doesn't offer enough features for CN-GPU (fp32-correctly-rounded-divide-sqrt) which also can't be fixed (other algos don't require that feature).
CN-Heavy or other less modified CryptoNights should work on both. You've been testing with exactly the two algos that are incompatible with capabilities.
I have provided all the help I can short of having your various hardware in my hands, and even then it seems deficient.
Use my fix-AppleOpenCL code, but that doesn't fix lack of VRAM for rx/0 and RandomX isn't for GPUs anyway.
Your other device doesn't offer enough features for CN-GPU (fp32-correctly-rounded-divide-sqrt) which also can't be fixed (other algos don't require that feature).
CN-Heavy or other less modified CryptoNights should work on both. You've been testing with exactly the two algos that are incompatible with capabilities.
It's not you miner issues...
It's my side fault but I am really too much frustrated...
Qualcomm Snapdragon is most no1 processor in small segment...
Arm mali T series gpu mining...
But Adreno 650 is top 2nd gpu in small segment it can't mine....
Please see this picture.. I don't want to mine and profit
I just want to know whats problem , and why not mining my mobile OpenCL gpu...?..
Only 2 gb DDR3 memory in Asus twinker board , mali T760 single core gpu ... Performance also toooo much bad if I compare with Adreno 650 gpu... But I saw this result and confused... Please if you have just 2 minutes times for me please see all this photo .. you can understand what's I am saying.. I don't care about hash rate..
Thanking you
Saikat Saha
add
"algo-perf":{"rx/0": 0.01},
to config.jsonwhen algo-perf and at least one nonzero algo entry exists it won't benchmark. conversely to make it benchmark again on purpose, erase the algo-perf section (or all its entries).
It may have already created an empty algo-perf section.
So Qualcomm not provided full support for OpenCL.. Qualcomm best only for CPU..
Note :- mobile gpu mineing not recommended
But today I successfully mine with mobile GPU
My GPU ARM-Mali_G52
Have 2 compute unit..
i am used low intensity (because it is mobile)
Algo - cn-upx2
Intensity - 16
Getting hash - 90 h/s
@Spudz76 can you talk with me for some time ?