Page MenuHome

OpenCL error when using Cycles to render via GPU
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: AMD Radeon R7 M260 ATI Technologies Inc. 4.5.13571 Core Profile Context 19.9.1 26.20.13001.50005

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)

Short description of error
When using the Cycles engine to render an image using the GPU, this message appears in the top info bar:

Loading render kernels (This can take a few minutes the first time)

followed by,

OpenCL Error (-46): CL_INVALID_KERNEL_NAME

Rendering using the CPU doesn't have this problem.

Exact steps for others to reproduce the error

  1. Go to Edit > Preferences. Select OpenCL and check AMD Radeon R7 M260, and then uncheck Intel Core i7 4510U CPU @ 2.00 GHz
  2. Select the Cycles engine from the Render tab and select GPU Compute
  3. Go to Render > Render Image to render the default cube

Details

Type
Bug

Event Timeline

Jeroen Bakker (jbakker) triaged this task as Needs Information from User priority.

hi @TLO (tlo17)

Seems like the driver generated a wrong kernel or crashed during compilation, or something related, where a cached kernel was created, but the GPU driver is not able to load it back.

Just to be sure, can you remove the folder C:\Users\tlo17\AppData\Roaming\Blender Foundation\Blender\2.80\cache\kernels and see if it still fails.

Deleting the folder indeed resolved the problem. GPU rendering now completes without issues. Thanks.

Jeroen Bakker (jbakker) closed this task as Resolved.Thu, Sep 12, 4:23 PM
Jeroen Bakker (jbakker) claimed this task.

No problem. Closing the issue.