Bug 30324 - 32bit blender is not executable
Summary: 32bit blender is not executable
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK,MGA9-32-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-04-22 22:31 CEST by Giuseppe Ghibò
Modified: 2025-07-11 20:53 CEST (History)
4 users (show)

See Also:
Source RPM: blender
CVE:
Status comment:


Attachments
fix for blender SPEC file (362 bytes, patch)
2025-06-28 09:07 CEST, Giuseppe Ghibò
Details | Diff

Description Giuseppe Ghibò 2022-04-22 22:31:21 CEST
Description of problem:

The 32bit blender doesn't start. The 32bit blender version comes with a wrapper script which automatically select between a sse (pentium4 and above) or non-sse (pentium) flavours. Unfortunately this script at some point lost the executable permission in the SPEC file, so it's not executable anymore.

How reproducible:

Just type blender from a command line.

Cauldron release affected too.
Comment 1 Morgan Leijström 2022-04-23 20:15:58 CEST
Assigning blender registered maintainer
(who maintain an obscene lot of packages...)

CC: (none) => fri
Whiteboard: (none) => MGA8TOO
Assignee: bugsquad => geiger.david68210
Version: 8 => Cauldron

Comment 2 Giuseppe Ghibò 2022-04-23 22:14:49 CEST
As OT, speaking of blender itself I wonder if it's not worthwhile to consider an upgrade to another lts version for mga8 (e.g. 2.93).

Actually version 2.83 is supported upstream only up to june 2022 (and furthermore there is blender 2.83.20 while we have 2.83.10). See https://www.blender.org/download/lts/2-83/

Only problem is that IIRC latest lts 2.9x version requires at least python3.9 to be compiled, while mga8 has only python3.8. Alternative is to build blender with a bundled python3.9 version.
Comment 3 Morgan Leijström 2025-06-27 10:05:02 CEST
We are now at 3.3.16 in mga9.
What is the status of 32 bit?
If OK close this as old. If same problem in mga9, set it to mga9.

BTW it would be good if we could update to 4.x, at least in backport.
4.2 is in cauldron, 4.4 released upstream, so cauldron could get updated too.

Or at least latest 3.x in mga9 updates.
https://forums.mageia.org/en/viewtopic.php?t=15166#p91567
Comment 4 Giuseppe Ghibò 2025-06-27 11:50:25 CEST
(In reply to Morgan Leijström from comment #3)

> We are now at 3.3.16 in mga9.
> What is the status of 32 bit?
> If OK close this as old. If same problem in mga9, set it to mga9.
> 
> BTW it would be good if we could update to 4.x, at least in backport.
> 4.2 is in cauldron, 4.4 released upstream, so cauldron could get updated too.
> 
> Or at least latest 3.x in mga9 updates.
> https://forums.mageia.org/en/viewtopic.php?t=15166#p91567

The bug is still there:

$ urpmi blender --no-recommends

...

bash: /usr/bin/blender: Permission denied


As for upgrades, 3.3 gone EOL since some months, however we can, in the immediate, update 3.3.16 to 3.3.21 so to include all the security fixes up to 3.3.21.

For updating to a newer version, 3.6 LTS is going EOL today, so maybe worthwhile to skip directly to 4.2 LTS, which is supported up to July 2026. AFAIK in cauldron we keep LTS (current 4.4 upstream is not LTS and is projected to go EOL in mid july 2025). Cauldron has 4.2 LTS, so might be worthwhile to sync with it, however it requires newer libraries (at least openshadinglanguage1.13) to be backported, and maybe others (e.g. embree, etc.).
Comment 5 Morgan Leijström 2025-06-27 15:11:37 CEST
Shifting bug Mageia release from 8 to 9 then.
Does the problem in this bug still exist in Cauldron 32 bit too?

Leaving to packagers to consider updating.

Whiteboard: MGA8TOO => MGA9TOO

Comment 6 katnatek 2025-06-27 20:52:21 CEST
Who uses this in 32bit system?
Comment 7 Giuseppe Ghibò 2025-06-28 09:07:15 CEST
Created attachment 15030 [details]
fix for blender SPEC file
Comment 8 Giuseppe Ghibò 2025-06-28 09:16:49 CEST
> Who uses this in 32bit system?

I remember short movies like "Elephant dreams" were made with blender (blender-2.46a/b at that time) when the top laptops were like 32-bit Pentium 4 with ATI Radeon 7500M as top graphics card and 512 MB of systen RAM. And that were enough for learning (and teaching) blender. :-)

OK, that nowadays features like cycles would require a lot of more resources, and that blender 3.x or 4.x is a lot larger and more complex, however for basic learning of 3D modelling, probably it can still be used if someone is still running MGA on a 32-bit systems.

Beyond this, I think the cauldron is also affected.

Anyway the fix, once blender is installed is trivial, just chmod +x /usr/bin/blender, and blender would start even in 32-bit.

As for fixing the package I think I found why it's not executable: in the blender 
bash wrapper, for some reason in the SPEC file it was missed the shbang, so some internal rpmbuild finalizers removes the executable bit. The fix should be also trivial, and it's like this in attach.
Comment 9 Morgan Leijström 2025-06-29 15:05:49 CEST
Also, maybe someone install a 32 bit system on a modern hardware in order to be able to use some special software.  And may want to use Blender too.

Anyway, if we have some software available on some arch but not another, we should maintain a table over that in our wiki.
Comment 10 Giuseppe Ghibò 2025-07-08 11:09:05 CEST
I fixed this on blender-3.3.21-1.mga9 on updates_testing. Actually it starts on 32-bit. It's not a new LTS for mga9, but it's better than nothing. The 3.3.21 is also the latest version of the 3.3.x series. It fixes bugs and some crash. Changelog should be collected from here:

https://www.blender.org/download/lts/3-3/

from 3.3.16 to 3.3.21. IMHO worthwhile an update.
Comment 11 Morgan Leijström 2025-07-08 12:35:01 CEST
x86_64 quick test: updates and starts
Installed previous version then this update.
Starts.  I have never used it...
Comment 12 Morgan Leijström 2025-07-08 14:26:30 CEST
Could not test this on my i586 Thinkpad T43, too little disk space...

We also must test if current version in Cauldron work on i586.

---

x86_64 on my Thinkpad T510: Fail - but this is NOT a regression, so should not hinder the update

Both previous version and this update hangs immediately - screen freeze, need to REISUB.
Previous version draws initial screen but menue text is green, with the update the whole blender window is dark grey.

[ettan@localhost ~]$ inxi -SMCG
System:
  Host: localhost Kernel: 6.6.93-desktop-1.mga9 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.10 Distro: Mageia 9
Machine:
  Type: Laptop System: LENOVO product: 4349A13 v: ThinkPad T510
    serial: <superuser required>
  Mobo: LENOVO model: 4349A13 serial: <superuser required> BIOS: LENOVO
    v: 6MET92WW (1.52 ) date: 09/26/2012
CPU:
  Info: dual core model: Intel Core i5 M 540 bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 1199 min/max: 1199/2534 cores: 1: 1199 2: 1199 3: 1199
    4: 1199
Graphics:
  Device-1: NVIDIA GT218M [NVS 3100M] driver: nouveau v: kernel
  Device-2: Lenovo Integrated Webcam [R5U877] driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: modesetting,v4l dri: nouveau gpu: nouveau resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nouveau,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 25.0.7 renderer: NVA8
  API: Vulkan v: 1.3.231 drivers: llvmpipe surfaces: xcb,xlib

We often have issues with this old nvidia on this machine.
Launching blender, there are several passes of the following lies in journal:

jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout fail
jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 009fe101 [BUSY CTXPROG RATTR_APLANE TRAST CLIPID ZCULL ENG2D RMASK TPC_RAST TPC_PRO>
jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00000000 []
jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 0000102d [TPC_MP]
jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 0014da6d [TRAST ENG2D]

Assignee: geiger.david68210 => qa-bugs

katnatek 2025-07-08 19:09:35 CEST

Source RPM: blender-2.83.10-3.1.mga8.src.rpm => blender

Comment 13 katnatek 2025-07-08 19:17:25 CEST
RPM:
blender-3.3.21-1.mga9

SRPM:
blender-3.3.21-1.mga9

RH i586

ls -la /usr/bin/blender*
-rw-r--r-- 1 root root      177 mar 19  2024 /usr/bin/blender
-rwxr-xr-x 1 root root 77032340 mar 19  2024 /usr/bin/blender.nonsse*
-rwxr-xr-x 1 root root 77393552 mar 19  2024 /usr/bin/blender.sse*
-rwxr-xr-x 1 root root    96628 mar 19  2024 /usr/bin/blender-thumbnailer*

installing blender-3.3.21-1.mga9.i586.rpm from //home/katnatek/qa-testing/i586
Preparing...                     #######################################################################################
      1/1: blender               #######################################################################################
      1/1: removing blender-3.3.16-1.mga9.i586
                                 #######################################################################################
writing /var/lib/rpm/installed-through-deps.list

The following package:
  libboost_chrono1.81.0-1.81.0-3.mga9.i586
is now orphaned, if you wish to remove it, you can use "urpme --auto-orphans"

ls -la /usr/bin/blender*
-rwxr-xr-x 1 root root      191 jul  6 13:20 /usr/bin/blender*
-rwxr-xr-x 1 root root 77045100 jul  6 13:23 /usr/bin/blender.nonsse*
-rwxr-xr-x 1 root root 77402100 jul  6 13:24 /usr/bin/blender.sse*
-rwxr-xr-x 1 root root    96628 jul  6 13:24 /usr/bin/blender-thumbnailer*

blender
Error! Unsupported graphics card or driver.
A graphics card and driver with support for OpenGL 3.3 or higher is required.
The program will now close.

Its all what I can test from this hardware
Comment 14 Giuseppe Ghibò 2025-07-08 19:20:16 CEST
(In reply to Morgan Leijström from comment #12)

> Could not test this on my i586 Thinkpad T43, too little disk space...
> 

> We also must test if current version in Cauldron work on i586.
> 

The fix for i686 for cauldron was included in the SPEC file, however a build was issued but is actually failing for other reasons (compiler, missed includes, etc.).

> ---
> 
> x86_64 on my Thinkpad T510: Fail - but this is NOT a regression, so should
> not hinder the update
> 
> Both previous version and this update hangs immediately - screen freeze,
> need to REISUB.
> Previous version draws initial screen but menue text is green, with the
> update the whole blender window is dark grey.
> 
> [ettan@localhost ~]$ inxi -SMCG
> System:
>   Host: localhost Kernel: 6.6.93-desktop-1.mga9 arch: x86_64 bits: 64
>   Desktop: KDE Plasma v: 5.27.10 Distro: Mageia 9
> Machine:
>   Type: Laptop System: LENOVO product: 4349A13 v: ThinkPad T510
>     serial: <superuser required>
>   Mobo: LENOVO model: 4349A13 serial: <superuser required> BIOS: LENOVO
>     v: 6MET92WW (1.52 ) date: 09/26/2012
> CPU:
>   Info: dual core model: Intel Core i5 M 540 bits: 64 type: MT MCP cache:
>     L2: 512 KiB
>   Speed (MHz): avg: 1199 min/max: 1199/2534 cores: 1: 1199 2: 1199 3: 1199
>     4: 1199
> Graphics:
>   Device-1: NVIDIA GT218M [NVS 3100M] driver: nouveau v: kernel
>   Device-2: Lenovo Integrated Webcam [R5U877] driver: uvcvideo type: USB
>   Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
>     loaded: modesetting,v4l dri: nouveau gpu: nouveau resolution:
> 1920x1080~60Hz
>   API: EGL v: 1.5 drivers: nouveau,swrast
>     platforms: gbm,x11,surfaceless,device
>   API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 25.0.7 renderer: NVA8
>   API: Vulkan v: 1.3.231 drivers: llvmpipe surfaces: xcb,xlib
> 
> We often have issues with this old nvidia on this machine.
> Launching blender, there are several passes of the following lies in journal:
> 
> jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush
> idle timeout fail
> jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS
> 009fe101 [BUSY CTXPROG RATTR_APLANE TRAST CLIPID ZCULL ENG2D RMASK TPC_RAST
> TPC_PRO>
> jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0:
> 00000000 []
> jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1:
> 0000102d [TPC_MP]
> jul 08 14:00:31 localhost kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2:
> 0014da6d [TRAST ENG2D]

try to add nouveau external firmware for older NV cards. Blender requires pretty stable drivers. Try eventually with llvmpipe using  LIBGL_ALWAYS_SOFTWARE=1 blender.
Comment 15 Morgan Leijström 2025-07-08 21:34:12 CEST
(In reply to Giuseppe Ghibò from comment #14)
> (In reply to Morgan Leijström from comment #12)

> try to add nouveau external firmware for older NV cards. Blender requires
> pretty stable drivers. 

That is probably the correct way.
https://wiki.mageia.org/en/Setup_the_graphical_server#Missing_firmware
However i do not have that time, and if i really should *use* Blender i would select one of my less wimpy machines...

> Try eventually with llvmpipe using 
> LIBGL_ALWAYS_SOFTWARE=1 blender.

Yes, that worked 
Interface came up and I altered the default cube slightly.
Painfully slow, unusable... but no crash :-)
Comment 16 katnatek 2025-07-08 22:29:00 CEST
RH x86_64

installing blender-3.3.21-1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: blender               ##################################################################################################
      1/1: removing blender-3.3.16-1.mga9.x86_64
                                 ##################################################################################################

blender
Read prefs: /home/katnatek/.config/blender/3.3/config/userpref.blend
Saved session recovery to '/tmp/quit.blend'

Blender quit

Blender start without issues, 
I'm still not well-informed of how this work to make a real test
Comment 17 Ben McMonagle 2025-07-09 00:59:05 CEST
running in 32bit VB / Xfce DE i586

confirm OP issue

$ blender

bash: /usr/bin/blender: Permission denied

update to 

blender-3.3.21-1.mga9

$ blender
Writing userprefs: '/home/work/.config/blender/3.3/config/userpref.blend' ok
Info: Preferences saved

Saved session recovery to '/tmp/quit.blend'

Blender quit

Blender presented workdesk, as per x86_64 version

seems to work

CC: (none) => westel

katnatek 2025-07-09 18:53:03 CEST

Keywords: (none) => advisory

Comment 18 Thomas Andrews 2025-07-10 15:53:23 CEST
(In reply to katnatek from comment #13)
> 
> blender
> Error! Unsupported graphics card or driver.
> A graphics card and driver with support for OpenGL 3.3 or higher is required.
> The program will now close.
> 
> Its all what I can test from this hardware

I wouldn't get any farther on my i586 laptop - the old Radeon GPU is only good to OpenGL 1.6.

CC: (none) => andrewsfarm

Comment 19 katnatek 2025-07-10 19:16:11 CEST
Ben & Morgan's test are enough for the reported issue
And the application still works for me

Thomas if you consider it is necessary, remove the OKs

Whiteboard: MGA9TOO => MGA9-64-OK,MGA9-32-OK
Version: Cauldron => 9

Comment 20 Thomas Andrews 2025-07-10 20:58:41 CEST
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 21 Mageia Robot 2025-07-11 20:53:18 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0066.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.