Maniphest T80149

Cycles: compiling OpenCL program bake...
Closed, Resolved

Assigned To
Brecht Van Lommel (brecht)
Authored By
Marcus Spengler (ITS)
Aug 27 2020, 12:08 AM
Tags
  • BF Blender
Subscribers
Marcus Spengler (ITS)
Raimund Klink (Raimund58)
Richard Antalik (ISS)

Description

System Information
Operating system: Win 10 Pro
Graphics card: AMD Radeon RX 5700 AMD Driver: 20.10.27.02-200708a-357781C-RadeonProEnterprise (11.8.2020 )

Blender Version
version: 2.83.3, branch: master, commit date: 2020-07-22 06:01, hash: 353e5bd7493e, type: Release

Hello,

I think there is still a bug with the RX 5700. It is possible to render with cycles, which was a problem before (there are many entries for that), but it seems impossible (for me) to create the CL bake kernel. Blender just quits.

Exact steps for others to reproduce the error
Just try to bake the StartUp Cube.

greetings

ITS

Revisions and Commits

rC Cycles
D8738
rB Blender
D8738

Related Objects

Mentioned Here
rB353e5bd7493e: Version Blender 2.83.3 release

Event Timeline

Marcus Spengler (ITS) created this task.Aug 27 2020, 12:08 AM
Raimund Klink (Raimund58) added a subscriber: Raimund Klink (Raimund58).EditedAug 27 2020, 11:18 AM

Could you please try again with the newest release and report back? Blender 2.83.5 https://www.blender.org/download/
And one time please with the newest daily build? https://builder.blender.org/download/

Marcus Spengler (ITS) added a comment.Aug 27 2020, 1:00 PM

Version 2.83.5 produces the same error.

Version 2.9.1 generates CL compile error.

Greetings

Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).EditedAug 27 2020, 1:30 PM

I get a bit different result, but baking diffuse pass results in empty image and bunch of error messages in console:

Cycles: compiling OpenCL program bake...
Cycles: compiling OpenCL program bake...
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program bake build output: source\kernel/kernels/opencl/kernel_bake.cl:34:84: error: too many arguments to function call, expected 7, have 8
                kernel_bake_evaluate(kg, input, output, (ShaderEvalType)type, filter, x, offset, sample);
                ~~~~~~~~~~~~~~~~~~~~                                                             ^~~~~~
source\kernel/kernel_bake.h:224:12: note: 'kernel_bake_evaluate' declared here
ccl_device void kernel_bake_evaluate(
           ^
1 error generated.

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
OpenCL error: CL_INVALID_KERNEL in clSetKernelArg( kernel, start_argument_index + current_arg_index, arg1.size, arg1.pointer) (C:\Blender-git\1\intern\cycles\device\opencl\device_opencl_impl.cpp:2088)

This one then repeats.

Not sure if this is same issue though.

Brecht Van Lommel (brecht) closed this task as Resolved by committing rBd3f203796688: Fix T80149: Cycles OpenCL baking broken after changes to uses tiles for baking.Aug 28 2020, 1:01 PM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) added a commit: rBd3f203796688: Fix T80149: Cycles OpenCL baking broken after changes to uses tiles for baking.
Brecht Van Lommel (brecht) added a commit: rC2683ca2fddd2: Fix T80149: Cycles OpenCL baking broken after changes to uses tiles for baking.Sep 1 2020, 1:59 AM
Marcus Spengler (ITS) added a comment.Sep 2 2020, 12:33 PM

Hello,

i believe the bug is still there, and has gotten worse.

After I tried to Bake (Blender Version 2.9, AMD Pro Driver) and this did not work again, I installed the normal current AMD driver.

I can now neither render nor bake with the GPU, nothing works anymore: o (

Enclosed the information -> GPU Render Default Scene

greetings

Richard Antalik (ISS) added a comment.Sep 2 2020, 3:14 PM
In T80149#1007315, @Marcus Spengler (ITS) wrote:

Hello,

i believe the bug is still there, and has gotten worse.

From the logs it does not look like the same problem. I can bake with GPU, no errors in console.
I would suggest to open new report.