• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

BlueManCZ

Recruit
28 Badges
Mar 4, 2022
3
1
  • Cities: Skylines - Green Cities
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Prison Architect
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Cities: Skylines
Problem
Hello, I'm experiencing a strange problem with Stellaris and Paradox Launcher on Steam/Linux. When I press the "Resume" or "Play" button in the Launcher, I see a glimpse of the Stellaris logo/window and then it crashes resulting in a "Launching the game failed." error message.

Snímek z 2022-03-04 14-20-15.png


This happens for me in both Launcher versions - stable 2022.3 and beta 2022.4-rc.

When I navigate to the game directory and run the game from the terminal with `./stellaris`, everything works like a charm.

There are, unfortunately, no useful output messages or logs.

Specs
Game: v3.3.2 (87f3)
Steam: 1.0.0.68 64-bit
Linux kernel: 5.15.23-gentoo

Solution
(I found a solution while writing this question so I will write it here since it can be helpful for someone else.)

While experimenting with Paradox Launcher I stumbled across a log in `~/.local/share/Paradox\ Interactive/launcher-v2/logs/launcher-bootstrapper.log`.

The last line of the log was:
Code:
2022-03-04 14:36:54 [launcher] [INFO] Executing command `/home/user/.paradoxlauncher/launcher-v2--openbeta--2022.4-rc/Paradox Launcher --pdxlSessionId **censured** --pdxlGameDir /media/user/storage/SteamLibrary/steamapps/common/Stellaris --gameDir /media/user/storage/SteamLibrary/steamapps/common/Stellaris`

When I tried to execute this command from my directory, Paradox Launcher displayed an error window "Steam runtime communication error".
When I executed it from the game directory, everything worked fine.

This brought me to the idea that the problem with launching the Paradox Launcher from Steam may be related to the wrongly preloaded or missing `libsteam_api.so` and I was right. The solution for me was to edit the Steam game launch options to look like this:

Code:
LD_PRELOAD="/media/user/storage/SteamLibrary/steamapps/common/Stellaris/libsteam_api.so" %command%

I already encountered similar problems with the same solution in different games, so it may be something related to my Steam/Linux setup.

Have a nice day!
 
  • 1
Reactions: