Sequencer window not updating whilst playing animation #79619

Closed
opened 2020-08-07 13:02:48 +02:00 by ChristopherAnderssarian · 15 comments

System Information
Operating system: Windows 7
GPU: Radeon Vega 64
GPU Software Version: 20.4.2 (2020.0515.1537.28108)
CPU: Intel Core i7-5960X

Blender Version(s)
(listed are versions tested)

Working: 2.79 (sub 00), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68b, type: Release, build date: 2018-03-22, 09:59 AM
Working: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f54494e, type: Release, build date: 2019-07-29, 09:44 AM
Working: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: 26bd5ebd42e3, type: Release, build date: 2019-11-20, 16:33:00
Working: 2.82 (sub 07), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd76f, type: Release, build date: 2020-02-13, 01:56:46
Working: 2.83.3 LTS, branch: master, commit date: 2020-07-22 06:01, hash: 353e5bd7493e, type: Release, build date: 2020-07-22, 04:04:56
Broken: blender-2.90.0-4f59e4bddcb0-windows64 (BF Build Bot)
Broken: blender-2.91.0-21fec9513969-windows64 (BF Build Bot)

Short description of error

The Sequencer window doesn't update when playing animation.

Untitled.png

Exact steps for others to reproduce the error

Open and play

Sequencer_not_updating.blend

**System Information** Operating system: Windows 7 GPU: Radeon Vega 64 GPU Software Version: 20.4.2 (2020.0515.1537.28108) CPU: Intel Core i7-5960X **Blender Version(s)** *(listed are versions tested)* Working: `2.79 (sub 00), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68b, type: Release, build date: 2018-03-22, 09:59 AM` Working: `2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f54494e, type: Release, build date: 2019-07-29, 09:44 AM` Working: `2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: 26bd5ebd42e3, type: Release, build date: 2019-11-20, 16:33:00` Working: `2.82 (sub 07), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd76f, type: Release, build date: 2020-02-13, 01:56:46` Working: `2.83.3 LTS, branch: master, commit date: 2020-07-22 06:01, hash: 353e5bd7493e, type: Release, build date: 2020-07-22, 04:04:56` Broken: ` blender-2.90.0-4f59e4bddcb0-windows64` (BF Build Bot) Broken: ` blender-2.91.0-21fec9513969-windows64` (BF Build Bot) **Short description of error** The Sequencer window doesn't update when playing animation. ![Untitled.png](https://archive.blender.org/developer/F8755419/Untitled.png) **Exact steps for others to reproduce the error** Open and play [Sequencer_not_updating.blend](https://archive.blender.org/developer/F8755415/Sequencer_not_updating.blend)

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian
Member

Added subscribers: @iss, @Jeroen-Bakker, @lichtwerk

Added subscribers: @iss, @Jeroen-Bakker, @lichtwerk
Member

Cannot reproduce here

System Information
Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100
version: 2.91.0 Alpha, branch: master, commit date: 2020-08-07 09:39, hash: 4ba9d7d71e

might be a GPU thingie?

CC @Jeroen-Bakker : do you have access to a Radeon Vega 64?
CC @iss

Cannot reproduce here **System Information** Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 version: 2.91.0 Alpha, branch: master, commit date: 2020-08-07 09:39, hash: `4ba9d7d71e` might be a GPU thingie? CC @Jeroen-Bakker : do you have access to a Radeon Vega 64? CC @iss

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

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

I assume this would be broken by cc3e808ab4

I assume this would be broken by cc3e808ab4
Member

Just out of curiosity: what exactly is not updating (seems I still cannot reproduce)?

  • The playhead, the preview window not updating the colors? Timeline header not updating the current frame?
Just out of curiosity: what exactly is not updating (seems I still cannot reproduce)? - The playhead, the preview window not updating the colors? Timeline header not updating the current frame?

In #79619#992614, @lichtwerk wrote:
Just out of curiosity: what exactly is not updating (seems I still cannot reproduce)?

  • The playhead, the preview window not updating the colors? Timeline header not updating the current frame?

It is backdrop in timeline. It should show ssame thing as preview, but under strips.
Also cache "indicator" is not updated.

> In #79619#992614, @lichtwerk wrote: > Just out of curiosity: what exactly is not updating (seems I still cannot reproduce)? > - The playhead, the preview window not updating the colors? Timeline header not updating the current frame? It is backdrop in timeline. It should show ssame thing as preview, but under strips. Also cache "indicator" is not updated.

@lichtwerk Nothing (Cache display, Colour Strips changing, Backdrop, etc..) updates apart from the play head.

@lichtwerk Nothing (Cache display, Colour Strips changing, Backdrop, etc..) updates apart from the play head.
Member

Ahh... get it, sorry for the noise, have it too...

Caused by bbb2e0614f though

Ahh... get it, sorry for the noise, have it too... Caused by bbb2e0614f though

We could draw cache as overlay, not sure about backdrop.

I don't think that content of timeline should be dynamic during playback. only reason why for example animated color strip do change color is that I don't have animation cache that would allow me to draw gradient.

There may be some scenarios of using tools during playback though but that is future.

We could draw cache as overlay, not sure about backdrop. I don't think that content of timeline should be dynamic during playback. only reason why for example animated color strip do change color is that I don't have animation cache that would allow me to draw gradient. There may be some scenarios of using tools during playback though but that is future.
Member

I'd say both backdrop is mandatory.

Just dropping the quick-and-dirty fix [which is just disabling the non-redraw optimization for the sequencer], (maybe just for 2.90 release)
P1575: T79619_snippet



diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index f4d36a15d30..b002b23a7f3 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -4414,7 +4414,7 @@ static void screen_animation_region_tag_redraw(ScrArea *area,
    * We do need to redraw when this area is in full screen as no other areas
    * will be tagged for redrawing. */
   if ((region->regiontype == RGN_TYPE_WINDOW) &&
-      (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION, SPACE_SEQ)) && !area->full) {
+      (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION)) && !area->full) {
     return;
   }
   ED_region_tag_redraw(region);
I'd say both backdrop is mandatory. Just dropping the quick-and-dirty fix [which is just disabling the non-redraw optimization for the sequencer], (maybe just for 2.90 release) [P1575: T79619_snippet](https://archive.blender.org/developer/P1575.txt) ``` diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index f4d36a15d30..b002b23a7f3 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -4414,7 +4414,7 @@ static void screen_animation_region_tag_redraw(ScrArea *area, * We do need to redraw when this area is in full screen as no other areas * will be tagged for redrawing. */ if ((region->regiontype == RGN_TYPE_WINDOW) && - (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION, SPACE_SEQ)) && !area->full) { + (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION)) && !area->full) { return; } ED_region_tag_redraw(region); ```
Member

Not sure how important the cache display is. It was also discussed during the patch. If this is really important we should make the cache drawing more performant and then move it to the overlaydrawing.

For the drop we can go one level deeper and check if it is enabled. It is most of the time not the way users work with the sequencer. It should be a small adjustment to the quick fix above.

In stead of searching we could also add a flag in sequencer runtime. And check this flag if it should be supported. I’m fine to apply the quick fix for now and do the optimizations in 2.91

Not sure how important the cache display is. It was also discussed during the patch. If this is really important we should make the cache drawing more performant and then move it to the overlaydrawing. For the drop we can go one level deeper and check if it is enabled. It is most of the time not the way users work with the sequencer. It should be a small adjustment to the quick fix above. In stead of searching we could also add a flag in sequencer runtime. And check this flag if it should be supported. I’m fine to apply the quick fix for now and do the optimizations in 2.91

In #79619#993281, @Jeroen-Bakker wrote:
Not sure how important the cache display is.

I mean, it can mislead users into thinking that the cache is not working correctly but the once they realise it's just the drawing of it, they interact with the timeline just to get up-to-date information and that feels wrong to me...

> In #79619#993281, @Jeroen-Bakker wrote: > Not sure how important the cache display is. I mean, it can mislead users into thinking that the cache is not working correctly but the once they realise it's just the drawing of it, they interact with the timeline just to get up-to-date information and that feels wrong to me...

This issue was referenced by f15d33d585

This issue was referenced by f15d33d585d0c98f29aff3dee1e77c79e84c24c0
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jeroen Bakker self-assigned this 2020-08-10 09:30:20 +02:00
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:25:41 +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
5 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#79619
No description provided.