Blender crashes when using Cycles Progressive Refine in OptiX CPU + GPU mode #84049
Labels
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#84049
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2080 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-21 21:31, hash:
ffacce5be4
Worked: 2.92.0 Alpha, branch: master, commit date: 2020-12-14, hash:
010f44b855
Short description of error
When Optix with CPU + GPU is activated in the Preferences, the Render Properties ➔ Performance ➔ Tiles ➔ Progressive Refine option makes Cycles crash, at least on my system.
Exact steps for others to reproduce the error
Added subscriber: @MetinSeven-1
#84790 was marked as duplicate of this issue
Blender crashes when using Progressive Refine in OptiX CPU + GPU modeto Blender crashes when using Cycles Progressive Refine in OptiX CPU + GPU modeAdded subscriber: @lowpolysaac
I can reproduce it, I also get a crash.
Linux-5.4.0-53-generic-x86_64, GeForce GTX 670
2.92.0 Alpha, branch: master, commit date: 2020-12-21 21:31, hash:
ffacce5be4
Thanks for confirming, @lowpolysaac !
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @kevindietrich, @brecht
@kevindietrich are you looking into this one?
I couldn't reproduce this crash. OptiX was broken for me due to to
b2edc716c1
, but it's working again now, but for GPU and CPU + GPU.@brecht I set as confirmed as I could reproduce also, but I am not sure if I had master up to date. I wanted to look at it, but my computer shut down somehow while compiling the OptiX kernel in debug mode (not sure if it is because of that), after restart I did not go back to it. All I remember was that the crash was somewhere in the CPU tile code, according to
/tmp/blender.crash.txt
.Let me update master and try again real quick.
I just installed the latest NVIDIA Studio driver, but can still reproduce the crash.
@brecht I can still reproduce with latest master (
ac82904c49
), both CUDA+CPU and OptiX+CPU. The crash happens in the kernel when the CPU is trying to write its result to the buffer. At this point the buffer is null for some reason, it is a bit late here so I'll investigate a bit more tomorrow. Also, I noticed that the crash tends to happen at the end of the render of the first sample, before moving to the next.Content of
/tmp/blender.crash.txt
for completenessAdded subscriber: @riyadist
I am using rtx 2060 and on the viewport it crashes
Added subscribers: @Basarchitects, @rjg
Added subscriber: @pmoursnv
Is still this an issue now that
4fde594
was fixed? Sounds like it could have a common cause.Just retried it by following the steps of the original post, and Blender still crashes here.
Blender 2.92.0 Beta
January 20, 00:09:57-
c2e6969c56
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89
@brecht I can still reproduce the issue, even with
4fde594fda
.After some investigation it would appear that the crash is caused by tile stealing happening at the end of the rendering of the first sample before moving to the first tile again for the next sample. At least disabling tile stealing fixes the crash for me.
This issue was referenced by
4a09907eab
Yeah. I was finally able to reproduce this now and it's crashing because trying to write to a GPU address on the CPU. The tile stealing code steals the tile buffer for the GPU and moves the data there, but next time around the tile may be re-used on the CPU again (which only happens in progressive mode, otherwise tiles are deleted when done). The buffer is still lying on the GPU then though and never moved back, so is inaccessible to the CPU.
Could you confirm this fixes it for you as well?:
This fixes the issue for me.
Looks good to me.
Changed status from 'Confirmed' to: 'Resolved'