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

All GPU's suddenly throttled its wattage use. #1644

Closed LPX55 closed 5 years ago

LPX55 commented 5 years ago

I've done everything in my limited knowledge to try and figure out what's going on. I have a 1300W Platinum rated PSU, so I know it's not my PSU, and my power meter is reading a power draw of 400W. I made sure that it wasn't my undervolting (in fact, I've overvolted/overclocked to make sure) that was limiting my GPU's wattage usage (around ~50W per card). Did anyone have any similar experiences with issues like this in the past?

 m 10:28:27 main     ethminer 0.16.1
 m 10:28:27 main     Build: windows/release
 i 10:28:28 main     Found suitable OpenCL device [Ellesmere] with 8.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Ellesmere] with 4.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Baffin] with 2.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Ellesmere] with 8.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Baffin] with 4.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Ellesmere] with 4.000 GB of GPU memory
 i 10:28:28 main     Found suitable OpenCL device [Ellesmere] with 4.000 GB of GPU memory
 i 10:28:28 main     Configured pool eth-us-west1.nanopool.org:9999
 i 10:28:28 main     Selected pool eth-us-west1.nanopool.org:9999
 i 10:28:28 <unknown> Starting web server on port 0.0.0.0:1993
 X 10:28:30 stratum  Error  45.63.61.87:9999 [ The I/O operation has been aborted because of either a thread exit or an application request ]
 i 10:28:30 stratum  Stratum mode detected: STRATUM
 i 10:28:30 stratum  Subscribed!
 i 10:28:30 stratum  Authorized worker 0xd16b8c2B2332F65EB601406eC38c986d6E8fD927
 i 10:28:30 stratum  Established connection with eth-us-west1.nanopool.org:9999 at  [45.76.65.223:9999]
 i 10:28:30 stratum  Spinning up miners...
cl 10:28:30 cl-0     No work. Pause for 3 s.
cl 10:28:30 cl-1     No work. Pause for 3 s.
cl 10:28:30 cl-2     No work. Pause for 3 s.
cl 10:28:30 cl-3     No work. Pause for 3 s.
cl 10:28:30 cl-4     No work. Pause for 3 s.
cl 10:28:30 cl-5     No work. Pause for 3 s.
 i 10:28:30 stratum  Job: #e4090144... eth-us-west1.nanopool.org [45.76.65.223:9999]
 i 10:28:30 stratum  Pool difficulty: 10.00K megahash
 i 10:28:30 stratum  New epoch 217
 m 10:28:33 main     Speed 0.00 Mh/s gpu0 0.00 0C 0% gpu1 0.00 0C 0% gpu2 0.00 0C 0% gpu3 0.00 0C 0% gpu4 0.00 0C 0% gpu5 0.00 0C 0% [A0] Time: 00:00
cl 10:28:33 cl-0     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-1     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-0     Device:   Ellesmere / OpenCL 2.0 AMD-APP (2580.6)
cl 10:28:33 cl-2     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-1     Device:   Ellesmere / OpenCL 2.0 AMD-APP (2580.6)
cl 10:28:33 cl-3     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-4     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-5     Platform: AMD Accelerated Parallel Processing
cl 10:28:33 cl-2     Device:   Ellesmere / OpenCL 2.0 AMD-APP (2580.6)
cl 10:28:33 cl-3     Device:   Baffin / OpenCL 2.0 AMD-APP (2580.6)
cl 10:28:33 cl-4     Device:   Ellesmere / OpenCL 2.0 AMD-APP (2580.6)
cl 10:28:33 cl-5     Device:   Ellesmere / OpenCL 2.0 AMD-APP (2580.6)
 i 10:28:34 cl-3     Adjusting CL work multiplier for 16 CUs.Adjusted work multiplier: 29,128
 i 10:28:34 cl-4     Adjusting CL work multiplier for 32 CUs.Adjusted work multiplier: 58,255
cl 10:28:35 cl-2     OpenCL kernel
cl 10:28:35 cl-1     OpenCL kernel
cl 10:28:35 cl-3     OpenCL kernel
cl 10:28:35 cl-5     OpenCL kernel
cl 10:28:35 cl-4     OpenCL kernel
cl 10:28:35 cl-0     OpenCL kernel
cl 10:28:36 cl-2     Loading binary kernel C:\ethminer\kernels\ethash_ellesmere_lws256.bin
cl 10:28:36 cl-0     Loading binary kernel C:\ethminer\kernels\ethash_ellesmere_lws256.bin
cl 10:28:36 cl-2     Build info success:
cl 10:28:36 cl-2     Creating light cache buffer, size: 43.124 MB
cl 10:28:36 cl-2     Creating DAG buffer, size: 2.695 GB, free: 5.263 GB
cl 10:28:36 cl-2     Loading kernels
cl 10:28:36 cl-2     Writing light cache buffer
cl 10:28:36 cl-2     Creating buffer for header.
cl 10:28:36 cl-2     Creating mining buffer
cl 10:28:37 cl-4     Loading binary kernel C:\ethminer\kernels\ethash_ellesmere_lws256.bin
cl 10:28:37 cl-0     Build info success:
cl 10:28:37 cl-0     Creating light cache buffer, size: 43.124 MB
cl 10:28:37 cl-0     Creating DAG buffer, size: 2.695 GB, free: 5.263 GB
cl 10:28:37 cl-0     Loading kernels
cl 10:28:37 cl-0     Writing light cache buffer
cl 10:28:37 cl-0     Creating buffer for header.
cl 10:28:37 cl-0     Creating mining buffer
cl 10:28:37 cl-5     Loading binary kernel C:\ethminer\kernels\ethash_ellesmere_lws256.bin
cl 10:28:37 cl-4     Build info success:
cl 10:28:37 cl-4     Creating light cache buffer, size: 43.124 MB
cl 10:28:37 cl-4     Creating DAG buffer, size: 2.695 GB, free: 1.263 GB
cl 10:28:37 cl-4     Loading kernels
cl 10:28:37 cl-4     Writing light cache buffer
cl 10:28:37 cl-4     Creating buffer for header.
cl 10:28:37 cl-4     Creating mining buffer
 m 10:28:38 main     Speed 0.00 Mh/s gpu0 0.00 64C 30% 48W gpu1 0.00 28C 30% 33W gpu2 0.00 37C 30% 48W gpu3 0.00 49C 30% 16W gpu4 0.00 40C 30% 48W gpu5 0.00 38C 30% 44W [A0] Time: 00:00
cl 10:28:38 cl-3     Loading binary kernel C:\ethminer\kernels\ethash_baffin_lws256.bin
cl 10:28:38 cl-5     Build info success:
cl 10:28:38 cl-5     Creating light cache buffer, size: 43.124 MB
cl 10:28:38 cl-5     Creating DAG buffer, size: 2.695 GB, free: 1.263 GB
cl 10:28:38 cl-5     Loading kernels
cl 10:28:38 cl-5     Writing light cache buffer
cl 10:28:38 cl-5     Creating buffer for header.
cl 10:28:38 cl-5     Creating mining buffer
cl 10:28:38 cl-1     Loading binary kernel C:\ethminer\kernels\ethash_ellesmere_lws256.bin
cl 10:28:38 cl-3     Build info success:
cl 10:28:38 cl-3     Creating light cache buffer, size: 43.124 MB
cl 10:28:38 cl-1     Build info success:
cl 10:28:38 cl-3     Creating DAG buffer, size: 2.695 GB, free: 1.263 GB
cl 10:28:38 cl-1     Creating light cache buffer, size: 43.124 MB
cl 10:28:38 cl-3     Loading kernels
cl 10:28:38 cl-1     Creating DAG buffer, size: 2.695 GB, free: 1.263 GB
cl 10:28:38 cl-3     Writing light cache buffer
cl 10:28:38 cl-1     Loading kernels
cl 10:28:38 cl-1     Writing light cache buffer
cl 10:28:38 cl-3     Creating buffer for header.
cl 10:28:38 cl-3     Creating mining buffer
cl 10:28:38 cl-1     Creating buffer for header.
cl 10:28:38 cl-1     Creating mining buffer
 m 10:28:43 main     Speed 0.00 Mh/s gpu0 0.00 65C 33% 48W gpu1 0.00 29C 30% 40W gpu2 0.00 38C 30% 47W gpu3 0.00 52C 30% 39W gpu4 0.00 41C 30% 48W gpu5 0.00 39C 30% 48W [A0] Time: 00:00
 i 10:28:43 cl-4     2.695 GB of DAG data generated in 5,720 ms.
 i 10:28:44 cl-0     2.695 GB of DAG data generated in 7,086 ms.
 i 10:28:47 cl-2     2.695 GB of DAG data generated in 10,429 ms.
 i 10:28:48 cl-5     2.695 GB of DAG data generated in 9,695 ms.
 m 10:28:48 main     Speed 5.77 Mh/s gpu0 2.97 65C 36% 47W gpu1 0.00 29C 30% 41W gpu2 0.00 38C 30% 48W gpu3 0.00 52C 31% 39W gpu4 2.80 41C 31% 48W gpu5 0.00 39C 30% 48W [A0] Time: 00:00
 i 10:28:49 cl-3     2.695 GB of DAG data generated in 10,897 ms.
 m 10:28:53 main     Speed 31.03 Mh/s gpu0 15.70 65C 37% 48W gpu1 0.00 29C 30% 40W gpu2 0.00 38C 30% 48W gpu3 1.07 53C 32% 48W gpu4 14.26 41C 31% 48W gpu5 0.00 39C 30% 48W [A0] Time: 00:00
 i 10:28:58 stratum  Job: #0102a244... eth-us-west1.nanopool.org [45.76.65.223:9999]
 m 10:28:58 main     Speed 31.03 Mh/s gpu0 15.70 65C 37% 48W gpu1 0.00 29C 30% 40W gpu2 0.00 38C 30% 48W gpu3 1.07 53C 32% 48W gpu4 14.26 41C 31% 48W gpu5 0.00 39C 30% 48W [A0] Time: 00:00
 i 10:29:00 stratum  Job: #8707ff59... eth-us-west1.nanopool.org [45.76.65.223:9999]
 i 10:29:00 cl-1     2.695 GB of DAG data generated in 21,563 ms.
 m 10:29:03 main     Speed 46.82 Mh/s gpu0 15.77 65C 36% 48W gpu1 0.00 29C 30% 40W gpu2 2.17 38C 30% 48W gpu3 12.51 54C 33% 48W gpu4 14.23 42C 31% 48W gpu5 2.14 40C 30% 61W [A0] Time: 00:00
 m 10:29:08 main     Speed 58.20 Mh/s gpu0 15.86 65C 36% 48W gpu1 0.00 29C 30% 41W gpu2 7.54 38C 30% 48W gpu3 12.51 54C 33% 48W gpu4 14.23 42C 31% 48W gpu5 8.07 39C 30% 48W [A0] Time: 00:00
 i 10:29:10 cl-4     Solution: 0xb3358d9bf460cf52
 i 10:29:11 stratum  **Accepted 168 ms. eth-us-west1.nanopool.org [45.76.65.223:9999]
 m 10:29:13 main     Speed 58.03 Mh/s gpu0 15.71 65C 35% 47W gpu1 0.00 29C 30% 42W gpu2 7.54 38C 30% 48W gpu3 12.52 55C 33% 48W gpu4 14.20 42C 30% 48W gpu5 8.07 40C 30% 48W [A1] Time: 00:00
 m 10:29:18 main     Speed 59.41 Mh/s gpu0 15.79 65C 34% 48W gpu1 1.21 29C 30% 42W gpu2 7.55 39C 30% 48W gpu3 12.51 55C 33% 48W gpu4 14.26 42C 30% 48W gpu5 8.10 40C 30% 47W [A1] Time: 00:00
 i 10:29:21 stratum  Job: #ec5b3d49... eth-us-west1.nanopool.org [45.76.65.223:9999]
 m 10:29:23 main     Speed 59.57 Mh/s gpu0 15.88 65C 34% 48W gpu1 1.21 29C 30% 41W gpu2 7.55 38C 30% 48W gpu3 12.51 55C 33% 48W gpu4 14.24 43C 30% 48W gpu5 8.18 40C 30% 48W [A1] Time: 00:00
 i 10:29:26 stratum  Job: #0f03625d... eth-us-west1.nanopool.org [45.76.65.223:9999]
 m 10:29:28 main     Speed 59.49 Mh/s gpu0 15.89 65C 34% 48W gpu1 1.21 29C 30% 42W gpu2 7.44 38C 30% 48W gpu3 12.52 56C 33% 48W gpu4 14.25 43C 30% 47W gpu5 8.18 40C 30% 48W [A1] Time: 00:01
 m 10:29:33 main     Speed 62.54 Mh/s gpu0 15.90 65C 34% 48W gpu1 4.25 29C 30% 42W gpu2 7.47 38C 30% 48W gpu3 12.52 56C 33% 48W gpu4 14.27 43C 30% 48W gpu5 8.13 40C 30% 48W [A1] Time: 00:01
 m 10:29:38 main     Speed 62.51 Mh/s gpu0 15.82 65C 33% 48W gpu1 4.25 30C 30% 41W gpu2 7.47 38C 30% 48W gpu3 12.52 56C 33% 47W gpu4 14.26 43C 30% 48W gpu5 8.19 40C 30% 48W [A1] Time: 00:01
 m 10:29:43 main     Speed 62.56 Mh/s gpu0 15.86 66C 33% 48W gpu1 4.25 30C 30% 42W gpu2 7.50 38C 30% 48W gpu3 12.52 57C 33% 48W gpu4 14.24 44C 30% 48W gpu5 8.19 40C 30% 48W [A1] Time: 00:01
 m 10:29:48 main     Speed 62.56 Mh/s gpu0 15.78 66C 33% 48W gpu1 4.25 30C 30% 41W gpu2 7.49 38C 30% 48W gpu3 12.52 57C 33% 47W gpu4 14.24 43C 30% 48W gpu5 8.28 40C 30% 48W [A1] Time: 00:01
 m 10:29:53 main     Speed 62.25 Mh/s gpu0 15.64 66C 33% 48W gpu1 4.25 30C 30% 42W gpu2 7.49 38C 30% 48W gpu3 12.52 57C 33% 48W gpu4 14.21 44C 30% 48W gpu5 8.14 41C 30% 48W [A1] Time: 00:01
 m 10:29:58 main     Speed 62.25 Mh/s gpu0 15.64 66C 33% 48W gpu1 4.25 30C 30% 42W gpu2 7.49 38C 30% 48W gpu3 12.52 57C 33% 48W gpu4 14.21 44C 30% 48W gpu5 8.14 41C 30% 48W [A1] Time: 00:01
 i 10:29:59 cl-5     Solution: 0xb3358e9bfab804e9
 i 10:30:00 stratum  **Accepted 471 ms. eth-us-west1.nanopool.org [45.76.65.223:9999]
 m 10:30:03 main     Speed 62.27 Mh/s gpu0 15.70 66C 33% 47W gpu1 4.25 30C 30% 41W gpu2 7.46 39C 30% 48W gpu3 12.52 58C 33% 48W gpu4 14.23 44C 30% 48W gpu5 8.11 41C 30% 48W [A2] Time: 00:01

Notice how all cards are at 48W +/- 1, and 42W +/- 1... Which is bizarre, since they are all underclocked with different values.

lesjokolat commented 5 years ago

Is it possible the binary kernels have power limit setting over riding your settings?

Add this to bypass binary kernels

--cl-only Use opencl kernel. Don't attempt to load binary kernel

LPX55 commented 5 years ago

Is it possible the binary kernels have power limit setting over riding your settings?

Add this to bypass binary kernels

--cl-only Use opencl kernel. Don't attempt to load binary kernel

Thanks for the swift response. Unfortunately, still the same results. Throttled at 48~ Watts.

Looks like I may have to try re-flashing my VBIOS for each card, unless you have any other suggestions :/

lesjokolat commented 5 years ago

How are you over clocking them? If using Wattman I have seen a GPU from a group gets set to a weird stock 0 setting. Check there and reapply any settings to see if it gets up to regular speed.

I have had to restart my miner, reset wattman to sometimes get correct power settings not be throttled(or lower that I expected).

lesjokolat commented 5 years ago

use this to specify compatible gpus:

--opencl-devices omit the smaller gpu with too little memory avoid it being a potential source of problems here.

LPX55 commented 5 years ago

How are you over clocking them? If using Wattman I have seen a GPU from a group gets set to a weird stock 0 setting. Check there and reapply any settings to see if it gets up to regular speed.

I have had to restart my miner, reset wattman to sometimes get correct power settings not be throttled(or lower that I expected).

I used MSI Afterburner, and I think that may be the root cause of the problem. I underclocked with Afterburner, then set "Apply settings on reboot" or something, and now that I think about it the problem was happening after that. I reset the settings from Afterburner many reboots ago, but for some reason it's still causing problems? I tested this out by replacing the 2GB RX460 with a 4GB RX480 and the swapped out card is the only card that is close ~90W.

LPX55 commented 5 years ago

Re-flashed all my cards. Still having the same problem... power draw throttled at ~48W. I guess next step is to DDU and then reinstall the drivers.

edit: One thing I noticed in Wattman was that the "max" core speed was set to 300MHz. I tried changing it with TRIXX and Afterburner, and of course Wattman, but it doesn't budge.

lesjokolat commented 5 years ago

possibly custom bios in the cards?

LPX55 commented 5 years ago

possibly custom bios in the cards?

They were all stock BIOS with PBE one-click patches. Only thing I changed was the max temp and the target temp (70 deg).

LPX55 commented 5 years ago

Fixed by downgrading drivers to 18.5.2. But hashrates are horrid, ~15 Mh/s for a RX580 8GB. Sigh, gonna be a long night.

AndreaLanfranchi commented 5 years ago

I just noticed this

i 10:28:28 main     Found suitable OpenCL device [Baffin] with 2.000 GB of GPU memory

2 GB memory are not enough for Ethereum mining. You probably should remove that GPU from the used devices.

ddobreff commented 5 years ago

As I can see he excluded it from mining(seeing 6 of 7 all loading DAG). The throttling can come as a reason of wrong OC or no OC at all, besides full cmd line is preferable without user/wallet of course.

AndreaLanfranchi commented 5 years ago

No further feed backs. Closing