Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cl_invalid_kernel_args clenqueuendrangekernel #2233

Closed
Murtpoiss opened this issue Feb 12, 2019 · 26 comments
Closed

cl_invalid_kernel_args clenqueuendrangekernel #2233

Murtpoiss opened this issue Feb 12, 2019 · 26 comments

Comments

@Murtpoiss
Copy link

Murtpoiss commented Feb 12, 2019

I get loads on these after the program starts running ...
Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0
I'm using crypto drivers from AMD + driver patcher for modded bios
Everything with the program itself is default ...

Basic information

  • Type of the CPU. --noCPU
  • Type of the GPU (if you try to miner with the GPU). 4x rx480
  • I'm mining masari with the latest miner

Compile issues

  • Which OS do you use?
    windows 10

Issue with the execution

Just downloaded the ZIP

AMD OpenCl issue

  • I think that the issue is here somewhere

Stability issue

  • GPU sits on 2%

Do i have to install something else on my machine because it's a clean install of win10 ?
I can run the xmrig-amd-2.10.0 with no errors at all ... but wanted something newer ...

@Murtpoiss
Copy link
Author

[2019-02-12 02:56:04] : Cryptonight hash self-test NOT defined for POW cryptonight_v8_half
[2019-02-12 02:56:04] : Cryptonight hash self-test NOT defined for POW cryptonight_v8_half

xmr-stak 2.8.2 36f2e5c

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).
Based on NVIDIA mining code by KlausT and psychocrypt.
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

Upcoming xmr-stak-gui is sponsored by:

______ ____

## | ___ \ / _ \

_ #| |/ / _ ___ | / / _ _ _ _ _ _ ___ _ __ ___ _ _

|| #| /| | | | / _ \ | | | | | || '|| '|/ _ | ' \ / __|| | | |

#| |\ | || || () || _/| || || | | | | /| | | || ( | || |

## _| _|_, | _/ _/ _,||| || _||| || _| __, |

__/ | __/ |
              |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.

[2019-02-12 02:56:04] : Mining coin: cryptonight_v8_half
[2019-02-12 02:56:04] : Compiling code and initializing GPUs. This will take a while...
[2019-02-12 02:56:04] : Device 0 work size 8 / 32.
[2019-02-12 02:56:04] : WARNING AMD: gpu 0 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:04] : OpenCL device 0 - Precompiled code C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin not found. Compiling ...
[2019-02-12 02:56:13] : OpenCL device 0 - Precompiled code stored in file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:13] : OpenCL device 0 - Precompiled code C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin not found. Compiling ...
[2019-02-12 02:56:22] : OpenCL device 0 - Precompiled code stored in file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:22] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:22] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:22] : Device 0 work size 8 / 32.
[2019-02-12 02:56:22] : WARNING AMD: gpu 0 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:23] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:23] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 0 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:23] : Device 1 work size 8 / 32.
[2019-02-12 02:56:23] : WARNING AMD: gpu 1 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:23] : Device 1 work size 8 / 32.
[2019-02-12 02:56:23] : WARNING AMD: gpu 1 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:23] : OpenCL device 1 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:24] : Device 2 work size 8 / 32.
[2019-02-12 02:56:24] : WARNING AMD: gpu 2 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:24] : Device 2 work size 8 / 32.
[2019-02-12 02:56:24] : WARNING AMD: gpu 2 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:24] : OpenCL device 2 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:24] : Device 3 work size 8 / 32.
[2019-02-12 02:56:24] : WARNING AMD: gpu 3 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:25] : Device 3 work size 8 / 32.
[2019-02-12 02:56:25] : WARNING AMD: gpu 3 intensity is not a multiple of 'worksize', auto reduce intensity to 496
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/9e704bfecc8e6f49a2be6370bd86eeee5fbf4649892b87dca2d8c7816a1228f4.openclbin
[2019-02-12 02:56:25] : OpenCL device 3 - Load precompiled code from file C:\Users\Kaevur\AppData\Local/.openclcache/33aa4b2fcb5e000157b6aa2b56b3edb72e47d393baeb19aad6dc76ef288f30a5.openclbin
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 0, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 1, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 2, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 3, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 4, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 5, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 6, no affinity.
[2019-02-12 02:56:25] : Starting AMD GPU (OpenCL) thread 7, no affinity.
[2019-02-12 02:56:25] : NVIDIA: try to load library 'xmrstak_cuda_backend_cuda10_0'
[2019-02-12 02:56:25] : NVIDIA: try to load library 'xmrstak_cuda_backend_cuda9_2'
[2019-02-12 02:56:25] : NVIDIA: try to load library 'xmrstak_cuda_backend'
[2019-02-12 02:56:25] : WARNING: backend NVIDIA disabled.
[2019-02-12 02:56:25] : WARNING: backend CPU disabled.
[2019-02-12 02:56:25] : Fast-connecting to masari.miner.rocks:5005 pool ...
[2019-02-12 02:56:25] : Pool masari.miner.rocks:5005 connected. Logging in...
[2019-02-12 02:56:25] : Difficulty changed. Now: 60000.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Pool logged in.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 12, 2019

#2230 was supposed to fix this, which blockchain driver version exactly?

@Murtpoiss
Copy link
Author

Murtpoiss commented Feb 12, 2019

Win10-64Bit-Crimson-ReLive-Beta-Blockchain-Workloads-Aug23
Should i get something else ?

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 12, 2019

I don't know, but it would be one of @psychocrypt first questions for you

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 12, 2019 via email

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 12, 2019 via email

@Murtpoiss
Copy link
Author

Murtpoiss commented Feb 12, 2019

amd.txt
Can you recommend a pool that works ? all the pools that i use in that older program give all the same error row and nothing else ...

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 12, 2019 via email

@Murtpoiss
Copy link
Author

Only thing i have tried and changed so far is the intensity ... tried all different sorts ... everything else is the same as in the run i pasted the output above ...

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 12, 2019 via email

@Murtpoiss
Copy link
Author

masari.hashvault.pro / cryptoknight.cc / masari.miner.rocks these all give the same errors to me ...

Some more rows i see look something like this ...
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : OpenCL 2|1: auto-tune validate intensity 296|288
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : OpenCL Interleave 1|0: 12/34.90 ms - 40.0
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-12 02:56:26] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.

@BKdilse
Copy link

BKdilse commented Feb 12, 2019

Hey, I'm using 2.8.2, and it's working fine for all my pools (including Stellite), but Masari is throwing Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.

I'm using Drvier v18.5.1.

EDIT: Pool is msr.pool.gntl.co.uk:7777

@psychocrypt

@jagerman
Copy link
Contributor

I'm also getting this same error in Linux using both amdgpu-pro 17.50 and rocm 2.0 when trying to mine on a Masari pool.

This doesn't appear to have anything to do with cryptonight_v8_half, though: I get the same huge number of Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0. errors when I attempt to start mining on a Masari pool with any algorithm (I tried cryptonight_v8, cryptonight_v7, cryptonight_heavy).

@jagerman
Copy link
Contributor

There is some discussion of why Masari is broken here: xmrig/xmrig#913

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 14, 2019 via email

@xmronadaily
Copy link

@psychocrypt I too am having the same issue:

"[2019-02-14 01:34:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-14 01:34:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-14 01:34:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-14 01:34:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.
[2019-02-14 01:34:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.

Just getting an endless spam of that when I try Masari or any cn-half algo.

The rig is running Win 10 64, Drivers 17.9.3
GPUs: 4x 7850, 1x R9 270

Haven't tested it on a Vega rig, but I suspect it would be the same.

@cl4r0s
Copy link

cl4r0s commented Feb 18, 2019

Same issue on my Mac OS 10.13.6
Version: xmr-stak/2.8.3/e785ca1/master/mac/amd-cpu/20

[2019-02-18 23:57:36] : Error CL_INVALID_KERNEL_ARGS when calling clEnqueueNDRangeKernel for kernel 0.

Error both on MSR and XMR, It may be due to xmrstak/backend/amd/amd_gpu/gpu.cpp:1358

@psychocrypt
Copy link
Collaborator

psychocrypt commented Feb 19, 2019 via email

@BKdilse
Copy link

BKdilse commented Feb 19, 2019

Not sure who you are asking, but I'm using currency: masari.

@BKdilse
Copy link

BKdilse commented Feb 19, 2019

Can confirm it's working for CPU, but not AMD GPUs.

@psychocrypt psychocrypt mentioned this issue Mar 9, 2019
@psychocrypt
Copy link
Collaborator

fixed with #2296

@Murtpoiss
Copy link
Author

Murtpoiss commented Mar 10, 2019

When or how can i download the fixed version ?

@psychocrypt
Copy link
Collaborator

psychocrypt commented Mar 10, 2019 via email

@Murtpoiss
Copy link
Author

8GB 480s MSI and Gigabyte

@BKdilse
Copy link

BKdilse commented Mar 10, 2019

@psychocrypt I haven't tried, but I'll do so as soon as I get a chance, I'm working away at the moment. I'll update this thread with my results.

@BKdilse
Copy link

BKdilse commented Mar 12, 2019

Can confirm 2.10.1 has fixed Masari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants