nanopool / nanominer

Nanominer is a versatile tool for mining cryptocurrencies on GPUs and CPUs.
https://nanominer.org
639 stars 348 forks source link

0 Hashrate with Radeon 5700xt and Ubuntu 20.04 #162

Open StephenTurley opened 3 years ago

StephenTurley commented 3 years ago

Seems like the total power usage of is also very low at only 25.00W. The same hardware on windows typically uses over 180W

Here are the logs: ` _

Version 3.2.2
2021-02-14 16:16:18: Started EthMan server on port 3333 without a password (read-only mode).
2021-02-14 16:16:18: Started web interface on port 9090 without a password.
Single device detected
GPU 0 PCI 04:00.0, Platform: OpenCL, Name: AMD Radeon RX 5700 XT (gfx1010), 8176 MB available
-------------------Ethash:------------------
Currency: Ethereum

Rig name: Sleepy_3884ef8c
Email was not set.
Hashrate threshold to restart miner is not set
Added pool: eth-us-east1.nanopool.org:9433
Added pool: eth-us-west1.nanopool.org:9433
Added pool: eth-eu2.nanopool.org:9433
Added pool: eth-eu1.nanopool.org:9433
Added pool: eth-au1.nanopool.org:9433
Added pool: eth-jp1.nanopool.org:9433
Added pool: eth-asia1.nanopool.org:9433
Auto pool sorting is enabled
Using all GPU devices
Memory tweak: 1
-------------Common parameters:-------------
Log path: ./logs/
Log is written to file
GPU watchdog is enabled
Never calling reboot.sh (always restarting the miner in case of errors).
2021-02-14 16:16:18: Setting up algorithm: Ethash
2021-02-14 16:16:19: Connecting to pools...
2021-02-14 16:16:19: Connected to pool: eth-us-east1.nanopool.org:9433 | IP: 144.217.14.139 | ping: 277 ms.
2021-02-14 16:16:19: New job from eth-us-east1.nanopool.org:9433 | share difficulty = 10000 MH, epoch 395 (4183 MB)
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:00
GPU0 t=53°C fan 22% power 25.00W. Total power: 25.00W
2021-02-14 16:16:19: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:00
Ethereum last 10 min - Total: 0.000 H/s.
2021-02-14 16:16:20: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:01
GPU0 t=53°C fan 22% power 28.00W. Total power: 28.00W
2021-02-14 16:16:22: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:03
2021-02-14 16:16:25: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:06
GPU0 t=53°C fan 22% power 25.00W. Total power: 25.00W
2021-02-14 16:16:28: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:09
Ethereum last 10 min - Total: 0.000 H/s.
2021-02-14 16:16:31: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:12
GPU0 t=53°C fan 22% power 26.00W. Total power: 26.00W
2021-02-14 16:16:34: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:15
2021-02-14 16:16:37: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:18
GPU0 t=53°C fan 22% power 25.00W. Total power: 25.00W
2021-02-14 16:16:38: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:19
Ethereum last 10 min - Total: 0.000 H/s.
2021-02-14 16:16:38: New job from eth-us-east1.nanopool.org:9433
Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 00:19
GPU0 t=54°C fan 22% power 25.00W. Total power: 25.00W`

clinfo output

`dlerror: libMesaOpenCL.so.1: cannot open shared object file: No such file or directory
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3188.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1010
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0
  Driver Version                                  3188.4 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 5700 XT
  Device Topology (AMD)                           PCI-E, 04:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               20
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                32
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2150MHz
  Graphics IP (AMD)                               10.1
  Device Partition                                (core)
    Max number of sub-devices                     20
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024

`

StephenTurley commented 3 years ago

Looks like it is also crashing:


Ethereum - Total speed: 0.000 H/s, Total shares: 0 Rejected: 0, Time: 02:10
2021-02-14 16:22:49: GPU 0 hung up. Try to decrease the "memTweak" parameter value for GPU 0
2021-02-14 16:22:49: Miner has already been restarted once
2021-02-14 16:22:49: Self-restarting miner process.
                                   _```
StephenTurley commented 3 years ago

I've installed the mesa=opencl-icd package and that seems to have removed the error from clinfo. The miner is still behaving the same though.


Number of platforms                               2
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3188.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD

  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 20.3.4 - kisak-mesa PPA
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1010
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0
  Driver Version                                  3188.4 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 5700 XT
  Device Topology (AMD)                           PCI-E, 04:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               20
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                32
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2150MHz
  Graphics IP (AMD)                               10.1
  Device Partition                                (core)
    Max number of sub-devices                     20
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
blackmutzi commented 3 years ago

same issue with AMD Radeon RX 6800 does anyone have an idea how to fix this?

OS: Linux debian 5.10.0-3-amd64

Detected 3 devices
GPU 0 PCI 01:00.0, Platform: OpenCL, Name: Radeon RX 580 Series (Ellesmere), 8184 MB available
GPU 1 PCI 03:00.0, Platform: OpenCL, Name: Radeon RX 580 Series (Ellesmere), 8184 MB available
GPU 2 PCI 08:00.0, Platform: OpenCL, Name: AMD Radeon RX 6800 (gfx1030), 16368 MB available
-------------------Ethash:------------------
...
Ethereum Classic: GPU 0 29.590 MH/s, GPU 1 29.589 MH/s, GPU 2 0.000 H/s
2021-02-19 18:18:37: GPU 2 hung up. Try to decrease the "memTweak" parameter value for GPU 2
2021-02-19 18:18:37: Miner has already been restarted once
2021-02-19 18:18:37: Self-restarting miner process.
                                   _                 
  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1030
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 
  Driver Version                                  3188.4 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 6800
  Device PCI-e ID (AMD)                           0x73bf
  Device Topology (AMD)                           PCI-E, 08:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               30
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                32
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2475MHz
  Graphics IP (AMD)                               10.3
  Device Partition                                (core)
    Max number of sub-devices                     30
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
sp1derjohn commented 3 years ago

Me too. I'm having the same problem. I'm also using AMD 5700 XT on Ubuntu 20.04

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3188.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1010
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0
  Driver Version                                  3188.4 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 5700 XT
  Device Topology (AMD)                           PCI-E, 07:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               20
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                32
  SIMD instruction width (AMD)                    1
  Max clock frequency                             2100MHz
  Graphics IP (AMD)                               10.1
  Device Partition                                (core)
    Max number of sub-devices                     20
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
sameSEA commented 3 years ago

Same happens to my setup - there are 3 GPUs, Nanominer uses only one GPU - RX570 4Gb, with "devices=2" MIner properly uses this device, connects to pool, gets job. And shows 0 hashrate, and low GPU power.

wwcvel commented 3 years ago

Also experiencing this issue with RX 5700 XT. Works fine on RX 470.

StephenTurley commented 3 years ago

Anyone figure out what is going on?

GobleSt commented 2 years ago

I too see this issue although I get ~3Mh no matter the settings. I think it is the AMD driver version but ¯_(ツ)_/¯