Page MenuHome

Blender Ambient Occlusion Node Render Error
Closed, ResolvedPublic

Description

System Information
OS: Ubuntu 16.04
GPU: Nvidia GTX 1060 6GB
CPU: Intel I7-4790 3.60 GHz
RAM: 32GB DDR3

Blender Version
Broken: 2.79.6 b3ac3d13a2a

Description
After connecting the new ambient occlusion node to geometry displacement, upon rendering with CUDA i get the error "CUDA error: illegal address in cuCtxSynchronize(), line 1817" when rendering with CPU it simply crashes. after rendering with GPU upon closing and reopening the file it crashes as soon as loaded.

Exact steps for others to reproduce the error
Load Blender
Go To Cycles
Add a Plane
Enter Material Nodes
Add a Displacement node
Ensure Displacement is set to geometry
Add ambient occlusion node
connect the nodes AO output to the Displacement nodes Height input
Connect Displacement node to the Displacement input of the Material Output node
Enter Rendered View with CPU or GPU

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Confirmed priority.Wed, Nov 21, 9:58 AM

Confirmed.
Does not happen in 2.8.

Running through a master Debug build next...

Philipp Oeser (lichtwerk) edited projects, added Cycles; removed BF Blender.

Asserts

kernel_assert(index >= 0 && index < width);
where index is 198 and width is only 63

1   raise                                                                         0x7ffff1dd553f 
2   abort                                                                        0x7ffff1dbf895 
3   __assert_fail_base.cold.0                                    0x7ffff1dbf769 
4   __assert_fail                                                           0x7ffff1dcd9f6 
5   ccl::texture<unsigned int>::fetch                     kernel_compat_cpu.h 77   0x4a08b25      
6   ccl::sobol_dimension                                            kernel_random.h     47   0x4a08b25      
7   ccl::path_rng_1D                                                   kernel_random.h     78   0x4db403b      
8   ccl::path_rng_2D                                                   kernel_random.h     120  0x4db403b      
9   ccl::path_branched_rng_2D                                kernel_random.h     239  0x4db403b      
10  ccl::svm_ao                                                            svm_ao.h            46   0x4db403b      
11  ccl::svm_node_ao                                                 svm_ao.h            99   0x4db57f2      
12  ccl::svm_eval_nodes                                            svm.h               482  0x4dc2265      
13  ccl::shader_eval_displacement                          kernel_shader.h     1249 0x4de2904      
14  ccl::kernel_displace_evaluate                            kernel_bake.h       519  0x4eecd27      
15  ccl::kernel_cpu_avx2_shader                             kernel_cpu_impl.h   174  0x4eee121      
16  ccl::CPUDevice::thread_shader                        device_cpu.cpp      839  0x363d900

@Brecht Van Lommel (brecht): mind having a look?