ethereum-mining / ethminer

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

AMD 5700XT Low Hashrate 3.5Mh/s #2237

Open miner493r opened 3 years ago

miner493r commented 3 years ago

Describe the bug When mining ethereum with an AMD 5700XT GPU, the actual performance does not exceed 3.6 Mh/s.

To Reproduce Steps to reproduce the behavior:

  1. Have opencl-amd 20.50 installed
  2. Run: ethminer -G -P stratum2+tcp://MY_BTC_ADDRESS.WORKERNAME@daggerhashimoto.usa.nicehash.com:3353 --cl-nobin --cl-devices 1
  3. Observe output: ethminer 0:00 A0 3.54 Mh - cl0 3.54

Expected behavior To perform at around 50Mh/s

Starting Output

ethminer 0.19.0-17+commit.ce52c740
Build: linux/release/gnu

 i 14:59:15 ethminer Configured pool daggerhashimoto.usa.nicehash.com:3353
 i 14:59:15 ethminer Selected pool daggerhashimoto.usa.nicehash.com:3353
 i 14:59:16 ethminer Stratum mode : EthereumStratum/1.0.0 (NiceHash)
 i 14:59:16 ethminer Established connection to daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 14:59:16 ethminer Spinning up miners...
cl 14:59:16 cl-0     Using Device : 0c:00.0 gfx1010 OpenCL 2.0  Memory : 7.98 GB (8573157376 B)
 i 14:59:16 cl-0     Adjusting CL work multiplier for 20 CUs. Adjusted work multiplier: 36,409
i 14:59:16 ethminer Extranonce set to fcf4c5
 i 14:59:16 ethminer Authorized worker 
 i 14:59:16 ethminer Epoch : 403 Difficulty : 848.17 Mh
 i 14:59:16 ethminer Job: f2288fbc… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
cl 14:59:17 cl-0     Generating split DAG + Light (total): 4.15 GB
cl 14:59:18 cl-0     OpenCL kernel
 i 14:59:18 ethminer Job: 416a5b2b… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
cl 14:59:18 cl-0     Creating DAG buffer, size: 4.15 GB, free: 3.84 GB
cl 14:59:18 cl-0     Creating light cache buffer, size: 66.37 MB
cl 14:59:18 cl-0     Loading kernels
cl 14:59:18 cl-0     Creating buffer for header.

Actual Performance

i 15:00:00 ethminer Job: 9c9c5e08… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 15:00:03 ethminer Job: 4bcc4e90… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
cl 15:00:04 cl-0     Job: 4bcc4e90… Sol: 0xa739f7000028b5da
 i 15:00:04 ethminer **Accepted  51 ms. daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:05 ethminer 0:00 A1 3.53 Mh - cl0 3.53
 i 15:00:05 ethminer Job: 8c2f8e77… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 15:00:05 ethminer Job: 00f77d79… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 15:00:07 ethminer Extranonce set to 925c50
 i 15:00:07 ethminer Job: 4595b349… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:10 ethminer 0:00 A1 3.53 Mh - cl0 3.53
 i 15:00:11 ethminer Job: 83cca4f7… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:15 ethminer 0:01 A1 3.55 Mh - cl0 3.55
 i 15:00:18 ethminer Job: 0e6a164a… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:20 ethminer 0:01 A1 3.55 Mh - cl0 3.55
 m 15:00:25 ethminer 0:01 A1 3.54 Mh - cl0 3.54
 i 15:00:25 ethminer Job: f319a393… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 15:00:27 ethminer Job: 05d3c55f… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 i 15:00:27 ethminer Job: f728f713… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:30 ethminer 0:01 A1 3.55 Mh - cl0 3.55
 i 15:00:34 ethminer Job: cbc84bf6… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:35 ethminer 0:01 A1 3.54 Mh - cl0 3.54
 m 15:00:40 ethminer 0:01 A1 3.55 Mh - cl0 3.55
 i 15:00:41 ethminer Job: ac5701c3… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:45 ethminer 0:01 A1 3.55 Mh - cl0 3.55
 i 15:00:48 ethminer Job: 3d655b8b… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
cl 15:00:49 cl-0     Job: 3d655b8b… Sol: 0x925c50000040d7c7
 i 15:00:49 ethminer **Accepted  97 ms. daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:50 ethminer 0:01 A2 3.55 Mh - cl0 3.55
 i 15:00:55 ethminer Job: dbe823b8… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]
 m 15:00:55 ethminer 0:01 A2 3.55 Mh - cl0 3.55
 m 15:01:00 ethminer 0:01 A2 3.55 Mh - cl0 3.55
 i 15:01:02 ethminer Job: d655bfba… daggerhashimoto.usa.nicehash.com [172.65.223.147:3353]

Environment (please complete the following information):

Additional context The driver is opencl-amd 20.50. The GPU is using compute mode. GPU has more than enough power (750w PSU and GPU drawing 120w) and the thermals are good (around 60c).

erickgruis commented 3 years ago

Do you have more than one card? If you only have one card, the cl-devices option should be set to 0 (card 0).

ssghost commented 3 years ago

So far as I know, ethminer doesn't include a kernel that fit for AMD 5700XT even in the latest release. So I wonder how could you make your GPU started to mine despite the low hashrate?