Sequencer: Driver on any strip property does not invalidate its cache [prefetch frames] #82776
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#82776
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: Darwin-18.6.0-x86_64-i386-64bit 64 Bits
Graphics card: Intel Iris OpenGL Engine Intel Inc. 4.1 INTEL-12.9.22
Blender Version
Broken: version: 2.83.9, branch: master, commit date: 2020-11-11 06:30, hash:
4abfc0bcd5
Worked: (newest version of Blender that worked as expected)
Short description of error
Sequencer: Driver on any strip property does not invalidate its cache [prefetch frames]
This can be any driver on any driven strip property:
Does not matter which property is the driving property (could be x Location of default cube as well)
Exact steps for others to reproduce the error
#82776.blend
driven
strips opacity is driven by Cube 's X locationOriginal report:
Short description of error
Driver on
wipe.effect_fader
doesn't invalidate cache for driven wipe sequences. It's only invalidates the cache of the currently displayed wipe. This leads to display errors.NB: The issue is the same for any other parameter (e.g angle, blur...)
Exact steps for others to reproduce the error
effect_fader
value driven. Prefetch is enabled.effect_fader
value of the driving wipe, its cache is reloaded, but not the cache of the driven one.Added subscriber: @Miadim
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @lichtwerk
This can be any driver on any driven strip property:
#82776.blend
Does not matter which property is the driving property (could be x Location of default cube as well)
Sequencer: Driver on wipe.effect_fader doesn't invalidate cache for driven wipe sequencesto Sequencer: Driver on any strip property does not invalidate its cache [prefetch frames]Added subscriber: @dr.sybren
The example file has a dependency cycle, so it's not a situation that is supported at the moment:
@lichtwerk your file also has a dependency cycle:
Oops, but like I said
So here is one that doesnt have a dependency cycle (but still has the bug)
#82776.blend
If I get this right, this also means that you cannot drive a strip with another strip. ever. right?
@dr.sybren I made this first example as a POC, but the issue remains the same with a custom FloatProperty driving a value. I don't think the circular dependency is the issue here.
Added subscriber: @Sergey
@Miadim a file that has an unsupported situation can't really be used as an example for a bug report. @lichtwerk's new file works fine.
There are no separate dependency graph nodes for each sequencer strip. It's also not desirable to create those, unless they're absolutely necessary, to keep the size of the depsgraph in check. This is something that could be looked at, at some point.
About the actual issue at hand (update of driver input value doesn't cause invalidation of sequencer cache), I think this is simply a known limitation, rather than a bug. @Sergey what do you think?
@dr.sybren I agree, I didn't notice this circular dependency when submitting, else I would have done it in another way. Sorry for that.
@dr.sybren I think there are two separate issues:
Issue #1: Dependency cycle caused by lack of granularity of strips. Solution which will keep the dependency graph size/complexity under control will be to treat such properties similar to ID property: for driven properties create corresponding node. This is more of an improvement than a bug.
Here is a quick demonstration of the idea (didn't have time to build it to scale or paint it though):
Issue #2: Lack of cache invalidation on driver changes. As Philipp mentioned, this happens in scenario without the dependency graph cycle as well. This is a bug. Although, can not give an immediate suggestion of a preferred fix for it at this time.