Page MenuHome

Bender 2.92 Release: Latest Demo file reports RTX error when building BVH
Closed, DuplicatePublic

Description

System Information
XMG NEO 15 (Laptop)
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0
NVIDIA 461.40 Studio
NVIDIA 461.72 Studio
64 GB RAM

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: rB02948a2cab44
Broken: 2.93.0 Alpha
Works: 2.91.2

Short description of error
The latest Blender version will report an RTX error right after building BVH.
In CUDA it will take 16 minutes packing BVH nodes.

Exact steps for others to reproduce the error
Load the latest 2.92 Demo file. Set GPU/CPU to OptiX. Start render.

OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, background ? &compacted_size_prop : NULL, background ? 1 : 0) (device_optix.cpp:1208)
OPTIX_ERROR_INVALID_VALUE in optixAccelCompact(context, NULL, out_handle, compacted_data.device_pointer, compacted_size, &out_handle) (device_optix.cpp:1237)
Error: Failed to build OptiX acceleration structure
Error: OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, background ? &compacted_size_prop : NULL, background ? 1 : 0) (device_optix.cpp:1208)

Event Timeline

Michael Klein (Renderbricks) renamed this task from Bender 2.92 Release: Latest Demo file reports RTX error to Bender 2.92 Release: Latest Demo file reports RTX error / freezes in CUDA mode.Feb 27 2021, 10:50 AM
Michael Klein (Renderbricks) updated the task description. (Show Details)
Michael Klein (Renderbricks) renamed this task from Bender 2.92 Release: Latest Demo file reports RTX error / freezes in CUDA mode to Bender 2.92 Release: Latest Demo file reports RTX error.Feb 27 2021, 11:14 AM
Michael Klein (Renderbricks) updated the task description. (Show Details)
Michael Klein (Renderbricks) renamed this task from Bender 2.92 Release: Latest Demo file reports RTX error to Bender 2.92 Release: Latest Demo file reports RTX error when building BVH.Feb 27 2021, 11:41 AM
Michael Klein (Renderbricks) updated the task description. (Show Details)

A fix for this is in the works: https://developer.blender.org/D10535 (and is a duplicate of T85985)