4.1 fails to launch through Steam. #120480

Closed
opened 2024-04-10 17:30:43 +02:00 by Calibrator · 14 comments

System Information
Operating system: Linux-6.8.4-arch1-1-x86_64-with-glibc2.39 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.67

Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270
Worked: Previous steam version, before the current one. Still 4.1 I'm pretty sure

Short description of error
Can't start steam, similar issue as #107385

I managed to make it work by adding

LD_LIBRARY_PATH='' %command%

in launch options.

It's not the exact same issue as the one above because I couldn't launch 4.1 from Blender Builds either. After steam stopped working, between 1st and 3rd April I think, I updated the Blender Builds one and they both crashed at the gray window. AUR version worked. Today I downloaded from Blender Builds again and it worked. After that I added the launch option on steam and that works too now.

Is there anything that I can provide to help you figure this issue out?
I added the latest crash log just in case.

**System Information** Operating system: Linux-6.8.4-arch1-1-x86_64-with-glibc2.39 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.67 **Blender Version** Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` Worked: Previous steam version, before the current one. Still 4.1 I'm pretty sure **Short description of error** Can't start steam, similar issue as #107385 I managed to make it work by adding > LD_LIBRARY_PATH='' %command% in launch options. It's not the exact same issue as the one above because I couldn't launch 4.1 from Blender Builds either. After steam stopped working, between 1st and 3rd April I think, I updated the Blender Builds one and they both crashed at the gray window. AUR version worked. Today I downloaded from Blender Builds again and it worked. After that I added the launch option on steam and that works too now. Is there anything that I can provide to help you figure this issue out? I added the latest crash log just in case.
Calibrator added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-04-10 17:30:44 +02:00
YimingWu added the
Platform
Linux
Interest
Platforms, Builds & Tests
labels 2024-04-11 07:49:58 +02:00
Member

Cannot repro this here (on Fedora 39), also not aware of any related changes after 17fa168a3d

@Sergey, @brecht : does this ring a bell? Crash seems to be OpenImageIO related

Cannot repro this here (on Fedora 39), also not aware of any related changes after 17fa168a3dd74978073530136653748e841dbbf2 @Sergey, @brecht : does this ring a bell? Crash seems to be `OpenImageIO` related
Author

Cannot repro this here (on Fedora 39), also not aware of any related changes after 17fa168a3d

@Sergey, @brecht : does this ring a bell? Crash seems to be OpenImageIO related

Does changing the Launch options on Steam actually affect that?

Edit: I mean

LD_LIBRARY_PATH='' %command%

> Cannot repro this here (on Fedora 39), also not aware of any related changes after 17fa168a3dd74978073530136653748e841dbbf2 > > @Sergey, @brecht : does this ring a bell? Crash seems to be `OpenImageIO` related Does changing the Launch options on Steam actually affect that? Edit: I mean > LD_LIBRARY_PATH='' %command%

@lichtwerk Does not really ring a bell, and I can't immediately think of what conflict could it be.

@Calibrator You mentioned builds from the blender.org had problems as well. Just to be sure, can you confirm the 4.1 build from https://download.blender.org/release/Blender4.1/ works fine for you currently?

@lichtwerk Does not really ring a bell, and I can't immediately think of what conflict could it be. @Calibrator You mentioned builds from the blender.org had problems as well. Just to be sure, can you confirm the 4.1 build from https://download.blender.org/release/Blender4.1/ works fine for you currently?
Author

@Calibrator You mentioned builds from the blender.org had problems as well. Just to be sure, can you confirm the 4.1 build from https://download.blender.org/release/Blender4.1/ works fine for you currently?

It works. I had a problem with one of the daily builds from April 1st or later, I can't remember when. I also tested the current 4.1.1 and that works too.

> @Calibrator You mentioned builds from the blender.org had problems as well. Just to be sure, can you confirm the 4.1 build from https://download.blender.org/release/Blender4.1/ works fine for you currently? It works. I had a problem with one of the daily builds from April 1st or later, I can't remember when. I also tested the current 4.1.1 and that works too.
Member

Guess we can close the report if 4.1.1 build is working

Guess we can close the report if 4.1.1 build is working
Author

Guess we can close the report if 4.1.1 build is working

Steam version is still broken. I can't test 4.1.1 since it's not there but daily build won't launch without LD_LIBRARY_PATH='' %command%

> Guess we can close the report if 4.1.1 build is working Steam version is still broken. I can't test 4.1.1 since it's not there but daily build won't launch without `LD_LIBRARY_PATH='' %command%`

I'm also unable to reproduce on Ubuntu.

Most likely there is some system library interfering with the Blender libraries. I'm not sure we can clear LD_LIBRARY_PATH in general, some systems may rely on that containing libraries that Blender needs (mainly GPU related ones).

If you can launch Blender with the following command and attach the resulting file, that may give a clue about which libraries are conflicting.

LD_DEBUG=libs %command% 2> /tmp/blender_steam_log.txt
I'm also unable to reproduce on Ubuntu. Most likely there is some system library interfering with the Blender libraries. I'm not sure we can clear `LD_LIBRARY_PATH` in general, some systems may rely on that containing libraries that Blender needs (mainly GPU related ones). If you can launch Blender with the following command and attach the resulting file, that may give a clue about which libraries are conflicting. ``` LD_DEBUG=libs %command% 2> /tmp/blender_steam_log.txt ```
Author

All right, here's the text file it gave. I have no idea what to look for in it so good luck.

All right, here's the text file it gave. I have no idea what to look for in it so good luck.

Can you try temporarily moving away /usr/lib/osl.imageio.so and checking if Blender launches?

Like:

sudo mv /usr/lib/osl.imageio.so /tmp/osl.imageio.so
... try launching blender...
sudo mv /tmp/osl.imageio.so /usr/lib/osl.imageio.so

It seems that OpenImageIO is trying and failing to load a plugin made for an incompatible version.

Can you try temporarily moving away `/usr/lib/osl.imageio.so` and checking if Blender launches? Like: ``` sudo mv /usr/lib/osl.imageio.so /tmp/osl.imageio.so ... try launching blender... sudo mv /tmp/osl.imageio.so /usr/lib/osl.imageio.so ``` It seems that OpenImageIO is trying and failing to load a plugin made for an incompatible version.
Author

Spot on, that was the problem. Is this an issue on my end then?

Spot on, that was the problem. Is this an issue on my end then?

What is a bit confusing about the logs is that there are multiple seemingly fatal errors. Though given the OpenImageIO backtrace and those being the last errors, it's likely related to those specifically.

      5085:	/run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: scalable_malloc (fatal)
      5085:	/run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: kmp_set_thread_affinity_mask_initial (fatal)

      5085:	/usr/lib/libnvidia-eglcore.so.550.67: error: symbol lookup error: undefined symbol: ErrorF (fatal)

      5085:	/run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __RML_open_factory (fatal)
      5085:	/run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __cilkrts_watch_stack (fatal)
      5085:	/run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __cilkrts_watch_stack (fatal)

      5085:	/usr/lib/libnvidia-glcore.so.550.67: error: symbol lookup error: undefined symbol: ErrorF (fatal)

      5085:	/usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_imageio_library_version (fatal)
      5085:	/usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_output_imageio_create (fatal)
      5085:	/usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_output_extensions (fatal)
What is a bit confusing about the logs is that there are multiple seemingly fatal errors. Though given the OpenImageIO backtrace and those being the last errors, it's likely related to those specifically. ``` 5085: /run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: scalable_malloc (fatal) 5085: /run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: kmp_set_thread_affinity_mask_initial (fatal) 5085: /usr/lib/libnvidia-eglcore.so.550.67: error: symbol lookup error: undefined symbol: ErrorF (fatal) 5085: /run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __RML_open_factory (fatal) 5085: /run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __cilkrts_watch_stack (fatal) 5085: /run/media/calibrator/HDD2TB/SteamLibrary/steamapps/common/Blender/blender: error: symbol lookup error: undefined symbol: __cilkrts_watch_stack (fatal) 5085: /usr/lib/libnvidia-glcore.so.550.67: error: symbol lookup error: undefined symbol: ErrorF (fatal) 5085: /usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_imageio_library_version (fatal) 5085: /usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_output_imageio_create (fatal) 5085: /usr/lib/osl.imageio.so: error: symbol lookup error: undefined symbol: osl_output_extensions (fatal) ```

@Calibrator The workaround would be to uninstall the Arch openshadinglanguage package, which probably also means uninstalling the blender package since it's a dependency.

I'll try to artificially reproduce the bug here and fix it.

@Calibrator The workaround would be to uninstall the Arch openshadinglanguage package, which probably also means uninstalling the blender package since it's a dependency. I'll try to artificially reproduce the bug here and fix it.
Author

Since the 4.1 version from Blender Builds is working fine and the issue only appears on the Steam version, I have no problem using LD_LIBRARY_PATH='' %command%. If you need me to do anything else, just let me know.

Since the 4.1 version from Blender Builds is working fine and the issue only appears on the Steam version, I have no problem using `LD_LIBRARY_PATH='' %command%`. If you need me to do anything else, just let me know.

I've been trying to reproduce this, but have had no luck. Also tried in Arch Linux in a VM.

It's not obvious to me why the plug-in should fail to load. Maybe it's a different in build flags, but not sure why I can't reproduce it then.

My plan is to disable loading OIIO plugins from LD_LIBRARY_PATH entirely, since it is quite risky. Upstream PR:
https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4243

I've been trying to reproduce this, but have had no luck. Also tried in Arch Linux in a VM. It's not obvious to me why the plug-in should fail to load. Maybe it's a different in build flags, but not sure why I can't reproduce it then. My plan is to disable loading OIIO plugins from `LD_LIBRARY_PATH` entirely, since it is quite risky. Upstream PR: https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4243
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2024-04-26 17:02:59 +02:00
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
5 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#120480
No description provided.