keyframed Boolean causes CUDA error #53490

Closed
opened 2017-12-06 12:55:37 +01:00 by Marcin Twarowski · 5 comments

Win 10 and GTX1080, Win 7 and GTX970
Broken in 2.79 official and build 1802d14 (from 05.12.2017)

Open attached file. Hit F12. All should render correctly:

CUDA_launch_failed_bug_01.jpg

Now add a single keyframe in "Operation" in Boolean modifier:

CUDA_launch_failed_bug_02.jpg

To be sure you can save and restart the file, although that probably won't be neccessary. Now you can see that scrubbing the timeline has become really slow. Hit F12. On GTX1080 it either crashes to desktop (Blender stopped working) or spits this error:

CUDA launch failed in cuCtxSynchronize(), line 1372

On GTX970 it doesn't crash but renders incorrectly:

CUDA_launch_failed_gtx970.png

Remove the key frame, save and restart, all is back to normal.

CUDA_launch_failed.blend

Win 10 and GTX1080, Win 7 and GTX970 Broken in 2.79 official and build 1802d14 (from 05.12.2017) Open attached file. Hit F12. All should render correctly: ![CUDA_launch_failed_bug_01.jpg](https://archive.blender.org/developer/F1317789/CUDA_launch_failed_bug_01.jpg) Now add a single keyframe in "Operation" in Boolean modifier: ![CUDA_launch_failed_bug_02.jpg](https://archive.blender.org/developer/F1317855/CUDA_launch_failed_bug_02.jpg) To be sure you can save and restart the file, although that probably won't be neccessary. Now you can see that scrubbing the timeline has become really slow. Hit F12. On GTX1080 it either crashes to desktop (Blender stopped working) or spits this error: ``` CUDA launch failed in cuCtxSynchronize(), line 1372 ``` On GTX970 it doesn't crash but renders incorrectly: ![CUDA_launch_failed_gtx970.png](https://archive.blender.org/developer/F1317851/CUDA_launch_failed_gtx970.png) Remove the key frame, save and restart, all is back to normal. [CUDA_launch_failed.blend](https://archive.blender.org/developer/F1317872/CUDA_launch_failed.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @MarcinTwarowski

Added subscriber: @MarcinTwarowski

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2017-12-06 17:50:40 +01:00

Thanks for the report, but it seems to be more a limitation than a bug here.

The reason why playback is slow, is because even though the value of property never changes, there is no way for Blender to know that in advance, before actually evaluating the value. So what Blender sees is that there is something animated in the modifier stack, so the modifier stack gets re-evaluated.

Wrong render result on render is caused by motion blur. The issue with boolean modifier is that we can not really guarantee the order of verticies to be the same for every modifier evaluation. So what happens is that Cycles is confused by number of vertices to be the same, but order is different. This is not supported by motion blur.

Issues with CUDA is likely due to so called TDR, because the final topology gets corrupted, which makes every pixel to render really slow. See https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html#the-nvidia-opengl-driver-lost-connection-with-the-display-driver

Thanks for the report, but it seems to be more a limitation than a bug here. The reason why playback is slow, is because even though the value of property never changes, there is no way for Blender to know that in advance, before actually evaluating the value. So what Blender sees is that there is something animated in the modifier stack, so the modifier stack gets re-evaluated. Wrong render result on render is caused by motion blur. The issue with boolean modifier is that we can not really guarantee the order of verticies to be the same for every modifier evaluation. So what happens is that Cycles is confused by number of vertices to be the same, but order is different. This is not supported by motion blur. Issues with CUDA is likely due to so called TDR, because the final topology gets corrupted, which makes every pixel to render really slow. See https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html#the-nvidia-opengl-driver-lost-connection-with-the-display-driver
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
2 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#53490
No description provided.