canonical / steam-snap

Steam as a snap
https://snapcraft.io/steam
76 stars 10 forks source link

Paradox Launcher Crash on Start #284

Open lkishalmi opened 1 year ago

lkishalmi commented 1 year ago

Describe the bug I have two Paradox interactive games. Stellaris and Cities: Skylines. Both games crash on the start, as they use the Paradox Launcher.

It seems Stellaris can be executed using the stellaris binary after the install. Unfortunately Cities: Skylines has additional problems. Though this issue is just about to fix the Paradox Launcher issue.

To Reproduce Steps to reproduce the behavior:

  1. Install Stellaris or Cities: Skylines'
  2. Click on 'Play'
  3. The game won't start.

Expected behavior At least the Game Launcher is displayed.

Environment

os_release: 
    name:               "Ubuntu"
    version:            "23.04 (Lunar Lobster)"
snap_info: 
    steam_revision:     146
    snapd_revision:     19457
lspci: 
    04:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Device 15e7 (rev c1)
glxinfo: 
    gpu:                RENOIR (renoir, LLVM 15.0.7, DRM 3.49, 6.2.0-24-generic)
    gpu_version:        4.6 (Core Profile) Mesa 23.1.2 - kisak-mesa PPA
lscpu: 
    model_name:         AMD Ryzen 7 5825U with Radeon Graphics
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

Logs

ExecuteSteamURL: "steam://rungameid/281990"
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 281990, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 281990, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=281990 -- /home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris/dowser'\0
Game process added : AppID 281990 "/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=281990 -- /home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris/dowser'", ProcID 270114, IP 0.0.0.0:0
chdir "/home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris"
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""

(steam:268572): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
GameAction [AppID 281990, ActionID 2] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

(steam:268572): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
Game process removed: AppID 281990 "/home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=281990 -- /home/lkishalmi/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris/dowser'", ProcID 270114 
ThreadGetProcessExitCode: no such process 270186
ThreadGetProcessExitCode: no such process 270180
ThreadGetProcessExitCode: no such process 270178
ThreadGetProcessExitCode: no such process 270179
ThreadGetProcessExitCode: no such process 270172
ThreadGetProcessExitCode: no such process 270165
ThreadGetProcessExitCode: no such process 270160
ThreadGetProcessExitCode: no such process 270159
Uploaded AppInterfaceStats to Steam

I've found this one: /home/lkishalmi/snap/steam/common/.local/share/Paradox Interactive/launcher-v2/logs/launcher-bootstrapper.log

2023-07-07 17:54:14 [main] [INFO] Bootstrapper version: 2023.1
2023-07-07 17:54:14 [main] [INFO] Environment: prod
2023-07-07 17:54:14 [main] [INFO] Reading launcher versions in /home/lkishalmi/snap/steam/common/.paradoxlauncher
2023-07-07 17:54:14 [launcher] [DEBUG] Found 4 directories/files, checking whether they're valid launcher installations
2023-07-07 17:54:14 [launcher] [DEBUG] Checking .cpatch
2023-07-07 17:54:14 [launcher] [DEBUG] .cpatch has invalid dirname (false)
2023-07-07 17:54:14 [launcher] [DEBUG] Skipping file: ThirdPartyLicenses.txt
2023-07-07 17:54:14 [launcher] [DEBUG] Skipping file: bootstrapper-v2
2023-07-07 17:54:14 [launcher] [DEBUG] Checking launcher-v2.2023.2
2023-07-07 17:54:14 [launcher] [DEBUG] Extracted version name `2023.2` and branch `` from path: `/home/lkishalmi/snap/steam/common/.paradoxlauncher/launcher-v2.2023.2`
2023-07-07 17:54:14 [launcher] [DEBUG] Checking whether /home/lkishalmi/snap/steam/common/.paradoxlauncher/launcher-v2.2023.2/.cpatch/launcher-v2_1/version exists
2023-07-07 17:54:14 [launcher] [DEBUG] Found valid installation under /home/lkishalmi/snap/steam/common/.paradoxlauncher/launcher-v2.2023.2/.cpatch/launcher-v2_1/version
2023-07-07 17:54:14 [main] [INFO] Found 1 launcher version(s) in total
2023-07-07 17:54:14 [launcher] [INFO] Branch file `/home/lkishalmi/snap/steam/common/.paradoxlauncher/beta_branch` does not exist
2023-07-07 17:54:14 [main] [INFO] Found `` branch
2023-07-07 17:54:14 [main] [INFO] Starting bootstrapper again in telemetry mode in /home/lkishalmi/snap/steam/common/.paradoxlauncher/bootstrapper-v2, args: --pdxl-telemetry-only --pdxl-application-session-id=55d09574-3518-49aa-a8d5-b781dfabaac5
2023-07-07 17:54:14 [main] [INFO] Latest version is `2023.2` from branch ``
2023-07-07 17:54:14 [launcher] [INFO] Launching /home/lkishalmi/snap/steam/common/.paradoxlauncher/launcher-v2.2023.2/Paradox Launcher
2023-07-07 17:54:14 [launcher] [INFO] Executing command `/home/lkishalmi/snap/steam/common/.paradoxlauncher/launcher-v2.2023.2/Paradox Launcher --pdxlSessionId 55d09574-3518-49aa-a8d5-b781dfabaac5 --pdxlGameDir /home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris --gameDir /home/lkishalmi/snap/steam/common/.local/share/Steam/steamapps/common/Stellaris`
2023-07-07 17:54:14 [main] [INFO] Telemetry flag --pdxl-telemetry-only is set
2023-07-07 17:54:14 [main] [INFO] ApplicationSessionId flag --pdxl-application-session-id is set
2023-07-07 17:54:14 [main] [INFO] Got application-session-id from args, using it
2023-07-07 17:54:14 [main] [INFO] Bootstrapper (telemetry only) version: 2023.1
2023-07-07 17:54:14 [main] [INFO] Environment (telemetry only): prod
2023-07-07 17:54:15 [main] [ERROR] Unable to send telemetry:
Telemetry request resulted in non 2xx HTTP status: 400
2023-07-07 17:54:15 [main] [INFO] Telemetry done, quitting
knro commented 1 year ago

Have exact issue here, started 1-2 days ago

shithedark commented 1 year ago

Same issue trying to launch Dota 2 when using Nvidia driver.

fuhrriel commented 1 year ago

Same issue with stellaris, log looks the same.

knro commented 1 year ago

Yes Stellaris not working for me as well. When I downgrade, it works but I lose all in-game images :(

grimechristopher commented 1 year ago

Also have the issue with Cities and Stellaris. Steam is stuck on loading

Bolverik commented 1 year ago

Same problem. I tried Stellaris and AOW4.

ShadowWarfare commented 1 year ago

Same problem, but with Stellaris.

pas116cal commented 1 year ago

I have this problem with HOI4. No matter which renderer i use it crashes loading either the GUI or it closes when loading sprites.

maxice8 commented 1 year ago

Also applies to Europa Universalis IV, Crusader Kings II, and Imperator: Rome.

I assume anything that uses the Electron-based Paradox Launcher is affected

racsnet commented 1 year ago

Same problem here on Arch, trying to play Stellaris (however Stellaris without launcher starts ... but i want to enable Mods). Then I tryed to install Paradox Launcher without Steam but dowser keeps crashing.

tenomo commented 5 months ago

same issues, tried Crusaders Kings 3, HOI4, Stelaris

ashuntu commented 3 months ago

If not already, this may work now with 2.64 snapd. You can try by refreshing snapd with snap refresh snapd --edge (and restarting). Make sure to go back to stable after testing with snap refresh snapd --stable.

anonymousguy31 commented 1 month ago

If not already, this may work now with 2.64 snapd. You can try by refreshing snapd with snap refresh snapd --edge (and restarting). Make sure to go back to stable after testing with snap refresh snapd --stable.

I tried Stellaris and Skylines on snapd 2.65.3 stable and Steam snap 1.0.0.79 and the launcher worked.