Hello community,

here is the log from the commit of package blender for openSUSE:Factory checked 
in at 2020-07-27 17:49:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blender (Old)
 and      /work/SRC/openSUSE:Factory/.blender.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "blender"

Mon Jul 27 17:49:20 2020 rev:136 rq:822969 version:2.83.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/blender/blender.changes  2020-07-16 
12:17:14.630891380 +0200
+++ /work/SRC/openSUSE:Factory/.blender.new.3592/blender.changes        
2020-07-27 17:51:17.119647057 +0200
@@ -1,0 +2,39 @@
+Mon Jul 27 09:03:30 UTC 2020 - Hans-Peter Jansen <[email protected]>
+
+- After upgrading ffmpeg from 4.2.3 to 4.3.1, unaligned buffer
+  accesses in yuv2rgb conversion result in segfaults:
+  https://trac.ffmpeg.org/ticket/8747, https://trac.ffmpeg.org/ticket/8532
+  Issue fixed for Blender with:
+  https://developer.blender.org/rB6778ef4dcc6e8d92e3b2ec9b9ecaf1e54e5bf7b5
+  0001-Fix-T78867-Crash-related-to-viewing-video-files.patch
+
+-------------------------------------------------------------------
+Fri Jul 24 09:25:47 UTC 2020 - Hans-Peter Jansen <[email protected]>
+
+- Update to version 2.83.3
+  - Fix alignment/size issue on ARM/RPi architecture [9c41744ef4]
+  - EEVEE: Cubemaps shows black [T75943]
+  - Blender Freezes when using the 3d Scale Gizmo [T77455]
+  - GPU: Apple/Nvidia Proxy check [T78175]
+  - Fix missing GPU image free in background mode [9949b5098a]
+  - Overlay: Weight colors are not in render in the right
+    colorspace [T77780]
+  - Cycles OpenCL error rendering empty scene [T77984]
+  - Overlay: Edit mode + wire drawtype + infront not transparent
+    [T77655]
+  - Overlay: Sulpt overlay not working if object use in-front
+    option [T76229]
+  - Sculpt mode performance regression in 2.83 [T77641]
+  - Faces missing, weird faces added [T74024]
+  - Fix error when filtering in Outliner “Blender File” mode with
+    libraries [d0c986b748]
+  - Fix crash when use GPencil merge without materials [T78337]
+  - Fix undefined behavior when using BSDF nodes inside volume
+    shaders[T76171]
+  - GPencil interpolation crash [T78134]
+  - GPencil: Strokes go missing after Interpolation from another
+    layer [T78042]
+  - Workbench: “Not enough texture slots!” Message being spammed
+    and lags the entire computer [T77759]
+
+-------------------------------------------------------------------

Old:
----
  blender-2.83.2.tar.xz
  blender-2.83.2.tar.xz.md5sum

New:
----
  0001-Fix-T78867-Crash-related-to-viewing-video-files.patch
  blender-2.83.3.tar.xz
  blender-2.83.3.tar.xz.md5sum

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ blender.spec ++++++
--- /var/tmp/diff_new_pack.4y204g/_old  2020-07-27 17:51:20.879651199 +0200
+++ /var/tmp/diff_new_pack.4y204g/_new  2020-07-27 17:51:20.883651204 +0200
@@ -48,7 +48,7 @@
 %define _suffix %(echo %{_version} | tr -d '.')
 
 Name:           blender
-Version:        2.83.2
+Version:        2.83.3
 Release:        0
 Summary:        A 3D Modelling And Rendering Package
 License:        GPL-2.0-or-later
@@ -67,6 +67,8 @@
 Patch0:         make_python_3.6_compatible.patch
 # PATCH-FIX-OPENSUSE https://developer.blender.org/D5858
 Patch1:         reproducible.patch
+# PATCH-FIX-UPSTREAM 
https://developer.blender.org/rB6778ef4dcc6e8d92e3b2ec9b9ecaf1e54e5bf7b5
+Patch2:         0001-Fix-T78867-Crash-related-to-viewing-video-files.patch
 #!BuildIgnore:  libGLwM1
 BuildRequires:  OpenColorIO-devel
 BuildRequires:  OpenEXR-devel
@@ -233,6 +235,7 @@
 %patch0 -p1
 %endif
 %patch1 -p1
+%patch2 -p1
 
 rm -rf extern/glew
 rm -rf extern/libopenjpeg

++++++ 0001-Fix-T78867-Crash-related-to-viewing-video-files.patch ++++++
>From 6778ef4dcc6e8d92e3b2ec9b9ecaf1e54e5bf7b5 Mon Sep 17 00:00:00 2001
From: Sergey Sharybin <[email protected]>
Date: Mon, 20 Jul 2020 18:57:28 +0200
Subject: [PATCH] Fix T78867: Crash related to viewing video files

Any time FFmpeg was used to get a picture Blender would crash
when FFmpeg 4.3 is used. This affects thumbnails, VSE, Clip Editor.

Caused by a bug in FFmpeg which lead to crashes when unaligned
buffer was passed to sws_scale(). It got fixed later on in FFmpeg,
but for portability and compatibility reasons still nice to avoid
crash, especially since it's not so difficult to do.

FFmpeg ticked number is #8747
The FFmpeg Git hash with the fix: ba3e771a42c2

Differential Revision: https://developer.blender.org/D8355
---
 source/blender/imbuf/intern/anim_movie.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/source/blender/imbuf/intern/anim_movie.c 
b/source/blender/imbuf/intern/anim_movie.c
index 8361c43afc1..9fab450cc76 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -1205,7 +1205,29 @@ static ImBuf *ffmpeg_fetchibuf(struct anim *anim, int 
position, IMB_Timecode_Typ
   }
 
   IMB_freeImBuf(anim->last_frame);
-  anim->last_frame = IMB_allocImBuf(anim->x, anim->y, 32, IB_rect);
+
+  /* Certain versions of FFmpeg have a bug in libswscale which ends up in crash
+   * when destination buffer is not properly aligned. For example, this happens
+   * in FFmpeg 4.3.1. It got fixed later on, but for compatibility reasons is
+   * still best to avoid crash.
+   *
+   * This is achieved by using own allocation call rather than relying on
+   * IMB_allocImBuf() to do so since the IMB_allocImBuf() is not guaranteed
+   * to perform aligned allocation.
+   *
+   * In theory this could give better performance, since SIMD operations on
+   * aligned data are usually faster.
+   *
+   * Note that even though sometimes vertical flip is required it does not
+   * affect on alignment of data passed to sws_scale because if the X dimension
+   * is not 32 byte aligned special intermediate buffer is allocated.
+   *
+   * The issue was reported to FFmpeg under ticket #8747 in the FFmpeg tracker
+   * and is fixed in the newer versions than 4.3.1. */
+  anim->last_frame = IMB_allocImBuf(anim->x, anim->y, 32, 0);
+  anim->last_frame->rect = MEM_mallocN_aligned((size_t)4 * anim->x * anim->y, 
32, "ffmpeg ibuf");
+  anim->last_frame->mall |= IB_rect;
+
   anim->last_frame->rect_colorspace = 
colormanage_colorspace_get_named(anim->colorspace);
 
   ffmpeg_postprocess(anim);
-- 
2.27.0

++++++ blender-2.83.2.tar.xz -> blender-2.83.3.tar.xz ++++++
/work/SRC/openSUSE:Factory/blender/blender-2.83.2.tar.xz 
/work/SRC/openSUSE:Factory/.blender.new.3592/blender-2.83.3.tar.xz differ: char 
26, line 1

++++++ blender-2.83.2.tar.xz.md5sum -> blender-2.83.3.tar.xz.md5sum ++++++
--- /work/SRC/openSUSE:Factory/blender/blender-2.83.2.tar.xz.md5sum     
2020-07-14 07:59:09.433763918 +0200
+++ /work/SRC/openSUSE:Factory/.blender.new.3592/blender-2.83.3.tar.xz.md5sum   
2020-07-27 17:51:14.507644178 +0200
@@ -1 +1 @@
-1fc281880f390f32698e01efe90afd60  blender-2.83.2.tar.xz
+f17baab9043bfce046b25af19404857c  blender-2.83.3.tar.xz



Reply via email to