Cannot start blender

When I tried to start blender today, I got this message:

 blender
[red-kite:1254108:0:1254108] Caught signal 4 (Illegal instruction: illegal operand)
==== backtrace (tid:1254108) ====
 0 0x000000000004d212 ucs_event_set_fd_get()  ???:0
 1 0x000000000004d2a3 ucs_event_set_fd_get()  ???:0
 2 0x000000000003d1d0 __sigaction()  ???:0
 3 0x000000000410e2c4 PyInit_mathutils_noise()  ???:0
 4 0x0000000000025f44 __libc_start_main()  ???:0
 5 0x0000000001644e25 ???()  /usr/bin/blender:0
=================================
Illegal instruction (core dumped)
$ pacman -Qi blender
Name            : blender
Version         : 17:4.2.1-2
Description     : A fully integrated 3D graphics creation suite
Architecture    : x86_64
.
.
.
Installed Size  : 389.04 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Sun 01 Sep 2024 09:21:56 BST
Install Date    : Wed 02 Oct 2024 13:18:29 BST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

$ uname -a
Linux  6.10.11-2-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Sep 26 03:28:26 UTC 2024 x86_64 GNU/Linux

And the CPU details from the KDE info centre:

Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        48 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               6
On-line CPU(s) list:                  0-5
Vendor ID:                            AuthenticAMD
Model name:                           AMD Phenom(tm) II X6 1055T Processor
CPU family:                           16
Model:                                10
Thread(s) per core:                   1
Core(s) per socket:                   6
Socket(s):                            1
Stepping:                             0
Frequency boost:                      enabled
CPU(s) scaling MHz:                   81%
CPU max MHz:                          2800.0000
CPU min MHz:                          800.0000
BogoMIPS:                             5627.03
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilter
Virtualization:                       AMD-V
L1d cache:                            384 KiB (6 instances)
L1i cache:                            384 KiB (6 instances)
L2 cache:                             3 MiB (6 instances)
L3 cache:                             36 MiB (6 instances)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-5
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Not affected
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Does anybody have any ideas of the solution, or requests for further information to diagnose it?

I don’t think it’s the same problem as this: Blender doesn’t start, at least the error message is quite different.

I should add, graphics card:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7) (prog-if 00 [VGA controller])
	Subsystem: Sapphire Technology Limited Device e468
	Flags: bus master, fast devsel, latency 0, IRQ 34, NUMA node 0
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at cfe00000 (64-bit, prefetchable) [size=2M]
	I/O ports at c000 [size=256]
	Memory at fe8c0000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

I don’t see that your CPU supports SSE4.2 [sse4_2], what is a minimum requirement: Requirements & Compatibility — blender.org I see only SSE4a.

So, is it possible to get an earlier version of blender that doesn’t have this requirement, or does it require a new CPU?

I would say, you can compile it yourself with this flag: WITH_CPU_SIMD=OFF. So get the PKGBUILD: Arch Linux / Packaging / Packages / blender · GitLab and add there

-D WITH_CPU_SIMD=OFF

to the build function. It should run on your CPU then, SMID/SSE42 is on by default.

blender/CMakeLists.txt at main - blender - Blender Projects

Download, put it somewhere and run it.

There are older ones too:

Thanks for that. I’ve downloaded the files. I’ll try building it tomorrow when I’m a bit more awake.

There’s no need for you to spend hours (or however long it takes) building it from source (unless you want the newest version). blender-lts-bin (v4.2.2-1, which is the most recent LTS version) is available from the AUR: AUR (en) - blender-lts-bin

Being a pre-compiled binary, it has no dependencies and after the 336MB download completed, my Pamac GUI took only a few seconds to build and install it:

99  336M   99  334M    0     0  5260k      0  0:01:05  0:01:05 --:--:-- 5826k
100  336M  100  336M    0     0  5245k      0  0:01:05  0:01:05 --:--:-- 5184k
  -> Found blender.sh
==> Validating source files with b2sums...
    blender-4.2.2-linux-x64.tar.xz ... Passed
    blender.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting blender-4.2.2-linux-x64.tar.xz with bsdtar
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "blender-lts-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: blender-lts-bin 4.2.2-1 (Wed 09 Oct 2024 09:39:47)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing blender-lts-bin (4.2.2-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating the desktop file MIME type cache...
Transaction successfully finished.

The program opened successfully after I installed it.

Thanks for all the suggestions everyone.
I was not able to rebuild the source (possibly a misguided attempt to get rid of the Intel-specific stuff as my machine is pure AMD/Radeon) and the lts-bin package in AUR still needs SSE42.
Given that I only use blender very occasionally, I think I’ll just use it on my media box which is much newer.

Just so that the thread doesn’t stay open forever, I’m going to mark this as the solution.

There are other precompiled versions available from the AUR:

pamac search blender bin                                                                                                                                        ✔ 
upbge-bin  0.36.1-1                                                                                                                                                         AUR
    Uchronia Project Blender Game Engine fork of Blender Game Engine - binary package
blender-plugin-surface-follow  r20.f15a960-1                                                                                                                                AUR
    Blender addon for binding object to deforming surfaces.
blender-plugin-luxcorerender-latest-bin  2.6.b3506-1                                                                                                                        AUR
    LuxCoreRender exporter plugin for Blender
blender-lts-bin  4.2.2-1                                                                                                                                                    AUR
    LTS blender version
blender-launcher-bin  2.1.24-3                                                                                                                                              AUR
    Blender Launcher is a standalone software client that provides management for stable, daily and experimental builds of Blender 3D. It is a free open source project
    available for 64-bit Windows and Linux (GLIBC 2.31 and higher) operating systems.
blender-bin  4.2.1-1                                                                                                                                                        AUR
    A fully integrated 3D graphics creation suite (with packaged libraries and python3.11)
blender-4.3-bin  4.3.240704.addf1fa84b75-1                                                                                                                                  AUR
    A fully integrated 3D graphics creation suite
blender-4.2-bin  4.2.240710.a2ba481c7110-1                                                                                                                                  AUR
    A fully integrated 3D graphics creation suite
blender-3.6-bin  3.6.231115.76cf464098be-1                                                                                                                                  AUR
    A fully integrated 3D graphics creation suite
blender-3.3-bin  3.3.231115.f0cc0a89efa2-1                                                                                                                                  AUR
    A fully integrated 3D graphics creation suite

Maybe one of the Blender v3 versions might work?

Thank you.
I’ll keep that in mind if there are any problems with the other box.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.