VSE playback periodically refuses to work (Pulseaudio, OpenAL seems fine) #89045
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
11 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#89045
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Debian, stable, git build of Master from today.
(e 8 a 4bddef4ff) (I put spaces because the hash was auto-referencing another bug report.)
I'm not sure when this used to work, and am not sure how to diagnose it.
Playback in the VSE, while working, will periodically get into a state where it no longer plays. It will do a frame, then stop, while "pretending" it's still playing. The frame will progress only one forward then stay there, and the FPS stays showing in the corner of the preview.
Reloading blender will get it going again, but after some time it might happen again.
I don't have a minimal .blend to demonstrate this yet, but here is a video showing it.
Any time the play/pause are toggled I am either using the mouse or hitting spacebar.
(Also, I forgot to enable mouse-cursor in the recording, but you can see the red indicator of clicks, except when I'm using spacebar to toggle playback).
vokoscreen-2021-06-10_16-23-34.mp4
If I change the Audio Device from "Pulseaudio" to "OpenAL" in Preferences after opening. The problem didn't appeared after, but I have to check more and in a longer duration.
Added subscriber: @jaggz
#91201 was marked as duplicate of this issue
#90578 was marked as duplicate of this issue
#90271 was marked as duplicate of this issue
#89278 was marked as duplicate of this issue
#89179 was marked as duplicate of this issue
Added subscribers: @iss, @PratikPB2123
Problem seems similar to #88944 (Graph Editor - Multiple Windows Problem) (similar but not the same)
@iss , can you check this?
Added subscriber: @YohanLeDiraison
Added subscriber: @ChristofferHolmstedt
I'm not certain that I can reproduce it 100% of the times but I have been able to reproduce it multiple times in new blender projects. As soon as I save my blend file and reopens it again I don't experience any issue. If there is anything I can do to record trace logs or similar give me a pointer on how to setup the logging.
I had no issues with 2.92, it started with 2.93.
This sounds more like issue with sound playback with AV-sync enabled. Please check if this happens when you disable AV sync. You can do that in Playback menu under VSE timeline on left side. Set Sync to Play Every Frame.
In such case this would be duplicate of #88887, but that should be more limited to windows...
Added subscriber: @bugswriter
@iss I change Sync to Play every frame Image and It doesn't solve the whole thing but make it better.
I mean my preview is playing fine but audio is gone and changing it back to Sync to Audio again give me whole issue back.
Added subscriber: @neXyon
@neXyon This seems to be similar issue to #88887, but on Linux. Can you check this? I can check on live distro too but can't guarantee I will be able to reproduce.
I switch to "Play every frame" instead of "Sync to audio" at the file opening. It's complety useless in my case because the image & the soud are totaly unsynchronized with 6fps, so i can't work untill a potential lock.
I came back to "Sync to audio" and experience the lock one more time. At this moment, i swich to "Play every frame". The playback unlocked but with no sound. Returning to "Sync to audio" falled the playback into the lock. I try the following stuff, but doesn't unlock the playback :
The only way to unlock is to restart Blender.
I change the Audio Device from "Pulseaudio" to "OpenAL" in Preferences after opening. The problem didn't appeared after, but I have to check more and in a longer duration.
I just committed bugfixes for pulseaudio and I think that this particular issue could be solved there, could you try this build please (with Audio Device set to "Pulseaudio"): https://builder.blender.org/download/experimental/blender-3.0.0-alpha+master.a112adf16a06-linux.x86_64-release.tar.xz
Changed status from 'Needs Triage' to: 'Needs User Info'
I will try the suggested workarounds/fixes mid/end of August if no one else beats me to it.
VSE playback periodically refuses to workto VSE playback periodically refuses to work (Pulseaudio, OpenAL seems fine)Added subscribers: @kevinkelly, @lichtwerk, @drip, @RedRock, @slinkeepie
Added subscriber: @aronkvh
I just committed two more fixes for pulseaudio, I'm again not sure if they help, please check out a recent build of master (3.0.0 alpha), e.g.: https://builder.blender.org/download/experimental/blender-3.0.0-alpha+master.a217e043be2d-linux.x86_64-release.tar.xz
@neXyon I tested the linked experimental just now and can confirm that the bug still exists in version: 3.0.0 Alpha, branch: master, commit date: 2021-08-18 20:22, hash:
a217e043be
, type: releaseI have more time moving forward, if there is anything specifics I should test please tell me.
That's interesting, so are you saying that you can only reproduce this issue (with the latest build) with this file? Also: may I ask which distribution (+ version) you are on, is it Debian as well?
I'm on linux/debian based Kubuntu 20.04.3 LTS (Focal Fossa).
I'm not sure which file you are referring with "this file". To reproduce I start blender with the default start-up file and settings. I can only reproduce the bug with unsaved file, if I save and re-open it I cannot reproduce the bug.
To reproduce:
I'm starting to believe that it might be some timing issue with the automatic generation of proxies introduced 2.93. Today when I tried to reproduce the bug it only occurred when I used files at 1GB and it wasn't 100% reproducible anymore I'm afraid. Waiting until the proxy generation is done does not help but saving the project as .blend file and re-open it solves all my issues.
Version that works
Versions where I can reproduce the bug
You can turn off automatic proxy generation in preferences or add sound file without video to test this. I wouldn't think, that proxy system causes issues here.
Added subscriber: @Lexx
You are correct. I turned off automatic proxy generation and I was able to reproduce the problem in both earlier mentioned versions.
My biggest problem now is that I can't reproduce the issue 100% of the times, more like 25% or fewer of the tries. I will continue to look for patterns.
Added subscriber: @cowmix-1
FWIW, still a problem on master
e6fa74ffed
on Ubuntu 21.04 but the same commit for the M1 Mac works fine.This issue was referenced by
93c7e83b2a
This issue was referenced by
8324ac8457
Here is a build of D12564, a patch that hopefully deals with this bug finally. Please try if you can still reproduce the problem with it! https://builder.blender.org/download/patch/D12564/
This looks promising. It seems don't have the problem with this build. Normally I can trigger the bug pretty quick by scrubbing around, but this seems stable.
But I now have a specific blender file with video (tested save file from 2.92 and 2.93) that crashes blender. Don't know if this is related.
Thanks for testing, sounds good!
Hmm, this backtrace doesn't look related. You could try if the bug is present in the latest 3.0.0 alpha build that doesn't have the patch applied: https://builder.blender.org/download/daily/blender-3.0.0-alpha+master.276eebb27474-linux.x86_64-release.tar.xz If this build crashes, it's a separate issue.
This build also crashes. It's a separate issue.
Good to know, please report this as a separate bug. I'll just have someone else test this patch and then push it to master.
I can confirm it fixes the bug for me. I tried to reproduce the bug just now for 10 minutes with several different files and was not able to reproduce it with https://builder.blender.org/download/patch/D12564/
EDIT
Link to differential had wrong number and linked to a CSV export/editor changes that doesn't relate to this. Just so others do not get too confused ;)
Changed status from 'Needs User Info' to: 'Resolved'
I just pushed the fix to master, thanks for checking!
Added subscriber: @ChrisHoppe