ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.98k stars 2.29k forks source link

Can it support Arm OpenCL ? #2322

Open Saikatsaha1996 opened 3 years ago

Saikatsaha1996 commented 3 years ago

If yes please reply

Titaniumtown commented 3 years ago

arm opencl

You need to be way more specific than that.

Saikatsaha1996 commented 3 years ago

Android device Arm64 OpenCL 2.0 available Processor Snapdragon 865 Gpu Adreno 650

Screenshot_2021-04-26-16-33-58-406_com termux

Titaniumtown commented 3 years ago

Well test it and find out.

Saikatsaha1996 commented 3 years ago

Well test it and find out.

Can you share build instructions please ?.. Just trying .. If I got success I will inform you..

Saikatsaha1996 commented 3 years ago

Well test it and find out.

I got error like this.....

~/src/ethminer/build $ export LDFLAGS="-L/system/vendor/lib64" ~/src/ethminer/build $ cmake .. -DETHASHCUDA=OFF -DETHASHCL=ON -- [cable ] Cable 0.2.14 initialized -- [hunter] Initializing Hunter workspace (4b894e1d5d203f0cc9a77431dbb1b486ab6f4430) -- [hunter] https://github.com/ruslo/hunter/archive/v0.23.112.tar.gz -- [hunter] -> /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1 -- 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 -- [cable ] Build type: RelWithDebInfo -- [hunter] Calculating Toolchain-SHA1 -- [hunter] Calculating Config-SHA1 -- [hunter] HUNTER_ROOT: /data/data/com.termux/files/home/.hunter -- [hunter] [ Hunter-ID: 4b894e1 | Toolchain-ID: 3efbc3b | Config-ID: 4c4f871 ] -- [hunter] BOOST_ROOT: /data/data/com.termux/files/home/.hunter/_Base/4b894e1/3efbc3b/4c4f871/Install (ver.: 1.66.0) -- [hunter] Building Boost loading initial cache file /data/data/com.termux/files/home/.hunter/_Base/4b894e1/3efbc3b/4c4f871/cache.cmake loading initial cache file /data/data/com.termux/files/home/.hunter/_Base/4b894e1/3efbc3b/4c4f871/Build/Boost/args.cmake -- The C compiler identification is Clang 12.0.0 -- The CXX compiler identification is Clang 12.0.0 -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /data/data/com.termux/files/home/.hunter/_Base/4b894e1/3efbc3b/4c4f871/Build/Boost/Build [ 12%] Creating directories for 'Boost' [ 25%] Performing download step (download, verify and extract) for 'Boost' -- Downloading... dst='/data/data/com.termux/files/home/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z' timeout='none' inactivity timeout='none' -- Using src='https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z' -- [download 0% complete] CMake Error at Build/Boost-prefix/src/Boost-stamp/download-Boost.cmake:170 (message): Each download failed!

error: downloading 'https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z' failed
      status_code: 22
      status_string: "HTTP response code said error"
      log:
      --- LOG BEGIN ---
        Trying 52.42.240.241:443...

Connected to dl.bintray.com (52.42.240.241) port 443 (#0)

ALPN, offering h2

ALPN, offering http/1.1

successfully set certificate verify locations:

CAfile: /data/data/com.termux/files/usr/etc/tls/cert.pem CApath: /data/data/com.termux/files/usr/etc/tls/certs

[5 bytes data]

TLSv1.3 (OUT), TLS handshake, Client hello (1):

[512 bytes data]

[5 bytes data]

TLSv1.3 (IN), TLS handshake, Server hello (2):

[102 bytes data]

NPN, negotiated HTTP1.1

[5 bytes data]

TLSv1.2 (IN), TLS handshake, Certificate (11):

[2765 bytes data]

[5 bytes data]

TLSv1.2 (IN), TLS handshake, Server key exchange (12):

[333 bytes data]

[5 bytes data]

TLSv1.2 (IN), TLS handshake, Server finished (14):

[4 bytes data]

[5 bytes data]

TLSv1.2 (OUT), TLS handshake, Client key exchange (16):

[70 bytes data]

[5 bytes data]

TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):

[1 bytes data]

[5 bytes data]

TLSv1.2 (OUT), TLS handshake, Next protocol (67):

[36 bytes data]

[5 bytes data]

TLSv1.2 (OUT), TLS handshake, Finished (20):

[16 bytes data]

[5 bytes data]

[5 bytes data]

TLSv1.2 (IN), TLS handshake, Finished (20):

[16 bytes data]

SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256

ALPN, server did not agree to a protocol

Server certificate:

subject: CN=.bintray.com start date: Sep 26 00:00:00 2019 GMT expire date: Nov 9 12:00:00 2021 GMT subjectAltName: host "dl.bintray.com" matched cert's ".bintray.com" issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018 SSL certificate verify ok.

[5 bytes data]

GET /boostorg/release/1.66.0/source/boost_1_66_0.7z HTTP/1.1

Host: dl.bintray.com

User-Agent: curl/7.76.1

Accept: /

[5 bytes data]

Mark bundle as not supporting multiuse

HTTP/1.1 403 Forbidden

Server: nginx

Date: Sun, 20 Jun 2021 04:47:03 GMT

Content-Type: text/plain

Content-Length: 10

Connection: keep-alive

ETag: "5c3b2e0c-a"

The requested URL returned error: 403

Closing connection 0

[5 bytes data]

TLSv1.2 (OUT), TLS alert, close notify (256):

[2 bytes data]

      --- LOG END ---

make[2]: [CMakeFiles/Boost.dir/build.make:99: Boost-prefix/src/Boost-stamp/Boost-download] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/Boost.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

[hunter FATAL ERROR ] Build step failed (dir: /data/data/com.termux/files/home/.hunter/_Base/4b894e1/3efbc3b/4c4f871/Build/Boost [hunter FATAL ERROR ] [Directory:/data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/projects/Boost]

------------------------------ ERROR ----------------------------- https://docs.hunter.sh/en/latest/reference/errors/error.external.build.failed.html

CMake Error at /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message): Call Stack (most recent call first): /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page) /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_download.cmake:614 (hunter_fatal_error) /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/projects/Boost/hunter.cmake:381 (hunter_download) /data/data/com.termux/files/home/.hunter/_Base/Download/Hunter/0.23.112/4b894e1/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include) CMakeLists.txt:64 (hunter_add_package)

-- Configuring incomplete, errors occurred! See also "/data/data/com.termux/files/home/src/ethminer/build/CMakeFiles/CMakeOutput.log". ~/src/ethminer/build $

Titaniumtown commented 3 years ago

please put that in pastebin

Saikatsaha1996 commented 3 years ago

please put that in pastebin

Not understand please more details please...

Saikatsaha1996 commented 3 years ago

please put that in pastebin

Any solution please

Titaniumtown commented 3 years ago

It literally tells you the issue, just try again.

Saikatsaha1996 commented 3 years ago

It literally tells you the issue, just try again.

Already trying tooo many times but I got same error ...

Saikatsaha1996 commented 3 years ago

It literally tells you the issue, just try again.

Any solution please?.. Getting error same again and again

Spudz76 commented 3 years ago

Manually locate a copy of file boost_1_66_0.7z that mirror has removed ancient version.

Place file at /data/data/com.termux/files/home/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z

Then Hunter will notice it doesn't have to download it from nonexistent URL.

Even once it compiles it won't work since you don't have >4.328GB of VRAM (current Ethash DAG size).

Saikatsaha1996 commented 3 years ago

Manually locate a copy of file boost_1_66_0.7z that mirror has removed ancient version.

Place file at /data/data/com.termux/files/home/.hunter/_Base/Download/Boost/1.66.0/075d0b4/boost_1_66_0.7z

Then Hunter will notice it doesn't have to download it from nonexistent URL.

Even once it compiles it won't work since you don't have >4.328GB of VRAM (current Ethash DAG size).

Ommmmmg you are really awesome.... Please reply me ... .. https://github.com/MoneroOcean/xmrig/issues/58#issuecomment-873609688

And sorry ethminer developer for unofficial post.. Thank you..

amrtarek-dev commented 2 years ago

I have solved it here #2413 by updating the hunter to the working version All tests are passed, it just needs a review to merge