ethereum-mining / ethminer

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

After mining for a few hours, ethminer will say "Job: ..." and not mine anything #2385

Open happysmash27 opened 2 years ago

happysmash27 commented 2 years ago

Describe the bug After mining for a while, ethminer will give lines like:

cl 18:50:56 cl-0     Job: dafbc1c3… Sol: 0x72856d00057ceb81

and end up with zero hash rate.

To Reproduce Steps to reproduce the behavior:

  1. Run ethminer on nicehash, with no pre-compiled OpenCL binaries (these are slower than OpenCL; also initially I had a bug where they were not installed) stratum2+tcp://<address>:x@stratum.<region>.nicehash.com:3353 --cl-nobin.

Expected behavior Ethminer mines consistently without me manually having to kill it all the time.

Screenshots (Optional)

 i 18:50:09 ethminer **Accepted  45 ms. stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 m 18:50:13 ethminer 0:54 A316 22.89 Mh - cl0 22.89
 i 18:50:15 ethminer Job: 6b7648db… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:16 ethminer Job: bed43ad4… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 m 18:50:18 ethminer 0:54 A316 23.08 Mh - cl0 23.08
 m 18:50:23 ethminer 0:54 A316 22.47 Mh - cl0 22.47
 i 18:50:23 ethminer Job: f4dedea5… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:24 ethminer Job: ac11268e… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
cl 18:50:25 cl-0     Job: ac11268e… Sol: 0x87c5610000812b5c
 i 18:50:25 ethminer Job: 65f31d7f… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:25 ethminer **Accepted  42 ms. stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:27 ethminer Job: f9726d54… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:27 ethminer Job: bf5dd8a2… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 m 18:50:28 ethminer 0:55 A317 23.33 Mh - cl0 23.33
 i 18:50:29 ethminer Epoch : 457 Difficulty : 214.75 Mh
 i 18:50:29 ethminer Job: c7152353… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:37 ethminer Extranonce set to 72856d
 i 18:50:37 ethminer Job: ba2a3af1… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 m 18:50:37 ethminer 0:55 A317 23.23 Mh - cl0 23.23
 i 18:50:37 ethminer Job: 70100ee3… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
 i 18:50:37 ethminer Job: dafbc1c3… stratum.usa-west.nicehash.com [[2606:4700:90:0:b61f:a5b7:e5e2:4342]:3353]
cl 18:50:37 cl-0     Generating split DAG + Light (total): 4.57 GB
cl 18:50:37 cl-0     OpenCL kernel
cl 18:50:39 cl-0     Creating DAG buffer, size: 4.57 GB, free: 1.63 GB
cl 18:50:39 cl-0     Creating light cache buffer, size: 73.12 MB
cl 18:50:39 cl-0     Loading kernels
cl 18:50:39 cl-0     Creating buffer for header.
cl 18:50:39 cl-0     Creating mining buffer
cl 18:50:52 cl-0     4.57 GB of DAG data generated in 14683 ms.
cl 18:50:56 cl-0     Job: dafbc1c3… Sol: 0x72856d00057ceb81
cl 18:51:11 cl-0     Job: dafbc1c3… Sol: 0x72856d0019af8b49
cl 18:51:12 cl-0     Job: dafbc1c3… Sol: 0x72856d001c2831aa
cl 18:51:13 cl-0     Job: dafbc1c3… Sol: 0x72856d001e05b8d7
cl 18:51:18 cl-0     Job: dafbc1c3… Sol: 0x72856d00253b6f48
cl 18:51:18 cl-0     Job: dafbc1c3… Sol: 0x72856d0026524aeb
cl 18:51:45 cl-0     Job: dafbc1c3… Sol: 0x72856d004ca2a1cb
cl 18:51:47 cl-0     Job: dafbc1c3… Sol: 0x72856d004fcfd7d6
cl 18:52:03 cl-0     Job: dafbc1c3… Sol: 0x72856d006615f7fe
cl 18:52:04 cl-0     Job: dafbc1c3… Sol: 0x72856d0068911c50
cl 18:52:11 cl-0     Job: dafbc1c3… Sol: 0x72856d007217a6ab
cl 18:52:12 cl-0     Job: dafbc1c3… Sol: 0x72856d00746960d3
cl 18:52:15 cl-0     Job: dafbc1c3… Sol: 0x72856d00789c5deb
cl 18:52:16 cl-0     Job: dafbc1c3… Sol: 0x72856d007b2877b6
cl 18:52:18 cl-0     Job: dafbc1c3… Sol: 0x72856d007ea31fda
cl 18:52:24 cl-0     Job: dafbc1c3… Sol: 0x72856d0086f25283
cl 18:52:31 cl-0     Job: dafbc1c3… Sol: 0x72856d0090f6acd9
cl 18:52:45 cl-0     Job: dafbc1c3… Sol: 0x72856d00a3aa86ef
cl 18:52:47 cl-0     Job: dafbc1c3… Sol: 0x72856d00a77be628
cl 18:53:02 cl-0     Job: dafbc1c3… Sol: 0x72856d00bc529878
cl 18:53:08 cl-0     Job: dafbc1c3… Sol: 0x72856d00c4c07d2a
cl 18:53:20 cl-0     Job: dafbc1c3… Sol: 0x72856d00d5a9864b

Environment (please complete the following information):

happysmash27 commented 2 years ago

This occurs using the AMDGPU-Pro drivers, and after a while I even got a kernel panic which was not recoverable from without a hard reboot! I have decided to move away from AMDGPU-Pro and try Mesa instead, if only to not worry about data corruption.