Regression: Video sequencer screen corruption occurs when resizing #98620

Closed
opened 2022-06-06 02:25:24 +02:00 by Greg Suing · 41 comments

System Information
Operating system: Windows 11
Graphics card: Intel UHD Graphics 770

Blender Version
Broken: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-03 16:56, hash: 34f94a02f3, type: release
Worked: 3.0.x, 3.1.0

Short description of error
Video sequencer screen corruption occurs (random colored lines and rectangles) when resizing sequencer

Bisected to 439f86ac89.

Exact steps for others to reproduce the error

  1. launch Blender 3.2.0 Candidate (the same issue occurs in 3.3.0 alpha)
  2. choose Video Editing
  3. resize sequencer region by moving the splitter above the sequencer (corruption occurs - looks like uninitialized memory)
  4. resize the main application window to see more corruption that looks like uninitialized memory.

#98620.mp4

**System Information** Operating system: Windows 11 Graphics card: Intel UHD Graphics 770 **Blender Version** Broken: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-03 16:56, hash: 34f94a02f370, type: release Worked: 3.0.x, 3.1.0 **Short description of error** Video sequencer screen corruption occurs (random colored lines and rectangles) when resizing sequencer Bisected to 439f86ac89. **Exact steps for others to reproduce the error** 1. launch Blender 3.2.0 Candidate (the same issue occurs in 3.3.0 alpha) 2. choose Video Editing 3. resize sequencer region by moving the splitter above the sequencer (corruption occurs - looks like uninitialized memory) 4. resize the main application window to see more corruption that looks like uninitialized memory. [#98620.mp4](https://archive.blender.org/developer/F13135319/T98620.mp4)
Author

Added subscriber: @gsuing

Added subscriber: @gsuing

#98934 was marked as duplicate of this issue

#98934 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Hi, thanks for the report. I managed to reproduce this for once only (occurred right after I open the sequencer tab).
Could you upload screen recording to show us the exact steps?

Blender version: 3.3, 8589f60546b3
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1660```
Hi, thanks for the report. I managed to reproduce this for once only (occurred right after I open the sequencer tab). Could you upload screen recording to show us the exact steps? ```System Information: Blender version: 3.3, 8589f60546b3 Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1660```
Author
[#98620.mp4](https://archive.blender.org/developer/F13135319/T98620.mp4)
Author

The video shows the following steps:

  1. launch Blender 3.2.0 Candidate (the same issue occurs in 3.3.0 alpha)
  2. choose Video Editing
  3. resize sequencer region by moving the splitter above the sequencer (corruption occurs - looks like uninitialized memory)
  4. resize the main application window to see more corruption that looks like uninitialized memory.
The video shows the following steps: 1. launch Blender 3.2.0 Candidate (the same issue occurs in 3.3.0 alpha) 2. choose Video Editing 3. resize sequencer region by moving the splitter above the sequencer (corruption occurs - looks like uninitialized memory) 4. resize the main application window to see more corruption that looks like uninitialized memory.
Pratik Borhade changed title from Video sequencer screen corruption occurs when resizing to Regression: Video sequencer screen corruption occurs when resizing 2022-06-07 14:07:22 +02:00
Member

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

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

Thanks for the information. I managed to repro this again (but does not occur frequently)
Will mark this as confirmed for now.
Will also ask others if they can repro or not
image.png

Thanks for the information. I managed to repro this again (but does not occur frequently) Will mark this as confirmed for now. Will also ask others if they can repro or not ![image.png](https://archive.blender.org/developer/F13136695/image.png)
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

I can reproduce reliably every time on an older AMD GPU, though can't reproduce with software GL.

I can reproduce reliably every time on an older AMD GPU, though can't reproduce with software GL.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

I cannot reproduce this, tested on all three machines of mine (Windows+AMD, Windows+Intel, Mac+M1). No screen issues here. Tested with latest 3.2 build.

I cannot reproduce this, tested on all three machines of mine (Windows+AMD, Windows+Intel, Mac+M1). No screen issues here. Tested with latest 3.2 build.

Added subscriber: @iss

Added subscriber: @iss

Can't reproduce here. Since software GL works well, it's most likely issue is within GPU driver.

Not sure if I should lower priority, parhaps there is workaround, if origin of error is identified by bisecting. I assume this is not caused by VSE commit though so changed module tag to viewport.

Can't reproduce here. Since software GL works well, it's most likely issue is within GPU driver. Not sure if I should lower priority, parhaps there is workaround, if origin of error is identified by bisecting. I assume this is not caused by VSE commit though so changed module tag to viewport.
Member

Do you need me to bisect?

Do you need me to bisect?

Added subscriber: @fclem

Added subscriber: @fclem

@OmarEmaraDev If you have time you can bisect. I would ask @fclem if such effort would be helpful though.

@OmarEmaraDev If you have time you can bisect. I would ask @fclem if such effort would be helpful though.
Author

I can reliably reproduce this every time. I have a modern processor:

12th Gen Intel(R) Core(TM) i5-12600 3.30 GHz, 32Gb RAM

I can reliably reproduce this every time. I have a modern processor: 12th Gen Intel(R) Core(TM) i5-12600 3.30 GHz, 32Gb RAM
Member

Bisected to 439f86ac89.

Bisected to 439f86ac89.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Jeroen Bakker self-assigned this 2022-06-08 12:00:29 +02:00
Member

Should be done in master, add windows to the workaround.

Should be done in master, add windows to the workaround.

This issue was referenced by 23bce4a974

This issue was referenced by 23bce4a9749de034608f765c2e91aed19bff55ec

This issue was referenced by 7a751327fa

This issue was referenced by 7a751327fab1befb49cec68b82b0d9e98374e1c6
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Added subscriber: @georgK

Added subscriber: @georgK

Sorry for chiming in, but since this is so very similar, I was hoping that my issue could be solved in a similar way: https://developer.blender.org/T86686 (has been closed because nobody could reproduce it, but I see it in 3.2/3.3 every day - probably thanks to my old AMD card and mesa).
before this patch: commit date 2022-06-07 07-42, hash 4580c18c56f6.png
after this patch: commit date 2022-06-08 11-15, hash 7a751327fa.png (did not get worse, it is just different each time)
Sometimes, fractions of images can be recognized that were once on screen (but have been closed hours before starting Blender), so it seems like some buffer is not cleared. The gravity of the issue seems to be affected by the mesa driver version, but it was not present in 3.1.2

Sorry for chiming in, but since this is so very similar, I was hoping that my issue could be solved in a similar way: https://developer.blender.org/T86686 (has been closed because nobody could reproduce it, but I see it in 3.2/3.3 every day - probably thanks to my old AMD card and mesa). before this patch: ![commit date 2022-06-07 07-42, hash 4580c18c56f6.png](https://archive.blender.org/developer/F13138363/commit_date_2022-06-07_07-42__hash_4580c18c56f6.png) after this patch: ![commit date 2022-06-08 11-15, hash 7a751327fa.png](https://archive.blender.org/developer/F13138365/commit_date_2022-06-08_11-15__hash_rB7a751327fab1.png) (did not get worse, it is just different each time) Sometimes, fractions of images can be recognized that were once on screen (but have been closed hours before starting Blender), so it seems like some buffer is not cleared. The gravity of the issue seems to be affected by the mesa driver version, but it was not present in 3.1.2
Member

@georgK I also have the same issue on an older AMD GPU on Mesa, and the same workaround fixes the issue for me if applied on my GPU, so your problem can probably be solved in a similar way.

@georgK I also have the same issue on an older AMD GPU on Mesa, and the same workaround fixes the issue for me if applied on my GPU, so your problem can probably be solved in a similar way.
Author

Yay, this is fixed in the 3.3.0 Master D15134 branch. Thank you. Not seeing it fixed in 3.2.0 Stable yet.

Yay, this is fixed in the 3.3.0 Master [D15134](https://archive.blender.org/developer/D15134) branch. Thank you. Not seeing it fixed in 3.2.0 Stable yet.
Member

@Jeroen-Bakker hi, would it be ok to mention this fix for corrective release? #98661 (3.2: Potential candidates for corrective releases)

@Jeroen-Bakker hi, would it be ok to mention this fix for corrective release? #98661 (3.2: Potential candidates for corrective releases)

Added subscriber: @Cole-Marcus

Added subscriber: @Cole-Marcus

Not seeing it fixed in 3.2.0 Stable yet.

It seems to be fixed for me in 3.2 Stable.

System Information
Blender version: 3.2 release
Operating system: Windows 10 Pro Version 21H2 (OS Build 19044.1741)
Graphics card: Intel(R) HD Graphics 4600  .
> Not seeing it fixed in 3.2.0 Stable yet. It seems to be fixed for me in 3.2 Stable. ``` System Information Blender version: 3.2 release Operating system: Windows 10 Pro Version 21H2 (OS Build 19044.1741) Graphics card: Intel(R) HD Graphics 4600 . ```
Author

Definitely not fixed for me.

version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691, type: release
build date: 2022-06-08, 11:13:18
platform: 'Windows-10-10.0.22000-SP0'

blender_3.2.0.png

Definitely not fixed for me. > version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e369187, type: release > build date: 2022-06-08, 11:13:18 > platform: 'Windows-10-10.0.22000-SP0' ![blender_3.2.0.png](https://archive.blender.org/developer/F13156348/blender_3.2.0.png)
Member

Added subscriber: @Ahal-shameem

Added subscriber: @Ahal-shameem

The issue is still present in
version: 3.3.0 Alpha, branch: master, commit date: 2022-06-18 22:14, hash: 575884b827, type: Release
build date: 2022-06-19, 10:09:11
platform: 'Linux-5.17.15-1-MANJARO-x86_64-with-glibc2.35'

So, I bisected and found the same commit to be the cause of the issue as Omar:

439f86ac89 is the first bad commit
commit 439f86ac89
Author: Jeroen Bakker jeroen@blender.org
Date: Tue May 10 08:10:46 2022 +0200

  Fix T97272: Lag when resizing viewports.
  
  Viewports where cleared explicitly due to compatibility reasons with Intel iGPUs.
  This slowed down other platforms as well, this wasn't noticeable on all platforms.
  
  This patch will be more selective when to enable the workaround.
  Currently only for iGPUs on Mac + Linux.

source/blender/gpu/GPU_capabilities.h | 1 +
source/blender/gpu/intern/gpu_capabilities.cc | 5 +++++
source/blender/gpu/intern/gpu_capabilities_private.hh | 1 +
source/blender/gpu/intern/gpu_viewport.c | 13 +++++++++----
source/blender/gpu/opengl/gl_backend.cc | 7 +++++++
5 files changed, 23 insertions(+), 4 deletions(-)

In almost all cases, it is not necessary to resize the viewport to see the issue. After clicking "Video Editing" on the splash screen, the artifacts are immediately visible in the VSE.

The issue is still present in version: 3.3.0 Alpha, branch: master, commit date: 2022-06-18 22:14, hash: 575884b82786, type: Release build date: 2022-06-19, 10:09:11 platform: 'Linux-5.17.15-1-MANJARO-x86_64-with-glibc2.35' So, I bisected and found the same commit to be the cause of the issue as Omar: 439f86ac89bdd649aa9ccfe258c5f80474788449 is the first bad commit commit 439f86ac89bdd649aa9ccfe258c5f80474788449 Author: Jeroen Bakker <jeroen@blender.org> Date: Tue May 10 08:10:46 2022 +0200 ``` Fix T97272: Lag when resizing viewports. Viewports where cleared explicitly due to compatibility reasons with Intel iGPUs. This slowed down other platforms as well, this wasn't noticeable on all platforms. This patch will be more selective when to enable the workaround. Currently only for iGPUs on Mac + Linux. ``` source/blender/gpu/GPU_capabilities.h | 1 + source/blender/gpu/intern/gpu_capabilities.cc | 5 +++++ source/blender/gpu/intern/gpu_capabilities_private.hh | 1 + source/blender/gpu/intern/gpu_viewport.c | 13 +++++++++---- source/blender/gpu/opengl/gl_backend.cc | 7 +++++++ 5 files changed, 23 insertions(+), 4 deletions(-) In almost all cases, it is not necessary to resize the viewport to see the issue. After clicking "Video Editing" on the splash screen, the artifacts are immediately visible in the VSE.
Member

@georgK I reopened your original report, so lets handle that there.

@georgK I reopened your original report, so lets handle that there.
Author

Fixed in 3.2.1 candidate. Great job!

Fixed in 3.2.1 candidate. Great job!

Added subscriber: @nobulart

Added subscriber: @nobulart

Version 3.2.1 on Ubuntu 22.04 LTS
Older ATI Radeon 5890

system-info.txt

Screencast from 07-07-2022 14:40:28.webm

Version 3.2.1 on Ubuntu 22.04 LTS Older ATI Radeon 5890 [system-info.txt](https://archive.blender.org/developer/F13265424/system-info.txt) [Screencast from 07-07-2022 14:40:28.webm](https://archive.blender.org/developer/F13265426/Screencast_from_07-07-2022_14_40_28.webm)

Added subscriber: @Wlnfr

Added subscriber: @Wlnfr

Manjaro Linux

System:
  Kernel: 5.15.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
    parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64
    root=UUID=f8562208-a99c-43fe-a231-253bae0a6f48 rw quiet
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux

Xeon X5460 and GTX 650(Nvidia 470 driver), Blender 3.3.0
Same issue as comment above and author of the report
2022-09-10 19-31-33.mkv

Manjaro Linux ``` System: Kernel: 5.15.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1 parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64 root=UUID=f8562208-a99c-43fe-a231-253bae0a6f48 rw quiet udev.log_priority=3 Desktop: KDE Plasma v: 5.24.6 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux ``` Xeon X5460 and GTX 650(Nvidia 470 driver), Blender 3.3.0 Same issue as comment above and author of the report [2022-09-10 19-31-33.mkv](https://archive.blender.org/developer/F13477508/2022-09-10_19-31-33.mkv)
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
11 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#98620
No description provided.