VSE: Prefetch Cache makes Blender hang #79497

Closed
opened 3 years ago by tintwotin · 19 comments

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

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-03 05:14, hash: 144f780c71

Short description of error
Using Prefetch cache makes Blender highly unstable and then hang.

Exact steps for others to reproduce the error

  • Play some edited video in the Sequencer which the Prefetch cache can't keep up with.
  • Move the cursor out of Blender and then back(?)
  • The wait-mouse-cursor will show, the screen will go milky-white and then Blender hangs.

[.blend and video removed, as it was not considered useful]

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 26.20.100.7262 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-03 05:14, hash: `144f780c71` **Short description of error** Using Prefetch cache makes Blender highly unstable and then hang. **Exact steps for others to reproduce the error** - Play some edited video in the Sequencer which the Prefetch cache can't keep up with. - Move the cursor out of Blender and then back(?) - The wait-mouse-cursor will show, the screen will go milky-white and then Blender hangs. [.blend and video removed, as it was not considered useful]
Poster

Added subscriber: @tintwotin

Added subscriber: @tintwotin
Collaborator

#79508 was marked as duplicate of this issue

#79508 was marked as duplicate of this issue
iss commented 3 years ago
Collaborator

Added subscriber: @iss

Added subscriber: @iss
iss commented 3 years ago
Collaborator

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

Changed status from 'Needs Triage' to: 'Needs User Info'
iss commented 3 years ago
Collaborator

Does this happen when you click on File > Defaults > Load Factory Settings? Also aren't you running out of RAM? I see playhead skipping over cached areas, also the lag when turning on prefetch is quite suspicious.

Can not reproduce crash though. Can you run Blender via blender_debug_log.cmd file and look into blender_debug_output.txt file that will be created. In the end there should be crash file mentioned. Can you upload I guess all those files?

Does this happen when you click on File > Defaults > Load Factory Settings? Also aren't you running out of RAM? I see playhead skipping over cached areas, also the lag when turning on prefetch is quite suspicious. Can not reproduce crash though. Can you run Blender via `blender_debug_log.cmd` file and look into `blender_debug_output.txt` file that will be created. In the end there should be crash file mentioned. Can you upload I guess all those files?
Poster

Goes unresponsive until Windows suggests to shut Blender down:

[reports removed, as they were not considered useful]

I hope you noticed I've uploaded the .blend above, so you can try for yourself.

Goes unresponsive until Windows suggests to shut Blender down: [reports removed, as they were not considered useful] I hope you noticed I've uploaded the .blend above, so you can try for yourself.
Poster

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

Changed status from 'Needs User Info' to: 'Needs Triage'
iss commented 3 years ago
Collaborator

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

Changed status from 'Needs Triage' to: 'Confirmed'
iss commented 3 years ago
Collaborator

I have tried to reproduce with provided .blend file.

Thanks for crash backtrace, it looks I accidentally removed previous fix for this in refactoring patch.

Now I am not sure why it is executed, but this crash is caused by running delete operator. I guess this could be caused by some addon?

I have tried to reproduce with provided .blend file. Thanks for crash backtrace, it looks I accidentally removed previous fix for this in refactoring patch. Now I am not sure why it is executed, but this crash is caused by running delete operator. I guess this could be caused by some addon?
Collaborator

This issue was referenced by 1ccb997c6d

This issue was referenced by 1ccb997c6dadaf175a65c466ea87d35a017e3f1f
iss commented 3 years ago
Collaborator

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
iss closed this issue 3 years ago
iss self-assigned this 3 years ago
iss commented 3 years ago
Collaborator

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Poster

This problem is not solved in the 2.91 Alpha build from last night(which includes the "delete" fix). Tested by using the same .blend above. First playing without Prefetch Cache and then with - it ends up milky-white and hanging:

[video removed, as it was not considered useful]

This problem is not solved in the 2.91 Alpha build from last night(which includes the "delete" fix). Tested by using the same .blend above. First playing without Prefetch Cache and then with - it ends up milky-white and hanging: [video removed, as it was not considered useful]
iss commented 3 years ago
Collaborator

Can you then upload new crash file? The one you gave me crashed in delete operator

Can you then upload new crash file? The one you gave me crashed in delete operator
Poster

Actually, it doesn't seem to produce a crash report - as shown in the video, it hangs until the process is killed.

Debug logs:
[reports removed, as they were not considered useful]

Actually, it doesn't seem to produce a crash report - as shown in the video, it hangs until the process is killed. Debug logs: [reports removed, as they were not considered useful]
tintwotin changed title from VSE: Prefetch Cache makes Blender crash to VSE: Prefetch Cache makes Blender hang 3 years ago
Poster

As this bug-report is now closed and it seems to be unrelated to the delete bug, do I have to make a new report, or can this one be reopened?

As this bug-report is now closed and it seems to be unrelated to the delete bug, do I have to make a new report, or can this one be reopened?
iss commented 3 years ago
Collaborator

Probably it would be better to make new report. But please make sure you test this without addons. This could be even issue with GPU somehow, there are some issues with intel GPUs not working optimally, so make sure you have latest drivers as well.

Probably it would be better to make new report. But please make sure you test this without addons. This could be even issue with GPU somehow, there are some issues with intel GPUs not working optimally, so make sure you have latest drivers as well.
Poster

This is the same bug, as this user encountered here: https://youtu.be/56XaahF5QMw?t=237
It's still not fixed.

As matter of fact if I play the same file in 2.79 it plays with 24 fps, if I play the same file with Prefetch Frames ON in 2.92 it only plays 7-10 fps.

This is the same bug, as this user encountered here: https://youtu.be/56XaahF5QMw?t=237 It's still not fixed. As matter of fact if I play the same file in 2.79 it plays with 24 fps, if I play the same file with Prefetch Frames ON in 2.92 it only plays 7-10 fps.
iss commented 2 years ago
Collaborator

I don't see any connection between posted video and this particular report. If there is bug please create new report.

I don't see any connection between posted video and this particular report. If there is bug please create new report.
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Sculpt, Paint & Texture
legacy module/User Interface
legacy module/VFX & Video
legacy project/BF Blender: 2.8
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/OpenGL Error
legacy project/Retrospective
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#79497
Loading…
There is no content yet.