OpenCL incorrect rendering of colors
Open, IncompletePublic

Description

System Information
Windows 7 64
AMD Radeon R9 280X
Radeon Software Version
17.4.1

Blender Version
Broken: (2.78 411e7ab)
Worked: (2.78)

Short description of error
When rendering with opencl I get strange colors and artifacts{F536493}. Does not happen when previewing.

Exact steps for others to reproduce the error
Render any scene with opencl.

Details

Type
Bug
Salvador Ureña (Asticles) changed the title from "OpenCL incorrect rendering colors" to "OpenCL incorrect rendering of colors".
Salvador Ureña (Asticles) edited projects, added Restricted Project, Cycles; removed BF Blender.Wed, Apr 5, 2:19 PM
Aaron Carlisle (Blendify) edited projects, added BF Blender; removed Restricted Project.Wed, Apr 5, 6:51 PM

@Salvador Ureña (Asticles) Could you try this build ?


Hit F12 without changing anything once, if the bug is still there, retry with "use selective SVM compilation" activated in the render -> performance tab. Then please report results here.

Aaron Carlisle (Blendify) triaged this task as "Incomplete" priority.Tue, Apr 11, 12:39 AM

Without changing anything.

Device init success
Using Node 15, has Name NODE_VALUE_F!nUsing Node 31, has Name NODE_SHADER_JUMP!n
Using Node 0, has Name NODE_END!nUsing Node 12, has Name NODE_GEOMETRY!nUsing No
de 4, has Name NODE_CLOSURE_SET_WEIGHT!nUsing Node 3, has Name NODE_CLOSURE_BACK
GROUND!nUsing Node 1, has Name NODE_CLOSURE_BSDF!nUsing Node 2, has Name NODE_CL
OSURE_EMISSION!nCompiling OpenCL program split_path_init
Kernel compilation of split_path_init finished in 1.40s.

Compiling OpenCL program split_scene_intersect
Kernel compilation of split_scene_intersect finished in 0.71s.

Compiling OpenCL program split_lamp_emission
Kernel compilation of split_lamp_emission finished in 3.73s.

Compiling OpenCL program split_do_volume
Kernel compilation of split_do_volume finished in 0.62s.

Compiling OpenCL program split_queue_enqueue
Kernel compilation of split_queue_enqueue finished in 0.64s.

Compiling OpenCL program split_indirect_background
Kernel compilation of split_indirect_background finished in 3.94s.

Compiling OpenCL program split_shader_eval_1
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_shader_eval_1 build output: "C:\Users\pc5\Desktop\Release\2
.78\scripts\addons\cycles\source\kernel/kernel_shadow.h", line 427: warning:
          variable "skip_object" was declared but never referenced
        const int skip_object = OBJECT_NONE;
                  ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 28: error:
          variable with automatic storage duration cannot be stored in the
          named address space
        ccl_local unsigned int local_queue_atomics;
                               ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 30: error:
          identifier "local_queue_atomics" is undefined
                local_queue_atomics = 0;
                ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 52: error:
          identifier "local_queue_atomics" is undefined
                                &local_queue_atomics,
                                 ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/kernels/o
pencl/kernel_shader_eval_1.cl", line 21: error:
          kernel arguments can't be declared with types
          bool/half/size_t/ptrdiff_t/intptr_t/uintptr_t/pointer-to-pointer
          KernelGlobals *kg,
                         ^

4 errors detected in the compilation of "C:\Users\pc5\AppData\Local\Temp\OCL4608
T15.cl".
Frontend phase failed compilation.

Error: Failed loading render kernel, see console for errors

Activating "use selective SVM compilation"

Device init success
Using Node 15, has Name NODE_VALUE_F!nUsing Node 31, has Name NODE_SHADER_JUMP!n
Using Node 0, has Name NODE_END!nUsing Node 12, has Name NODE_GEOMETRY!nUsing No
de 4, has Name NODE_CLOSURE_SET_WEIGHT!nUsing Node 3, has Name NODE_CLOSURE_BACK
GROUND!nUsing Node 2, has Name NODE_CLOSURE_EMISSION!nUsing Node 1, has Name NOD
E_CLOSURE_BSDF!nCompiling OpenCL program split_path_init
Kernel compilation of split_path_init finished in 1.38s.

Compiling OpenCL program split_scene_intersect
Kernel compilation of split_scene_intersect finished in 0.72s.

Compiling OpenCL program split_lamp_emission
Kernel compilation of split_lamp_emission finished in 2.25s.

Compiling OpenCL program split_do_volume
Kernel compilation of split_do_volume finished in 0.62s.

Compiling OpenCL program split_queue_enqueue
Kernel compilation of split_queue_enqueue finished in 0.63s.

Compiling OpenCL program split_indirect_background
Kernel compilation of split_indirect_background finished in 1.47s.

Compiling OpenCL program split_shader_eval_1
OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
OpenCL program split_shader_eval_1 build output: "C:\Users\pc5\Desktop\Release\2
.78\scripts\addons\cycles\source\kernel/kernel_shadow.h", line 427: warning:
          variable "skip_object" was declared but never referenced
        const int skip_object = OBJECT_NONE;
                  ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 28: error:
          variable with automatic storage duration cannot be stored in the
          named address space
        ccl_local unsigned int local_queue_atomics;
                               ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 30: error:
          identifier "local_queue_atomics" is undefined
                local_queue_atomics = 0;
                ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/split/ker
nel_shader_eval_1.h", line 52: error:
          identifier "local_queue_atomics" is undefined
                                &local_queue_atomics,
                                 ^

"C:\Users\pc5\Desktop\Release\2.78\scripts\addons\cycles\source\kernel/kernels/o
pencl/kernel_shader_eval_1.cl", line 21: error:
          kernel arguments can't be declared with types
          bool/half/size_t/ptrdiff_t/intptr_t/uintptr_t/pointer-to-pointer
          KernelGlobals *kg,
                         ^

4 errors detected in the compilation of "C:\Users\pc5\AppData\Local\Temp\OCL4608
T22.cl".
Frontend phase failed compilation.

Also, when I select CPU, the render is all black.

Regards.