VSE Low Playback Rate: Show Cache On will cause a lower fps #70229

Closed
opened 2019-09-25 09:45:28 +02:00 by tintwotin · 16 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449

Having Show Cache On will give a lower fps(gif):
cache draw.gif

Play a heavy video clip in the VSE and notice the difference in frame rate when switching the Show Cache on/off.

System Information Operating system: Windows-10-10.0.17763 64 Bits Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 24.20.100.6137 Blender Version Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449 Having Show Cache On will give a lower fps(gif): ![cache draw.gif](https://archive.blender.org/developer/F7772925/cache_draw.gif) Play a heavy video clip in the VSE and notice the difference in frame rate when switching the Show Cache on/off.
Author

Added subscriber: @tintwotin

Added subscriber: @tintwotin

#69927 was marked as duplicate of this issue

#69927 was marked as duplicate of this issue

Added subscribers: @iss, @ChristopherAnderssarian

Added subscribers: @iss, @ChristopherAnderssarian
Richard Antalik was assigned by ChristopherAnderssarian 2019-09-25 11:13:12 +02:00

@tintwotin, @iss already re-opened #69927#781641 wouldn't have thought we need another report...

@tintwotin, @iss already re-opened #69927#781641 wouldn't have thought we need another report...

Added subscriber: @brecht

Added subscriber: @brecht

Please use the template and provide all the requested information, even if you're a developer.
https://developer.blender.org/maniphest/task/edit/form/1/

Please use the template and provide all the requested information, even if you're a developer. https://developer.blender.org/maniphest/task/edit/form/1/

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Author

Could we have Show Cache switched off as the default setting until this is resolved?

Could we have Show Cache switched off as the default setting until this is resolved?

Not sure of cost vs. benefit here. Performance loss is nowhere near cross vs alpha over.

most likely on recent machines not even noticable

Not sure of cost vs. benefit here. Performance loss is nowhere near cross vs alpha over. most likely on recent machines not even noticable
Author

Well, users shouldn't have to deal with cache in the first place - is should work unnoticeable - so being able watch the cache working is imo mainly a developer/debugging tool - and therefore should be off as the default setting.

That said, the slow playback performance of the VSE is a real problem, and has always been. You will not find any video editor out there with a slower playback rate than Blender. Not dealing with regressions which makes the playback even worse is imo not the way to attract more users.

It should also be noted that this regression multiplies, when adding more instances of the Sequencer area: #69927

Well, users shouldn't have to deal with cache in the first place - is should work unnoticeable - so being able watch the cache working is imo mainly a developer/debugging tool - and therefore should be off as the default setting. That said, the slow playback performance of the VSE is a real problem, and has always been. You will not find any video editor out there with a slower playback rate than Blender. Not dealing with regressions which makes the playback even worse is imo not the way to attract more users. It should also be noted that this regression multiplies, when adding more instances of the Sequencer area: #69927
Richard Antalik was unassigned by Dalai Felinto 2019-12-23 13:49:25 +01:00

I think it makes some sense to disable the cache visualization by default if it really has a significant performance impact.

In principle it should be possible to make drawing it really fast. For OpenGL it might be most efficient to allocate a 1D texture and draw it with nearest interpolation. Updating only the part that changed is possible as well. But it's not a trivial change.

I think it makes some sense to disable the cache visualization by default if it really has a significant performance impact. In principle it should be possible to make drawing it really fast. For OpenGL it might be most efficient to allocate a 1D texture and draw it with nearest interpolation. Updating only the part that changed is possible as well. But it's not a trivial change.
Author

Having the "Show Cache" on actually causes a serious drop in fps over time - in ca. 20 sec 40 fps are lost(from 60 fps to 20 fps) - looks like a regression?
This does not happen when "Show Cache" is off.
Draw_Cache_fps_drop.gif

Having the "Show Cache" on actually causes a serious drop in fps over time - in ca. 20 sec 40 fps are lost(from 60 fps to 20 fps) - looks like a regression? This does not happen when "Show Cache" is off. ![Draw_Cache_fps_drop.gif](https://archive.blender.org/developer/F8335982/Draw_Cache_fps_drop.gif)

As requested by @tintwotin :

VSE Cache (view) on vs off.png
Data sourced from 2019_03_31_001-edit.mp4.blend

This is a snippet from Spring.

TL;DR

Cache on ~100fps
Cache off ~130fps

As requested by @tintwotin [: ](https://docs.google.com/spreadsheets/d/1p8Yei5icO-K8aCybtvH4wHx3_xzSqDZSsbyfgzC7sbQ/edit?usp=sharing) ![VSE Cache (view) on vs off.png](https://archive.blender.org/developer/F8337043/VSE_Cache__view__on_vs_off.png) Data sourced from [2019_03_31_001-edit.mp4.blend](https://archive.blender.org/developer/F8337045/2019_03_31_001-edit.mp4.blend) This is a snippet from Spring. ### TL;DR **Cache on ~100fps** **Cache off ~130fps**

Thanks for data,

I have patch almost ready for quite some time.. I just need to find shader for drawing - it wasn't immediately obvious how to do it.

Thanks for data, I have patch almost ready for quite some time.. I just need to find shader for drawing - it wasn't immediately obvious how to do it.

This issue was referenced by 18b693bdbd

This issue was referenced by 18b693bdbd6bac7c381e46aa4b95c3e81494855e

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2020-02-17 16:48:22 +01:00
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:39:38 +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#70229
No description provided.