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

Thread 0 has invalid config #2005

Closed madman-genchie closed 5 years ago

madman-genchie commented 5 years ago

I have 6 vega 64s, unbuntu 18.04, but cannot get the stak to work, [2018-10-24 16:14:12] : Mining coin: cryptonight_v8 [2018-10-24 16:14:12] : Compiling code and initializing GPUs. This will take a while... [2018-10-24 16:14:12] : Device 0 work size 8 / 32. [2018-10-24 16:14:12] : OpenCL device 0 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:12] : OpenCL device 0 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:12] : Device 1 work size 8 / 32. [2018-10-24 16:14:12] : OpenCL device 1 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:12] : OpenCL device 1 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:12] : Device 2 work size 8 / 32. [2018-10-24 16:14:13] : OpenCL device 2 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:13] : OpenCL device 2 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:13] : Device 3 work size 8 / 32. [2018-10-24 16:14:13] : OpenCL device 3 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:13] : OpenCL device 3 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:13] : Device 4 work size 8 / 32. [2018-10-24 16:14:13] : OpenCL device 4 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:13] : OpenCL device 4 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:13] : Device 5 work size 8 / 32. [2018-10-24 16:14:13] : OpenCL device 5 - Load precompiled code from file /home/madman/.openclcache/1ec6fe4eef80a2d3aa242c50fe18f48f9f5ad7b3063b7c5e9000b95b837780b0.openclbin [2018-10-24 16:14:13] : OpenCL device 5 - Load precompiled code from file /home/madman/.openclcache/55b203e7ebee9d619b4062776c7468da358ec15743d83a667bf8198117a78114.openclbin [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 0, no affinity. [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 1, no affinity. [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 2, no affinity. [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 3, no affinity. [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 4, no affinity. [2018-10-24 16:14:13] : Starting AMD GPU (OpenCL) thread 5, no affinity. [2018-10-24 16:14:13] : Thread 0 has invalid config.

My Amd.txt config

"gpu_threads_conf" : [ // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 0, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 1, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 2, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 3, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 4, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, // gpu: gfx900 memory:3920 // compute units: 64 { "index" : 5, "intensity" : 1536, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 2, "mem_chunk" : 2, "unroll" : 8, "comp_mode" : true }, ],

Ive opted not to use the cpu right now untill i get the gpus working

cpu.txt

"cpu_threads_conf" : [ null, ],

Any help would be much appreciated

Spudz76 commented 5 years ago

So that's the autogenerated (from this same version) amd.txt and it doesn't like it? Does the top line version match the xmr-stak --version-long ??

psychocrypt commented 5 years ago
"cpu_threads_conf" :
[
null,
],

is wrong and must be

"cpu_threads_conf" :
[
],
Spudz76 commented 5 years ago

or, "cpu_threads_conf" : null,

madman-genchie commented 5 years ago

ok ill try this and let you know how it went :)