Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Northgard fails to launch due to missing libraries #299

Closed
2 of 3 tasks
Henne1191 opened this issue Sep 1, 2023 · 4 comments · Fixed by #399
Closed
2 of 3 tasks

Northgard fails to launch due to missing libraries #299

Henne1191 opened this issue Sep 1, 2023 · 4 comments · Fixed by #399
Labels
game-specific The issue is related to a specific game or set of games jira type/bug Something isn't working

Comments

@Henne1191
Copy link

Henne1191 commented Sep 1, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Have you checked the wiki for solutions?

  • I have searched the wiki

Is this a Steam Snap-specific issue?

  • This is a Steam Snap-specific issue

Current Behavior

the game does not start, running from a terminal shows the following errors:

/bin/sh\0-c\0/home/hendrik/snap/steam/common/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=466560 -- /home/hendrik/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/hendrik/snap/steam/common/.local/share/Steam/steamapps/common/Northgard/linux/run.sh'\0
chdir "/home/hendrik/snap/steam/common/.local/share/Steam/steamapps/common/Northgard"
flock /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/msttcorefonts/Arial.ttf LOCK_SH failed. errno = 13
(steam:32916): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed

(steam:32916): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
ERROR: ld.so: object '/home/hendrik/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/hendrik/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/hendrik/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/hendrik/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
** ERROR ** Missing library libXss.so.1
** ERROR ** Missing library libpulsecommon-15.99.so
** ERROR ** Missing library libXss.so.1
** ERROR ** Missing library libpulsecommon-15.99.so
** ERROR ** Missing library libXss.so.1
** ERROR ** Missing library libpulsecommon-15.99.so
** ERROR ** Missing library libXss.so.1
** ERROR ** Missing library libpulsecommon-15.99.so
** ERROR ** Missing library libXss.so.1
** ERROR ** Missing library libpulsecommon-15.99.so
sh: 1: notify-send: not found
src/module.c(373) : FATAL ERROR : Failed to load library sdl.hdll

Expected Behavior

the game should just start

Steps To Reproduce

No response

Environment

os_release: 
    name:               "Ubuntu"
    version:            "23.04 (Lunar Lobster)"
snap_info: 
    steam_revision:     154
    snapd_revision:     19993
lspci: 
    00:02.0:            Intel Corporation Iris Graphics 540 (rev 0a)
glxinfo: 
    gpu:                Mesa Intel(R) Iris(R) Graphics 540 (SKL GT3)
    gpu_version:        4.6 (Core Profile) Mesa 23.1.6 - kisak-mesa PPA
lscpu: 
    model_name:         Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

gaming-graphics-core22 version

No response

Anything else?

Maybe a regression? #19

@Henne1191 Henne1191 added the type/bug Something isn't working label Sep 1, 2023
@ashuntu
Copy link
Collaborator

ashuntu commented Sep 5, 2023

This looks similar to #262 as well as #19, though I'm not sure what resolved the issue in #262.

In #19 we discovered Northgard overwrites LD_LIBRARY_PATH, but it should have been resolved.

If you run snap run --shell steam, can you verify that those libraries exist in $SNAP (e.g. find $SNAP -name libpulsecommon-15.99.so)?

@Henne1191
Copy link
Author

Henne1191 commented Sep 6, 2023

This is the output I am getting:

hendrik@hendrik-XPS-13-9350:~$ snap run --shell steam
Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

hendrik@hendrik-XPS-13-9350:/home/hendrik$ find $SNAP -name libpulsecommon-15.99.so
/snap/steam/154/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so
hendrik@hendrik-XPS-13-9350:/home/hendrik$ find $SNAP -name libXss.so.1
hendrik@hendrik-XPS-13-9350:/home/hendrik$

So it seems one does exist and one does not?

@ashuntu ashuntu added the game-specific The issue is related to a specific game or set of games label Nov 29, 2023
@ashuntu ashuntu added the jira label Aug 12, 2024
@ashuntu
Copy link
Collaborator

ashuntu commented Aug 13, 2024

If you could, try this build of the snap: https://github.com/canonical/steam-snap/actions/runs/10376717242/artifacts/1808536272. Download the file, unzip it, and then run snap install *.snap --dangerous. Also make sure you are on edge snapd with snap refresh snapd --edge. Let me know if that build works for you and any errors you encounter.

Make sure to go back to stable versions after testing:

snap refresh steam --stable --amend
snap refresh snapd --stable

@ashuntu ashuntu mentioned this issue Aug 26, 2024
ashuntu added a commit that referenced this issue Aug 26, 2024
Fixes #299

---

UDENG-3870
@ashuntu
Copy link
Collaborator

ashuntu commented Aug 26, 2024

Should be fixed by #399, expect the fix to be in the edge channel of the Steam snap in a few hours. If this doesn't fully resolve the issue, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game-specific The issue is related to a specific game or set of games jira type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants