Index | Thread | Search

From:
Walter Alejandro Iglesias <wai@roquesor.com>
Subject:
Re: Blender crashes when rendering animation to ffmpeg video
To:
ports@openbsd.org
Date:
Sat, 8 Nov 2025 11:58:03 +0100

Download raw body.

Thread
On Sat, Nov 08, 2025 at 11:11:50AM +0100, Kirill A. Korinsky wrote:
> On Sat, 08 Nov 2025 10:38:29 +0100,
> Walter Alejandro Iglesias <wai@roquesor.com> wrote:
> > 
> > On Sat, Nov 08, 2025 at 09:54:00AM +0100, Kirill A. Korinsky wrote:
> > > On Sat, 08 Nov 2025 09:25:18 +0100,
> > > Walter Alejandro Iglesias <wai@roquesor.com> wrote:
> > > > 
> > > > Hello,
> > > > 
> > > > Blender crashes always I run "render animation" to a ffmpeg video.  (It
> > > > has no problems when rendering to a image sequence).
> > > > 
> > > > Using latest snapshot.
> > > > 
> > > > 
> > > > Thread 2 received signal SIGILL, Illegal instruction.
> > > > [Switching to thread 232396 of process 54210]
> > > > 0x00000956337d3160 in ff_rgbaToY_avx2 () from /usr/local/lib/libswscale.so.9.0
> > > 
> > > This smeels like your CPU doesn't support AVX2, but ffmpeg tries to use it.
> > > 
> > > Can you share your CPU?
> > 
> >  cpu0: 12th Gen Intel(R) Core(TM) i3-12100, 3292.94 MHz, 06-97-05, patch 0000003a
> > 
> > I ignore if what appears in these lines means that it's supported:
> > 
> >   $ dmesg | grep AVX
> >   cpu0: cpuid 1 edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> >                                                                                                                                                                                                                                                                                                        ^^^
> >   cpu0: cpuid 7.0 ebx=239c27eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA> ecx=98c007ac<UMIP,PKU,WAITPKG,PKS> edx=fc184410<MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD>
> >                                                         ^^^^
> > 
> 
> It is IBT machine.

Sorry, what does IBT stands for?

> May I ask you to try this guess?

I got the gdb backtrace using the debug-blender package.  I'll download
the ports, compile blender and tell you if your diff helps.


> 
> Index: graphics/blender/Makefile
> ===================================================================
> RCS file: /home/cvs/ports/graphics/blender/Makefile,v
> diff -u -p -r1.144 Makefile
> --- graphics/blender/Makefile	3 Nov 2025 11:01:27 -0000	1.144
> +++ graphics/blender/Makefile	8 Nov 2025 10:09:57 -0000
> @@ -1,3 +1,6 @@
> +# XXX ffmpeg 8
> +USE_NOBTCFI-amd64 =	yes
> +
>  # powerpc - tbb 64-bit atomics
>  # sparc64 - openexr linking failure
>  # 32-bit archs - static assert in cuda that a pointer is the same size as ULL
> @@ -7,6 +10,7 @@ DPB_PROPERTIES = parallel
>  COMMENT =	3D creation software
>  
>  VERSION =	4.5.3
> +REVISION =	0
>  V =		${VERSION:R}
>  DISTNAME =	blender-${VERSION}
>  
> 
> 
> -- 
> wbr, Kirill
> 

-- 
Walter