AMD Cycles bug #85667

Closed
opened 2021-02-15 19:35:17 +01:00 by Vince Borbély · 5 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon(TM) Vega 8 Graphics ATI Technologies Inc. 4.5.13587 Core Profile Context 19.40.48 26.20.14048.2

Blender Version
Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: blender/blender@5be9ef4177
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Cycles Render Engine ()
Author:

Short description of error
With my amd gpu (i have one in the system info and there is a radeon rx 550 with linux and the lates drivers), if i go to rendered viewport shading with cycles GPU Compute, then it fails to load render kernels. Render image or Render animation works fine.

Exact steps for others to reproduce the error

  1. Buy a low-end AMD GPU (the bug works on a lot of AMD GPUs, but i can confirm radeon vega 8 graphics and radeon rx 550).
  2. Use the default startup file, change the render engine to Cycles.
  3. Go into rendered viewport shading, and after loading render kernels it will say you a split kernel error (failed to load kernel_lamp_emission/kernel_indirect background etc.)
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon(TM) Vega 8 Graphics ATI Technologies Inc. 4.5.13587 Core Profile Context 19.40.48 26.20.14048.2 **Blender Version** Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `blender/blender@5be9ef4177` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Cycles Render Engine () Author: **Short description of error** With my amd gpu (i have one in the system info and there is a radeon rx 550 with linux and the lates drivers), if i go to rendered viewport shading with cycles GPU Compute, then it fails to load render kernels. Render image or Render animation works fine. **Exact steps for others to reproduce the error** 1. Buy a low-end AMD GPU (the bug works on a lot of AMD GPUs, but i can confirm radeon vega 8 graphics and radeon rx 550). 2. Use the default startup file, change the render engine to Cycles. 3. Go into rendered viewport shading, and after loading render kernels it will say you a split kernel error (failed to load kernel_lamp_emission/kernel_indirect background etc.)
Author

Added subscriber: @VinceOrigami

Added subscriber: @VinceOrigami

Added subscriber: @leonardos

Added subscriber: @leonardos

I have the same problem on RX 6800

Cycles: compiling OpenCL program split_bundle...
Kernel compilation of split_bundle finished in 15.62s.
OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel
OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel()
OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel(cqCommandQueue, kernel, 2, NULL, global_size, NULL, 0, NULL, NULL) (C:\b\buildbot-worker-windows\windows_master\blender.git\intern\cycles\device\opencl\device_opencl_impl.cpp:1263)

I have the same problem on RX 6800 ``` Cycles: compiling OpenCL program split_bundle... Kernel compilation of split_bundle finished in 15.62s. OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel() OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel(cqCommandQueue, kernel, 2, NULL, global_size, NULL, 0, NULL, NULL) (C:\b\buildbot-worker-windows\windows_master\blender.git\intern\cycles\device\opencl\device_opencl_impl.cpp:1263) ```

in 2.91 it is possible for me to successfully compile opencl by attempting to do an actual render, then after doing that and i go back to viewport all is good. but in 2.92 and 2.93 not even this works. cycles its completely broken on amd.

also worth noting that after it throws an error it doesnt terminate other blender instances(that it uses for compiling i assume) so they stay up hogging up cpu and ram and you have to terminate them manually from task manager or do a restart

in 2.91 it is possible for me to successfully compile opencl by attempting to do an actual render, then after doing that and i go back to viewport all is good. but in 2.92 and 2.93 not even this works. cycles its completely broken on amd. also worth noting that after it throws an error it doesnt terminate other blender instances(that it uses for compiling i assume) so they stay up hogging up cpu and ram and you have to terminate them manually from task manager or do a restart

Closed as duplicate of blender/blender#84461

Closed as duplicate of blender/blender#84461
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#85667
No description provided.