VSE: adding scene stripe resets animation of colour stripe with mask #98287

Open
opened 2022-05-20 13:39:20 +02:00 by forceengine · 13 comments

System Information
Operating system: Linux-5.13.0-41-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD RENOIR (DRM 3.41.0, 5.13.0-41-generic, LLVM 12.0.1) AMD 4.6 (Core Profile) Mesa 21.3.8 (git-813ee839be)

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
Worked: none tested

Short description of error
I have added a colour channel and applied a mask to it. I have created and animated a clock as UI element.
When I add the clock as scene stripe to the scene with the masked colour stripe, the mask of the colour strip is not applied correctly.

Exact steps for others to reproduce the error
I have no idea what really causes the issue or how I could reproduce it. See the attached blend file and video files.

Notes

  • When the clock strip is muted in the VSE overview, the problem does no longer exist. So I guess it's some weird interaction between the mask and the scene strip
  • The bug can be solved when you create a new scene and add the colour strip as scene strip and on top of that the clock strip. It works, but performance is incredibly bad.

Files

**System Information** Operating system: Linux-5.13.0-41-generic-x86_64-with-glibc2.33 64 Bits Graphics card: AMD RENOIR (DRM 3.41.0, 5.13.0-41-generic, LLVM 12.0.1) AMD 4.6 (Core Profile) Mesa 21.3.8 (git-813ee839be) **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Worked: none tested **Short description of error** I have added a colour channel and applied a mask to it. I have created and animated a clock as UI element. When I add the clock as scene stripe to the scene with the masked colour stripe, the mask of the colour strip is not applied correctly. **Exact steps for others to reproduce the error** I have no idea what really causes the issue or how I could reproduce it. See the attached blend file and video files. **Notes** - When the clock strip is muted in the VSE overview, the problem does no longer exist. So I guess it's some weird interaction between the mask and the scene strip - The bug can be solved when you create a new scene and add the colour strip as scene strip and on top of that the clock strip. It works, but performance is incredibly bad. **Files** - The actual output: [bug 01.mp4](https://archive.blender.org/developer/F13094245/bug_01.mp4) - How it should look like: [bug 02.mp4](https://archive.blender.org/developer/F13094246/bug_02.mp4) - blend file: [bug.blend](https://archive.blender.org/developer/F13094247/bug.blend)
Author

Added subscriber: @forceengine

Added subscriber: @forceengine
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

It seems the file does not include the images necessary to make the clock, so I can't exactly replicate the sequence. Can you pack into the file or attach the necessary images?

It seems there is a depsgraph error, not sure if it related. Will check when we get the file.

add_relation(Sequence Scene Audio -> Sequencer) - Could not find op_from (ComponentKey(SCclock, AUDIO))
add_relation(Sequence Scene Audio -> Sequencer) - Failed, but op_to (ComponentKey(SCbug, SEQUENCER)) was ok
It seems the file does not include the images necessary to make the clock, so I can't exactly replicate the sequence. Can you pack into the file or attach the necessary images? It seems there is a depsgraph error, not sure if it related. Will check when we get the file. ``` add_relation(Sequence Scene Audio -> Sequencer) - Could not find op_from (ComponentKey(SCclock, AUDIO)) add_relation(Sequence Scene Audio -> Sequencer) - Failed, but op_to (ComponentKey(SCbug, SEQUENCER)) was ok ```

Added subscriber: @iss

Added subscriber: @iss

I often see errors mentioned above, but these do not affect image output.

@forceengine does this issue persist when you reopen .blend file? I can't reproduce this issue here.

I often see errors mentioned above, but these do not affect image output. @forceengine does this issue persist when you reopen .blend file? I can't reproduce this issue here.
Author

In #98287#1362823, @OmarEmaraDev wrote:
It seems the file does not include the images necessary to make the clock, so I can't exactly replicate the sequence. Can you pack into the file or attach the necessary images?

@OmarEmaraDev
Sorry, tired me forgot that the files are linked in blender. This zip file should include every file needed for the animation.

bug archive.zip

Regarding the animation: The first part of the animation of the red and masked colour layer has finished before the clock starts to expand.
When the clock starts to expand, the mask flickers. When the clock has expanded all the way and does no longer change it's size, the mask looks as it should.
The error also is visible with single image rendering.
If you go through the frames one after the other with Alt + mouse wheel it looks like as if the animation of the colour layer was reset.

@iss Yes, the bug also occurs when I reopen the file. It can be reproduced every time.
I did a quick scene render (extract files -> render animation) after I created the archive in this post and I got the same bug again.

EDIT: I just tested this bug on Windows. I get the same bug in the preview window on Windows, but the rendered Video looks ok.
However, a rendered single frame does show the same bug like in the viewport (I always thought that Eevee VSE gives you the same result for movies and single frames.)

A single frame direct from VSE (F12 + Alt+S). The clock is almost at it's full size. What you see is the 'reset' effect that seems to be caused in the viewpor and single rednered frames.
Windows.png

> In #98287#1362823, @OmarEmaraDev wrote: > It seems the file does not include the images necessary to make the clock, so I can't exactly replicate the sequence. Can you pack into the file or attach the necessary images? @OmarEmaraDev Sorry, tired me forgot that the files are linked in blender. This zip file should include every file needed for the animation. [bug archive.zip](https://archive.blender.org/developer/F13103140/bug_archive.zip) Regarding the animation: The first part of the animation of the red and masked colour layer has finished *before* the clock starts to expand. When the clock starts to expand, the mask flickers. When the clock has expanded all the way and does no longer change it's size, the mask looks as it should. The error also is visible with single image rendering. If you go through the frames one after the other with Alt + mouse wheel it looks like as if the animation of the colour layer was reset. @iss Yes, the bug also occurs when I reopen the file. It can be reproduced every time. I did a quick scene render (extract files -> render animation) after I created the archive in this post and I got the same bug again. EDIT: I just tested this bug on Windows. I get the same bug in the preview window on Windows, but the rendered Video looks ok. However, a rendered single frame does show the same bug like in the viewport (I always thought that Eevee VSE gives you the same result for movies and single frames.) A single frame direct from VSE (F12 + Alt+S). The clock is almost at it's full size. What you see is the 'reset' effect that seems to be caused in the viewpor and single rednered frames. ![Windows.png](https://archive.blender.org/developer/F13103485/Windows.png)

I am checking on Windows, so this could be the reason for me not being able to reproduce. From videos in description it looked to me that issue is flickering of animated color strip. I don't understand how can I see the issue from provided still frame in comment above - what frame number is that? Looks like frame 61, which is what I see in preview. Is that incorrect?

If I can reproduce on windows, it would help a lot, because I don't have linux machine with dev environment set up.

I am checking on Windows, so this could be the reason for me not being able to reproduce. From videos in description it looked to me that issue is flickering of animated color strip. I don't understand how can I see the issue from provided still frame in comment above - what frame number is that? Looks like frame 61, which is what I see in preview. Is that incorrect? If I can reproduce on windows, it would help a lot, because I don't have linux machine with dev environment set up.
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

I can reproduce the issue. What seems to be happening is that the red color strips have animations that sometimes gets evaluated at the active scene frame and sometimes gets evaluated at the frame of the scene of the scene strip of the clock.
While they should always be evaluated at the frame of the active scene as far as I can tell.

I can reproduce the issue. What seems to be happening is that the red color strips have animations that sometimes gets evaluated at the active scene frame and sometimes gets evaluated at the frame of the scene of the scene strip of the clock. While they should always be evaluated at the frame of the active scene as far as I can tell.
Author

In #98287#1363806, @iss wrote:
I don't understand how can I see the issue from provided still frame in comment above - what frame number is that? Looks like frame 61, which is what I see in preview. Is that incorrect?

If I can reproduce on windows, it would help a lot, because I don't have linux machine with dev environment set up.

Yes, it looks like frame 61. Since the bug does not show up on Windows when you render a video, but does show up when you render a single frame and in the viewport, the bug can sorta be reproduced on windows. The still frame shows that it's sorta possible since when the clock does expand, the colour strip is not animated and should keep it's size.

Regarding a Linux machine: I don't know how much time and/or effort you want to put into this, but you could use a live USB Linux distro, download blender from flatpak/snap or as AppImage and test it there. It for sure is not a good setup at all if you want to test more than this bug. This is at least how I tested the few bugs I reported before I got my Linux machine.

In #98287#1363953, @OmarEmaraDev wrote:
What seems to be happening is that the red color strips have animations that sometimes gets evaluated at the active scene frame and sometimes gets evaluated at the frame of the scene of the scene strip of the clock.
While they should always be evaluated at the frame of the active scene as far as I can tell.

This sounds about right. If you remove the mask from the colour stripe you can see better what happens:
010001-0170.mp4

> In #98287#1363806, @iss wrote: > I don't understand how can I see the issue from provided still frame in comment above - what frame number is that? Looks like frame 61, which is what I see in preview. Is that incorrect? > > If I can reproduce on windows, it would help a lot, because I don't have linux machine with dev environment set up. Yes, it looks like frame 61. Since the bug does not show up on Windows when you *render a video*, but does show up when you render a single frame and in the viewport, the bug can sorta be reproduced on windows. The still frame shows that it's sorta possible since when the clock does expand, the colour strip is not animated and should keep it's size. Regarding a Linux machine: I don't know how much time and/or effort you want to put into this, but you could use a live USB Linux distro, download blender from flatpak/snap or as AppImage and test it there. It for sure is not a good setup at all if you want to test more than this bug. This is at least how I tested the few bugs I reported before I got my Linux machine. > In #98287#1363953, @OmarEmaraDev wrote: > What seems to be happening is that the red color strips have animations that sometimes gets evaluated at the active scene frame and sometimes gets evaluated at the frame of the scene of the scene strip of the clock. > While they should always be evaluated at the frame of the active scene as far as I can tell. This sounds about right. If you remove the mask from the colour stripe you can see better what happens: [010001-0170.mp4](https://archive.blender.org/developer/F13110468/010001-0170.mp4)

@forceengine Yes I can check on Linux, but not really debug at least easily. But since you report different OS to be working correctly which implies different settings, can you check if you have disk cache enabled on Linux installation and if issue will happen when you disable it?

@forceengine Yes I can check on Linux, but not really debug at least easily. But since you report different OS to be working correctly which implies different settings, can you check if you have disk cache enabled on Linux installation and if issue will happen when you disable it?

But I can reproduce difference in color strip animation when scene strip is enabled/disabled, so I guess this would be enough to investigate.

But I can reproduce difference in color strip animation when scene strip is enabled/disabled, so I guess this would be enough to investigate.
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:31 +01:00
Sergey Sharybin added
Type
Bug
and removed
Type
Report
labels 2023-02-16 11:59:08 +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
3 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#98287
No description provided.