Crash when rendering with OptiX denoiser enabled #83925

Closed
opened 2020-12-18 12:02:51 +01:00 by Robert Guetzkow · 20 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version:

  • 2.92.0 Alpha, branch: master, commit date: 2020-12-28 21:34, hash: 81c57c9471
  • 2.92.0 Alpha, branch: master, commit date: 2020-12-18 08:18, hash: 4f9e21bdc9
  • 2.92.0 Alpha, branch: master, commit date: 2020-12-16, hash: 3a1d1aaa86
  • 2.92.0 Alpha, branch: master, commit date: 2020-12-15, hash: 977bd7937a
  • 2.92.0 Alpha, branch: master, commit date: 2020-12-14, hash: 010f44b855
    Worked: 2.92.0, branch: master, commit date: 2020-11-19, hash: fdd3032f8f

Short description of error
Rendering with OptiX denoiser enabled results in a crash

Exact steps for others to reproduce the error

  • Open Blender.
  • Set the render engine to Cycles.
  • Use the CPU as render device.
  • Enable Sampling > Denoising > Render and set it to OptiX.

Render the default cube.

2020-12-18_optix_denoise.blend

std::vector<ccl::BVH *,ccl::GuardedAllocator<ccl::BVH *>>::operator- [ ](const unsigned __int64 _Pos) Lines 1504	C++
ccl::MultiDevice::build_bvh(ccl::BVH * bvh, ccl::Progress & progress, bool refit) Lines 270	C++
ccl::GeometryManager::device_update_bvh(ccl::Device * device, ccl::DeviceScene * dscene, ccl::Scene * scene, ccl::Progress & progress) Lines 1170	C++
ccl::GeometryManager::device_update(ccl::Device * device, ccl::DeviceScene * dscene, ccl::Scene * scene, ccl::Progress & progress) Lines 1663	C++
ccl::Scene::device_update(ccl::Device * device_, ccl::Progress & progress) Lines 271	C++
ccl::Scene::update(ccl::Progress & progress, bool & kernel_switch_needed) Lines 507	C++
ccl::Session::update_scene() Lines 1034	C++
ccl::Session::run_cpu() Lines 794	C++
ccl::Session::run() Lines 879	C++
 	[External Code]	
ccl::thread::run(void * arg) Lines 53	C++
 	[External Code]	
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: - 2.92.0 Alpha, branch: master, commit date: 2020-12-28 21:34, hash: `81c57c9471` - 2.92.0 Alpha, branch: master, commit date: 2020-12-18 08:18, hash: `4f9e21bdc9` - 2.92.0 Alpha, branch: master, commit date: 2020-12-16, hash: `3a1d1aaa86` - 2.92.0 Alpha, branch: master, commit date: 2020-12-15, hash: `977bd7937a` - 2.92.0 Alpha, branch: master, commit date: 2020-12-14, hash: `010f44b855` Worked: 2.92.0, branch: master, commit date: 2020-11-19, hash: `fdd3032f8f` **Short description of error** Rendering with OptiX denoiser enabled results in a crash **Exact steps for others to reproduce the error** - Open Blender. - Set the render engine to *Cycles*. - Use the CPU as render device. - Enable *Sampling > Denoising > Render* and set it to *OptiX*. # Render the default cube. [2020-12-18_optix_denoise.blend](https://archive.blender.org/developer/F9516346/2020-12-18_optix_denoise.blend) ```lines std::vector<ccl::BVH *,ccl::GuardedAllocator<ccl::BVH *>>::operator- [ ](const unsigned __int64 _Pos) Lines 1504 C++ ccl::MultiDevice::build_bvh(ccl::BVH * bvh, ccl::Progress & progress, bool refit) Lines 270 C++ ccl::GeometryManager::device_update_bvh(ccl::Device * device, ccl::DeviceScene * dscene, ccl::Scene * scene, ccl::Progress & progress) Lines 1170 C++ ccl::GeometryManager::device_update(ccl::Device * device, ccl::DeviceScene * dscene, ccl::Scene * scene, ccl::Progress & progress) Lines 1663 C++ ccl::Scene::device_update(ccl::Device * device_, ccl::Progress & progress) Lines 271 C++ ccl::Scene::update(ccl::Progress & progress, bool & kernel_switch_needed) Lines 507 C++ ccl::Session::update_scene() Lines 1034 C++ ccl::Session::run_cpu() Lines 794 C++ ccl::Session::run() Lines 879 C++ [External Code] ccl::thread::run(void * arg) Lines 53 C++ [External Code] ```
Author
Member

Added subscriber: @rjg

Added subscriber: @rjg

#84241 was marked as duplicate of this issue

#84241 was marked as duplicate of this issue

#84231 was marked as duplicate of this issue

#84231 was marked as duplicate of this issue
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58
Contributor

This 4f9e21bdc9 might be the bad boy.
EDIT: No, can't be. The time doesn't match, no?

~~This 4f9e21bdc9 might be the bad boy.~~ EDIT: No, can't be. The time doesn't match, no?
Author
Member

@Raimund58 No, the crash also occurs in:

  • 3a1d1aaa86 2020-12-16
  • 977bd7937a 2020-12-15
  • 010f44b855 2020-12-14
@Raimund58 No, the crash also occurs in: - `3a1d1aaa86` 2020-12-16 - `977bd7937a` 2020-12-15 - `010f44b855` 2020-12-14

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-12-24 14:11:53 +01:00

Fixed by c4f8aed, same underlying cause.

Fixed by c4f8aed, same underlying cause.
Author
Member

@brecht I think this was incorrectly closed, it still crashes when rendering on the CPU with OptiX denoiser enabled.

@brecht I think this was incorrectly closed, it still crashes when rendering on the CPU with OptiX denoiser enabled.
Author
Member

Changed status from 'Resolved' to: 'Confirmed'

Changed status from 'Resolved' to: 'Confirmed'
Author
Member

Added subscriber: @JasonClarke

Added subscriber: @JasonClarke
Member

Added subscriber: @kaban

Added subscriber: @kaban

Added subscriber: @rlneumiller

Added subscriber: @rlneumiller

I am able to reproduce with nightly build Blender 2.92.0 Alpha January 01, 00:24:12- 0da1fc2fc4 Windows 64 bit
blender_debug_output.txt
2020-12-18_optix_denoise.crash.txt
blender_system_info.txt

But Curiously it does not reproduce with my local "Release" build sync'd to the same commit as the nightly build.

I am able to reproduce with nightly build Blender 2.92.0 Alpha January 01, 00:24:12- 0da1fc2fc417 Windows 64 bit [blender_debug_output.txt](https://archive.blender.org/developer/F9544661/blender_debug_output.txt) [2020-12-18_optix_denoise.crash.txt](https://archive.blender.org/developer/F9544662/2020-12-18_optix_denoise.crash.txt) [blender_system_info.txt](https://archive.blender.org/developer/F9544663/blender_system_info.txt) But Curiously it does not reproduce with my local "Release" build sync'd to the same commit as the nightly build.

This issue was referenced by 3373d14b1b

This issue was referenced by 3373d14b1b05b2ee5dc88efff5dc8b1a5fe20f36
Member

Added subscriber: @pmoursnv

Added subscriber: @pmoursnv
Brecht Van Lommel was unassigned by Patrick Mours 2021-01-05 18:39:53 +01:00
Patrick Mours self-assigned this 2021-01-05 18:39:53 +01:00
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

Should be fixed now!

Should be fixed now!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 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#83925
No description provided.