fireice-uk / xmr-stak

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

No GPU results send to pool in xmr-stak version grater than 2.5 #1775

Open Kosturek opened 6 years ago

Kosturek commented 6 years ago

I use AMD R9 380 GPUs. After xmr-stak upgrade from 2.5 to 2.6 or 2.7 (tested on those two versions) I can't see GPU results on www.supportxmr.com pool, I see only CPU results. There are no errors in xmr-stack console output - it reports correct hashrates for all CPUs and GPUs. At the moment I'm back on xmr-stak 2.5 and I can see correct hashrates in my pool dashboard.

psychocrypt commented 6 years ago

please post all your config and the full miner output.

Spudz76 commented 6 years ago

I had that on one of my Tahitis, had to recompile, and also run 17.50 not 18.xx if linux

Kosturek commented 6 years ago

amd.txt : "gpu_threads_conf" : [ { "index" : 0, "intensity" : 755, "worksize" : 7, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true }, ], "platform_index" : 0,

Kosturek commented 6 years ago

config.txt : "call_timeout" : 10, "retry_time" : 30, "giveup_limit" : 0, "verbose_level" : 1, "print_motd" : true, "h_print_time" : 60, "aes_override" : null, "use_slow_memory" : "warn", "tls_secure_algo" : true, "daemon_mode" : false, "flush_stdout" : false, "output_file" : "", "httpd_port" : 0, "http_login" : "", "http_pass" : "", "prefer_ipv4" : true,

Kosturek commented 6 years ago

cpu.txt : "cpu_threads_conf" : [ { "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 }, { "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 }, ],

Kosturek commented 6 years ago

pools.txt : "pool_list" : [ {"pool_address" : "de02.supportxmr.com:5555", "wallet_address" : "xxxEDITxxx", "rig_id" : "", "pool_password" : "xxxEDITxxx", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 }, ], "currency" : "monero7",

Kosturek commented 6 years ago

xmr-stak 2.4.7 c5f0505d

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-08-14 19:57:13] : Mining coin: monero7 [2018-08-14 19:57:13] : Compiling code and initializing GPUs. This will take a while... [2018-08-14 19:57:13] : Device 0 work size 7 / 32. [2018-08-14 19:57:13] : OpenCL device 0 - Load precompiled code from file /home/bartek/.openclcache/9e806c063f7b9cd1fa0cc9a4d2625ee8a79ef8db51638459a4578415f1b70130.openclbin [2018-08-14 19:57:13] : Starting AMD GPU (OpenCL) thread 0, no affinity. [2018-08-14 19:57:13] : Starting 2x thread, affinity: 0. [2018-08-14 19:57:13] : Starting 2x thread, affinity: 1. [2018-08-14 19:57:13] : Starting 1x thread, affinity: 3. [2018-08-14 19:57:13] : Starting 1x thread, affinity: 5. [2018-08-14 19:57:13] : Starting 1x thread, affinity: 7. [2018-08-14 19:57:13] : Fast-connecting to de02.supportxmr.com:5555 pool ... [2018-08-14 19:57:15] : Pool de02.supportxmr.com:5555 connected. Logging in...

Kosturek commented 6 years ago

hHASHRATE REPORT - CPU | ID | 10s | 60s | 15m | ID | 10s | 60s | 15m | | 0 | 51.4 | 45.8 | 46.0 | 1 | 51.6 | 46.1 | 46.2 | | 2 | 56.1 | 50.5 | 50.6 | 3 | 55.8 | 50.5 | 50.5 | | 4 | 55.8 | 50.2 | 50.3 | Totals (CPU): 270.8 242.9 243.5 H/s

HASHRATE REPORT - AMD | ID | 10s | 60s | 15m | | 0 | 535.3 | 532.0 | 531.6 | Totals (AMD): 535.3 532.0 531.6 H/s

Totals (ALL): 806.1 774.9 775.2 H/s Highest: 810.4 H/s

Kosturek commented 6 years ago

Here you can see how it drops when I switch to version 2.4.7

psychocrypt commented 6 years ago

After xmr-stak upgrade from 2.5 to 2.6 or 2.7

Where do you downloaded those versions? None of them exists. Please download the latest version from https://github.com/fireice-uk/xmr-stak/releases

psychocrypt commented 6 years ago

If you still have the issue with the official builds than please run the miner for a while and than press the key h ,r to show the results. Maybe there are some errors shown.

Kosturek commented 6 years ago

I'm sorry about the versions because I made an error and it shoult be 2.4.5 not 2.5 and 2.4.6, 2.4.7 not 2.6, 2.7. You can see output from "h" key above, later I will check "r" key and post it (I have to recompile and reboot my PC because with this config GPU will not start after X, and after testing it I have to roll back to 2.4.5 and reboot again and I don't have time for this now). Is there anything else I can test that will help you adress the issue?

Kosturek commented 6 years ago

P.S. you can't see drop in hashrate in miner output. It is only visible on the pool side.

Kosturek commented 6 years ago

P.S.2 and it only affects the GPU, CPU hashrate is OK.

Kosturek commented 6 years ago

xmr-stak 2.4.7 c5f0505d

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2018-08-16 22:19:39] : Mining coin: monero7 [2018-08-16 22:19:39] : Compiling code and initializing GPUs. This will take a while... [2018-08-16 22:19:39] : Device 0 work size 7 / 32. [2018-08-16 22:19:39] : OpenCL device 0 - Load precompiled code from file /home/bartek/.openclcache/9e806c063f7b9cd1fa0cc9a4d2625ee8a79ef8db51638459a4578415f1b70130.openclbin [2018-08-16 22:19:40] : Starting AMD GPU (OpenCL) thread 0, no affinity. [2018-08-16 22:19:40] : Starting 2x thread, affinity: 0. [2018-08-16 22:19:40] : Starting 2x thread, affinity: 1. [2018-08-16 22:19:40] : Starting 1x thread, affinity: 3. [2018-08-16 22:19:40] : Starting 1x thread, affinity: 5. [2018-08-16 22:19:40] : Starting 1x thread, affinity: 7. [2018-08-16 22:19:40] : Fast-connecting to de02.supportxmr.com:5555 pool ... [2018-08-16 22:19:42] : Pool de02.supportxmr.com:5555 connected. Logging in... rRESULT REPORT Difficulty : 9990 Good results : 4 / 9 (44.4 %) Avg result time : 41.5 sec Pool-side hashes : 59980

Top 10 best results found: | 0 | 68686 | 1 | 31989 | | 2 | 28947 | 3 | 26040 | | 4 | 0 | 5 | 0 | | 6 | 0 | 7 | 0 | | 8 | 0 | 9 | 0 |

Error details: | Count | Error text | Last seen | | 5 | AMD Invalid Result GPU ID 0 | 2018-08-16 22:22:15 | rRESULT REPORT Difficulty : 9990 Good results : 6 / 15 (40.0 %) Avg result time : 34.0 sec Pool-side hashes : 79960

Top 10 best results found: | 0 | 92318 | 1 | 68686 | | 2 | 31989 | 3 | 28947 | | 4 | 26040 | 5 | 12080 | | 6 | 0 | 7 | 0 | | 8 | 0 | 9 | 0 |

Error details: | Count | Error text | Last seen | | 9 | AMD Invalid Result GPU ID 0 | 2018-08-16 22:23:07 |

plavirudar commented 6 years ago

I've been having a similar issue on my machine, but I have an RX 580 instead.

Approx. 50% of the shares end up being rejected for AMD Invalid Result on my Ryzen Z470 rig, but when the card is moved to another computer (Intel Z270), the same card with same clocks and same driver (18.5.1) hashes perfectly with no issues. Both machines can hash on my 1080ti normally.

The Ryzen rig also doesn't hash right even when driver is downgraded back to beta blockchain (17.8).

--edit--

This was due to an error in the source files, I have reverted to original source and the error disappears.

Kosturek commented 6 years ago

I have R9 380 and all results from the GPU are rejected, only CPU results are accepted. And it only happens on xmr-stak > 2.4.5

bx549 commented 6 years ago

I am having the same issue. I am mining cryptonight_v7 with 2 CPUs and 2 RX 550s. xmr-stak output looks good, but the pool is only seeing results from the CPUs. This happens with two different pools: moneroocean and cryptonote.social. I was using 2.4.7, then based on this thread I reverted to 2.4.5 and then 2.4.4. Same thing is happening. Also I am just using the config files that xmr-stak produces.

My amd.txt and cpu.txt are below. Let me know if I can help in some way.

"gpu_threads_conf" : [ // gpu: gfx804 memory:1394 // compute units: 8 { "index" : 0, "intensity" : 640, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true }, // gpu: gfx804 memory:1375 // compute units: 8 { "index" : 1, "intensity" : 640, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true },

],

/*

"cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 16 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 17 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 9 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 13 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 15 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 24 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 25 },

],

Spudz76 commented 6 years ago

Driver 17.50 (linux) or 18.2.1 (windows) are the last known working until further notice. See also #1797

bx549 commented 6 years ago

Thanks for the info. I reverted to amdgpu driver 17.50, but I am starting to suspect that it just doesn't work with Ubuntu 18.04.01. I am getting

user@talon:~$ clinfo terminate called after throwing an instance of 'cl::Error' what(): clGetPlatformIDs Aborted (core dumped)

Spudz76 commented 6 years ago

For that, sudo clinfo and then when that works, investigate permissions, or just run as root.