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

RX 550 (gfx804) Binary kernel and low hashrate #1462

Closed platofff closed 6 years ago

platofff commented 6 years ago

Describe the bug Hello! I have tested your miner on my RX 550 (Lexa). The program cannot find a binary kernel for gfx804. I have added to a script which compiles binary kernel for GCN3 (GCN_ethash.isa) for my GPU core this text:

.elseifgpu gfx804 .driver_version 200406 .include "GCN_ethash_globaldata.isa" .include "GCN3_ethash_search.isa" .ifdef DAGGEN .include "GCN3_ethash_GenerateDAG.isa" .endif

And I have compiled binary kernel: clrxasm -o 'ethash_gfx804_lws192' --defsym=worksize='192' -A 'gcn1.2' -g 'gfx804' -b 'amdcl2' GCN_ethash.isa I have putted this to: ethminer/libethash-cl/kernels/bin and compiled ethminer. I have 13 Mh/s on my GPU with BIOS mod and OC. But on other miners I have 13.7 Mh/s, what's a problem? I hope you will fix binary kernels for gfx804, thank you. Desktop (please complete the following information):

ddobreff commented 6 years ago

Try worksize=64, if it doesn't work use "other" miner.

platofff commented 6 years ago

@ddobreff I tested all worksizes and on worksize 64 I got 13,05 Mh/s. It is not good result, but it is larger than this GPU gets with OpenCL kernel.

ddobreff commented 6 years ago

Saying that 13.05MH is not good result is basically an insult to developers...You'd rather choose your words carefully when you are addressing non paid voluntary developer's work :)

lesjokolat commented 6 years ago

@platofff I think you could have optimized the kernels further to try improve your hashrate. Things like driver version and 64 bit build are missing from the kernel commands you used to build the binary.

invidtiv commented 6 years ago

I have rx580, everything is fine just use --cl-local-work 256 --cl-global-work 65536 --cl-kernel 1 --cl-parallel-hash 2

platofff commented 6 years ago

@ddobreff You are right. Developers, please, add binary kernel for gfx804 because I have just 11,5 Mh/s with OpenCL kernel instead of 13,05 on binary kernel, thank you. Ethminer is the best miner on my RX 560 and Nvidia GPUs, but RX 550 have problems. I will wait for new optimized kernels, thank you.