Blender 3.5 Fails to Launch Through Steam #107385

Closed
opened 2023-04-26 21:33:47 +02:00 by Omar · 7 comments

System Information
Operating system: Linux-5.19.0-38-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.105.01

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Short description of error

Since 3.5.1 Blender won't launch through steam, but will launch manually. On the steam forums it seems other people using 3.5 have had the same issue. The issue is not present in 3.4.

Error Log:

Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158755)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158773)
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
roaming config store loaded successfully - 8506 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158785)
BRefreshApplicationsInLibrary 1: 1ms
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158804)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158805)
GetWin32Stats: restoring previous glx context
ExecCommandLine: "'/home/omar/.local/share/Steam/ubuntu12_32/steam' 'steam://rungameid/365670'"
ExecuteSteamURL: "steam://rungameid/365670"
System startup time: 6.16 seconds
BuildCompleteAppOverviewChange: 472 apps
RegisterForAppOverview 1: 5ms
RegisterForAppOverview 2: 6ms
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 365670, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 365670, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'\0
Game process added : AppID 365670 "/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'", ProcID 158853, IP 0.0.0.0:0
chdir /home/omar/.local/share/Steam/steamapps/common/Blender
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
/home/omar/.local/share/Steam/steamapps/common/Blender/blender: symbol lookup error: /home/omar/.local/share/Steam/steamapps/common/Blender/lib/libopenvdb.so.10.0: undefined symbol: _ZTIN3tbb4taskE
GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to Completed with ""
Game process removed: AppID 365670 "/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'", ProcID 158853 
Uploaded AppInterfaceStats to Steam

Relevant Section: 
symbol lookup error: /home/omar/.local/share/Steam/steamapps/common/Blender/lib/libopenvdb.so.10.0: undefined symbol: _ZTIN3tbb4taskE

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Linux-5.19.0-38-generic-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.105.01 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Short description of error** Since 3.5.1 Blender won't launch through steam, but will launch manually. On the steam forums it seems other people using 3.5 have had the same issue. The issue is not present in 3.4. Error Log: ``` Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158755) Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158773) ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Invalid argument ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe ioctl (GFEATURE): Broken pipe roaming config store loaded successfully - 8506 bytes. migrating temporary roaming config store Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158785) BRefreshApplicationsInLibrary 1: 1ms Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158804) Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(158805) GetWin32Stats: restoring previous glx context ExecCommandLine: "'/home/omar/.local/share/Steam/ubuntu12_32/steam' 'steam://rungameid/365670'" ExecuteSteamURL: "steam://rungameid/365670" System startup time: 6.16 seconds BuildCompleteAppOverviewChange: 472 apps RegisterForAppOverview 1: 5ms RegisterForAppOverview 2: 6ms GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with "" GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with "" GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with "" GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to CreatingProcess with "" GameAction [AppID 365670, ActionID 1] : LaunchApp waiting for user response to CreatingProcess "" GameAction [AppID 365670, ActionID 1] : LaunchApp continues with user response "CreatingProcess" /bin/sh\0-c\0/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'\0 Game process added : AppID 365670 "/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'", ProcID 158853, IP 0.0.0.0:0 chdir /home/omar/.local/share/Steam/steamapps/common/Blender GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to WaitingGameWindow with "" /home/omar/.local/share/Steam/steamapps/common/Blender/blender: symbol lookup error: /home/omar/.local/share/Steam/steamapps/common/Blender/lib/libopenvdb.so.10.0: undefined symbol: _ZTIN3tbb4taskE GameAction [AppID 365670, ActionID 1] : LaunchApp changed task to Completed with "" Game process removed: AppID 365670 "/home/omar/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=365670 -- /home/omar/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/omar/.local/share/Steam/steamapps/common/Blender/blender'", ProcID 158853 Uploaded AppInterfaceStats to Steam Relevant Section: symbol lookup error: /home/omar/.local/share/Steam/steamapps/common/Blender/lib/libopenvdb.so.10.0: undefined symbol: _ZTIN3tbb4taskE ``` **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
Omar added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-26 21:33:47 +02:00

Do you have the LD_LIBRARY_PATH environment variable set? Maybe pointing to a directory that contains a libtbb.so?

We now dynamically link to various libraries, and this might be a conflict with a TBB library installed elsewhere. If LD_LIBRARY_PATH contains a system directory like /usr/lib, that is typically unnecessary.

If this is the issue, we can make it so Blender links to a specific .so.version file instead of the .so file. That would still not guarantee the Blender version of this library to be used, but will likely avoid the conflict.

Do you have the `LD_LIBRARY_PATH` environment variable set? Maybe pointing to a directory that contains a `libtbb.so`? We now dynamically link to various libraries, and this might be a conflict with a TBB library installed elsewhere. If `LD_LIBRARY_PATH` contains a system directory like `/usr/lib`, that is typically unnecessary. If this is the issue, we can make it so Blender links to a specific `.so.version` file instead of the `.so` file. That would still not guarantee the Blender version of this library to be used, but will likely avoid the conflict.
Author

@brecht no I don't think it is set on my system. image

@brecht no I don't think it is set on my system. ![image](/attachments/0f6bc018-fdb8-4b2d-8c94-5444a1e930c6)
4.9 KiB
Author

I don't know what steam linux runtime is but enabling it lets blender launch through steam. Although now my gpu is not being detected. 😐 image

I don't know what steam linux runtime is but enabling it lets blender launch through steam. Although now my gpu is not being detected. 😐 ![image](/attachments/a35669f2-b3e0-478d-ae34-175424e64e6e)

Using the runtime isolates it from your regular system libraries, which sidesteps the problem. But indeed that can cause other problems like system libraries for GPU rendering not being detected.

There is probably still something specific to your system or Linux distribution that leads to this conflict, it would be good to figure out where that is.

  • Which Linux distribution are you using?
  • Do you have a libtbb.so file on your system outside of Blender, and if so in which location(s)?
  • Does a release downloaded from https://www.blender.org/download/ have the same problem?
Using the runtime isolates it from your regular system libraries, which sidesteps the problem. But indeed that can cause other problems like system libraries for GPU rendering not being detected. There is probably still something specific to your system or Linux distribution that leads to this conflict, it would be good to figure out where that is. * Which Linux distribution are you using? * Do you have a `libtbb.so` file on your system outside of Blender, and if so in which location(s)? * Does a release downloaded from https://www.blender.org/download/ have the same problem?
Author
  1. image

  2. I have libtbb.so in /usr/lib

  3. the release from blender.org/download/ works without issues. Also executing the steam release from the file manager works without issue.

I renamed my libtbb in /usr/lib and copied over the one from blender/lib and then I was able to launch from steam. I'm gonna undo this change because I don't know how it will affect my system.

Hope this helps.

1. ![image](/attachments/3bf43521-f31c-4709-950c-df87b78dd571) 2. I have libtbb.so in /usr/lib 3. the release from blender.org/download/ works without issues. Also executing the steam release from the file manager works without issue. I renamed my libtbb in /usr/lib and copied over the one from blender/lib and then I was able to launch from steam. I'm gonna undo this change because I don't know how it will affect my system. Hope this helps.
Contributor

While the PR made for this issue may have helped at the time, I found that the same or a highly related problem still exists today on the latest alpha (cc5f666672). Also, while #107362 hasn't provided enough information to be certain, I have a strong suspicion that it is related, so I might as well point it out.

Even when not using the "Steam Linux Runtime" compatibility tool, Steam does still end up launching the process does wrapped in its own runtime libs. You can see this by setting Blender's launch options in Steam to env; %command%. On my system, Steam overrides LD_LIBRARY_PATH to use various folders in ~/.local/share/Steam/ubuntu12_32/steam-runtime, of which at least one contains a libtbb.so.2 file.

Setting the launch options to LD_LIBRARY_PATH='' %command% is enough of a workaround to get Blender running again, but I have no idea how to fix this in a less hacky way for all users.

While the PR made for this issue may have helped at the time, I found that the same or a highly related problem still exists today on the latest alpha (cc5f666672447f3d4132dcd5fa7b6943b8a5ee79). Also, while #107362 hasn't provided enough information to be certain, I have a strong suspicion that it is related, so I might as well point it out. Even when not using the "Steam Linux Runtime" compatibility tool, Steam does still end up launching the process does wrapped in its own runtime libs. You can see this by setting Blender's launch options in Steam to `env; %command%`. On my system, Steam overrides `LD_LIBRARY_PATH` to use various folders in `~/.local/share/Steam/ubuntu12_32/steam-runtime`, of which at least one contains a `libtbb.so.2` file. Setting the launch options to `LD_LIBRARY_PATH='' %command%` is enough of a workaround to get Blender running again, but I have no idea how to fix this in a less hacky way for all users.

With the latest changes this should now be fixed for all versions on Steam, including 3.5, 3.6 and 4.0.

With the latest changes this should now be fixed for all versions on Steam, including 3.5, 3.6 and 4.0.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-06-21 17:12:24 +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
3 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#107385
No description provided.