Page MenuHome

OpenCL error crashes GPU rendering in Cycles
Closed, ArchivedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 590 Series ATI Technologies Inc. 4.5.14757 Core Profile Context 20.11.2 27.20.14501.18003

Blender Version
Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: rB5be9ef417703
Worked: (newest version of Blender that worked as expected)
Previous version 2.90 instantly crashed my OS when tested.

Short description of error
When using Cycles rendering with the GPU option, it starts to load the render kernels and then stops, giving me an error code "OpenCL error (-46): CL_Invalid_Kernel_Name". I checked a thread and tried to clear the cache files for OpenCL, but the file did not seem to exist at all.

Exact steps for others to reproduce the error
Based on the default blender file:
1: Select Cycles render
2: Select GPU Compute
3: If needed, open preferences->System, and set Cycles Render Devices to OpenCL with both GPU and CPU selected.
4: Select rendered view in the viewport. Crash occurs about 5 seconds in while loading render kernels.

Attached is the blender_debug_output.txt file from a GPU debug test.

Event Timeline

Thomas Dinges (dingto) closed this task as Archived.Nov 18 2021, 9:41 PM

OpenCL rendering support was removed in Blender 3.0.
The combination of the limited Cycles kernel implementation, driver bugs, and stalled OpenCL standard
has made maintenance too difficult. Thanks for your report, but it's unlikely that there will be further fixes for OpenCL.

For AMD GPUs, there is a new backend based on the HIP platform.
In Blender 3.0, this is supported on Windows with RDNA and RDNA2 generation discrete graphics cards.
It includes Radeon RX 5000 and RX 6000 series GPUs. Driver version Radeon Pro 21.Q4 or newer is required.

https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles
https://code.blender.org/2021/11/next-level-support-for-amd-gpus/