Skip to content

"The Stanley Parable" don't start on Steam #92572

Closed

Description

@davidak

Describe the bug
the game has native linux support, but fails to start

it also don't work on other distros like Arch, Mint or Ubuntu

is that something we can fix in NixOS/our Steam package or does the game developer or steam has to fix it?

terminal output:

Installing breakpad exception handler for appid(steam)/version(1591251555)
[221910]Non-Steam Controller Configs Enabled: 1
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
GameAction [AppID 221910, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 221910, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 221910, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 221910, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 221910, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 221910, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 221910: 0
Game update: AppID 221910 "", ProcID 17128, IP 0.0.0.0:0
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 221910
>>> Adding process 17128 for game ID 221910
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 221910, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
>>> Adding process 17129 for game ID 221910
pid 17130 != 17129, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong

To Reproduce
Steps to reproduce the behavior:

  1. open steam
  2. start "The Stanley Parable"

Expected behavior
game works

Additional context
https://www.protondb.com/app/221910

Similar errors: #83603

Notify maintainers
@abbradar

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.6.17, NixOS, 20.03.2262.2b417708c28 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.6
  • channels(root): "home-manager-20.03, nixos-20.03.2262.2b417708c28, nixos-hardware, nixos-unstable-20.09pre230335.9480bae3370"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: steam
# a list of nixos modules affected by the problem
module:

Activity

  1. added
    0.kind: bug
    on Jul 7, 2020
  2. kira-bruneau commented on Jul 7, 2020

    @kira-bruneau
    Contributor

    Is the game 64bit? It looks like it's trying to LD_PRELOAD the wrong overlay. There might be some way to force it to use ~/.local/share/ubuntu12_64/gameoverlayrenderer.so instead.

    EDIT: It doesn't look like that's actually the issue: https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Wrong_ELF_class

  3. kira-bruneau commented on Jul 7, 2020

    @kira-bruneau
    Contributor

    I would recommend running it with LD_DEBUG=libs or strace, it may be failing to dynamically load a library.

  4. pbogdan commented on Jul 7, 2020

    @pbogdan
    Member

    Changing the game wrapper / launcher like this:

    --- stanley.orig        2020-07-08 00:52:39.788990496 +0100
    +++ stanley     2020-07-08 00:52:57.754132002 +0100
    @@ -15,7 +15,7 @@
        export DYLD_LIBRARY_PATH="${GAMEROOT}"/bin:$DYLD_LIBRARY_PATH
     elif [ "$UNAME" == "Linux" ]; then
        # prepend our lib path to LD_LIBRARY_PATH
    -   export LD_LIBRARY_PATH="${GAMEROOT}"/bin:$LD_LIBRARY_PATH
    +   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${GAMEROOT}"/bin
     fi
    
     if [ -z $GAMEEXE ]; then

    fixed it for me when trying out the demo though the game spat out few more errors (related to OpenGL drivers) than what's in your output so not sure if that will work for you and I can't say I'm particularly inclined to debug this any further.

  5. added
    6.topic: steam
    on Jul 8, 2020
  6. jonringer commented on Jul 31, 2020

    @jonringer
    Contributor

    on unstable, I'm able to start this game without modification. Is this still an issue?

  7. stale commented on Jan 30, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  8. added
    2.status: stale
    on Jan 30, 2021
  9. jonringer commented on Jan 30, 2021

    @jonringer
    Contributor

    I was able to start this 6 months ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug2.status: stale6.topic: steam

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions