fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.06k stars 1.79k forks source link

(na) hashrate and no shares on RX 560 #1959

Open o2genum opened 6 years ago

o2genum commented 6 years ago

The problem

Miner works for a few minutes or seconds, then hashrate becomes unavailable (na):

HASHRATE REPORT - AMD
| ID |    10s |    60s |    15m |
|  0 |   (na) |   (na) |   (na) |
Totals (AMD):     0.0    0.0    0.0 H/s

Full logs:

Meanwhile, Afterburner still shows 100% GPU load (no overclocking, used only for monitoring). The miner prints no errors.

Basic information

Issue with the execution

AMD OpenCl issue

clinfo output.

Stability issue

psychocrypt commented 6 years ago

your intensity is to high. Reduce the intensity or miner longet until you will see the 1min hash rate.

o2genum commented 6 years ago

Could XMR-Stak print some kind of error when this happens? Maybe an OpenCL error occurs internally?

I'd like to integrate the miner into a miner solution, and errors are helpful for analytics and decision making. Would be useful for casual miners, too.

Spudz76 commented 6 years ago

I does print an error

0 H/s is an error.

leve1ord commented 6 years ago

Here is my rx 560 4gb config

"gpu_threads_conf" : [ // gpu: Baffin memory:3712 // compute units: 16 { "index" : 0, "intensity" : 864, "worksize" : 16, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, { "index" : 0, "intensity" : 864, "worksize" : 16, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, ],

100% shares accepted

CryptoBroke550 commented 6 years ago

I have seen this as well on my Rx 550 4GB cards hashrate goes to zero at intensity 512, worksize 32, if I drop the intensity to 448 I lost 100H/s per thread not worth running the card and I never ran it long as the rate was low. So I went to Intensity 640, Worksize 16 and so far 30 hours solid. This also gives me almost the same hashrate less 2-3H/s. I can live with that for stability. affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, unroll" : 4, "comp_mode" : false If anyone wants to try the settings.