Optix fails to render an object scaled to zero with armature modifier and motion blur enabled #98497

Closed
opened 2022-05-30 15:12:14 +02:00 by Marcin Twarowski · 16 comments

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

Tested also on:

NVIDIA TITAN RTX/PCIe/SSE2 4.5.0 NVIDIA 512.96
3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: 2161a892519e, type: release build date: 2022-06-08, 00:04:42
Windows-10-10.0.19042-SP0

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-29 19:25, hash: 3c0d7152c8
Also broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c

Short description of error
Object has animated scale from 0 to 1. It has armature modifier. Motion blur is on. Rendering the first frame where object has scale 0,0,0 using Optix causes Blender to hang. Rendering with Cuda is fine. CPU rendering also works.

Exact steps for others to reproduce the error

EDIT: Here's an example that fails with RTX 3080 ti. This one is using geometry nodes:
geometry_nodes_optix_bug.blend

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95 Tested also on: ``` NVIDIA TITAN RTX/PCIe/SSE2 4.5.0 NVIDIA 512.96 3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: 2161a892519e, type: release build date: 2022-06-08, 00:04:42 Windows-10-10.0.19042-SP0 ``` **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-29 19:25, hash: `3c0d7152c8` Also broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` **Short description of error** Object has animated scale from 0 to 1. It has armature modifier. Motion blur is on. Rendering the first frame where object has scale 0,0,0 using Optix causes Blender to hang. Rendering with Cuda is fine. CPU rendering also works. **Exact steps for others to reproduce the error** - See attached file. [optix_zero_scale_motion_blur_bug.blend](https://archive.blender.org/developer/F13123034/optix_zero_scale_motion_blur_bug.blend) - Make sure you are set to Optix and GPU in Edit > Preferences > System. - Start rendering frame 1 where cube is scaled to 0. EDIT: Here's an example that fails with RTX 3080 ti. This one is using geometry nodes: [geometry_nodes_optix_bug.blend](https://archive.blender.org/developer/F13303827/geometry_nodes_optix_bug.blend)

Added subscriber: @MarcinTwarowski

Added subscriber: @MarcinTwarowski

I have impression that this report fell through the cracks :)

I have impression that this report fell through the cracks :)

Added subscriber: @iss

Added subscriber: @iss

I wasn't able to reproduce with
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.650
Tested with same 3.3 build

Untitled.png

I wasn't able to reproduce with Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.650 Tested with same 3.3 build ![Untitled.png](https://archive.blender.org/developer/F13137093/Untitled.png)

Just tested with

Windows-10-10.0.19044-SP0 64 Bits
NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95

Renders without a problem. Maybe it's a problem with older cards then. I'll test 1080 again tomorrow with newest build.

Just tested with ``` Windows-10-10.0.19044-SP0 64 Bits NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95 ``` Renders without a problem. Maybe it's a problem with older cards then. I'll test 1080 again tomorrow with newest build.

@iss Tested on 1080 with today's build and it's the same. Blender stops responding.

3.3.0 Alpha, branch: master, commit date: 2022-06-07 18:08, hash: `rB173a15bcda8f`

Also tested with:

NVIDIA TITAN RTX/PCIe/SSE2 4.5.0 NVIDIA 512.96
3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: 2161a892519e, type: release build date: 2022-06-08, 00:04:42
Windows-10-10.0.19042-SP0

Same problem. Blender starts thinking but nothing happens.

@iss Tested on 1080 with today's build and it's the same. Blender stops responding. ``` 3.3.0 Alpha, branch: master, commit date: 2022-06-07 18:08, hash: `rB173a15bcda8f` ``` Also tested with: ``` NVIDIA TITAN RTX/PCIe/SSE2 4.5.0 NVIDIA 512.96 3.2.0, branch: master, commit date: 2022-06-07 18:03, hash: 2161a892519e, type: release build date: 2022-06-08, 00:04:42 Windows-10-10.0.19042-SP0 ``` Same problem. Blender starts thinking but nothing happens.

Added subscriber: @rjg

Added subscriber: @rjg

@rjg can you check this?

@rjg can you check this?

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

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

@iss I can confirm that it hangs when rendering on a NVIDIA GeForce 1080 Ti with OptiX.

@iss I can confirm that it hangs when rendering on a NVIDIA GeForce 1080 Ti with OptiX.

Added subscribers: @pmoursnv, @brecht

Added subscribers: @pmoursnv, @brecht

CC @pmoursnv.

CC @pmoursnv.
Member

This is a driver bug that will take some time to address. AS building can currently hang when an object has all vertices zeroed out and a motion transform is applied on it (motion blur enabled).
This doesn't usually happen as an object scaled to zero still retains its vertices, just with a transform on top to scale, but with the armature it will actually apply to the vertex data (during animation in Blender, before those are retrieved by Cycles, so is difficult to work around in Cycles).

This is a driver bug that will take some time to address. AS building can currently hang when an object has all vertices zeroed out and a motion transform is applied on it (motion blur enabled). This doesn't usually happen as an object scaled to zero still retains its vertices, just with a transform on top to scale, but with the armature it will actually apply to the vertex data (during animation in Blender, before those are retrieved by Cycles, so is difficult to work around in Cycles).
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58

Here's an example that fails with RTX 3080 ti. This one is using geometry nodes:
geometry_nodes_optix_bug.blend

Here's an example that fails with RTX 3080 ti. This one is using geometry nodes: [geometry_nodes_optix_bug.blend](https://archive.blender.org/developer/F13303827/geometry_nodes_optix_bug.blend)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:03:49 +01:00
Member

Fixed in Windows driver 531.18+, Linux driver 530.30.02+.

Fixed in Windows driver 531.18+, Linux driver 530.30.02+.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-03-07 12:50:32 +01:00
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
6 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#98497
No description provided.