Proton games not launching

I’m on the nixos-unstable branch, when a try to launch a game using proton (set to 5.13-6) every game says Launching, waits a while, then just crashes before ever actually launching. Here’s the terminal output

unning Steam on nixos 21.05.git.7a1fbc38a4bM 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
Can't find 'steam-runtime-check-requirements', continuing anyway
WARNING: Using default/fallback debugger launch
/home/dalvescb/.local/share/Steam/ubuntu12_32/steam
[2021-05-22 13:39:52] Startup - updater built May 19 2021 01:53:57
Installing breakpad exception handler for appid(steam)/version(1621394999)
[2021-05-22 13:39:52] Loading cached metrics from disk (/home/dalvescb/.local/share/Steam/package/steam_client_metrics.bin)
[2021-05-22 13:39:52] Using the following download hosts for Public, Realm steamglobal
[2021-05-22 13:39:52] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-05-22 13:39:52] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-05-22 13:39:52] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1621394999)
[2021-05-22 13:39:52] Verifying installation...
[2021-05-22 13:39:52] Verification complete
Loaded SDL version 2.0.15-6501165
Installing breakpad exception handler for appid(steam)/version(1621394999)
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
[0522/133953.329716:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0522/133953.343183:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0522/133953.343217:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1621389263
[0522/133953.343220:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0522/133953.343222:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
[0522/133953.391545:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0522/133953.391579:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1621389263
[0522/133953.391582:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0522/133953.391585:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0522/133953.391972:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
CAppInfoCacheReadFromDiskThread took 42 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1621394999)
Proceed to auto login
CApplicationManagerPopulateThread took 61 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
[0522/133953.581620:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0522/133953.581667:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1621389263
[0522/133953.581672:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0522/133953.581676:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0522/133953.582189:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
Opted-in Controller Mask for AppId 0: 0
Installing breakpad exception handler for appid(steam)/version(1621394999)

(steam:66132): Gtk-WARNING **: 13:39:54.021: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
roaming config store loaded successfully - 4440 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 4ms
[0522/133956.393548:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0522/133956.444021:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0522/133956.464266:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(steam)/version(1621394999)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/dalvescb/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 4.06 seconds
[0522/133957.154773:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0522/133957.160578:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0522/133957.171158:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
BuildCompleteAppOverviewChange: 160
RegisterForAppOverview 1: 4ms
RegisterForAppOverview 2: 4ms
Installing breakpad exception handler for appid(steam)/version(1621394999)
[1145360]Non-Steam Controller Configs Enabled: 1
Installing breakpad exception handler for appid(steam)/version(1621394999)
Installing breakpad exception handler for appid(steam)/version(1621394999)
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to ShowLaunchOption with ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp waiting for user response to ShowLaunchOption ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp continues with user response "0"
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
/nix/store/s71mjl8gghi4gpr000gbc57z7zxbvbr6-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_type_ensure
Failed to load module: /nix/store/s71mjl8gghi4gpr000gbc57z7zxbvbr6-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
pressure-vessel-wrap[66443]: W: Found more than one possible libdrm data directory from provider
esync: up and running.
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
esync: up and running.
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
esync: up and running.
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 1145360: 0
/bin/sh\0-c\0'/mnt/HD4/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/mnt/HD4/SteamLibrary/steamapps/common/Proton 5.13'/proton waitforexitandrun  '/mnt/HD4/SteamLibrary/steamapps/common/Hades/x64/Hades.exe' /c=..\\ /steampowered /DirectLoadShell=true /DebugMessages=false /DebugKeysEnabled=false /ShowFPS=false /PerfDashWarnings=false /VerboseScriptLogging=false /UnsafeDebugKeysEnabled=false /LiveCreateTextures=false\0
Game update: AppID 1145360 "", ProcID 66947, IP 0.0.0.0:0
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 1145360
>>> Adding process 66947 for game ID 1145360
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 1145360, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 66948 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 66951 != 66948, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 66949 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/nix/store/s71mjl8gghi4gpr000gbc57z7zxbvbr6-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_type_ensure
Failed to load module: /nix/store/s71mjl8gghi4gpr000gbc57z7zxbvbr6-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
>>> Adding process 66950 for game ID 1145360
>>> Adding process 66952 for game ID 1145360
>>> Adding process 66953 for game ID 1145360
>>> Adding process 66954 for game ID 1145360
>>> Adding process 66957 for game ID 1145360
>>> Adding process 66958 for game ID 1145360
pressure-vessel-wrap[66948]: W: Found more than one possible libdrm data directory from provider
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 67349 for game ID 1145360
>>> Adding process 67350 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 67351 for game ID 1145360
>>> Adding process 67352 for game ID 1145360
>>> Adding process 67367 for game ID 1145360
>>> Adding process 67369 for game ID 1145360
>>> Adding process 67370 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
esync: up and running.
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 67371 for game ID 1145360
>>> Adding process 67372 for game ID 1145360
>>> Adding process 67373 for game ID 1145360
>>> Adding process 67376 for game ID 1145360
ERROR: ld.so: object '/home/dalvescb/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
wine: could not open working directory L"unix\\mnt\\HD4\\SteamLibrary\\steamapps\\common\\Hades\\x64\\", starting in the Windows directory.
>>> Adding process 67378 for game ID 1145360
Game update: AppID 1145360 "", ProcID 67372, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 67372): SteamUtils009 / Utils
Setting breakpad minidump AppID = 1145360
RecordSteamInterfaceCreation (PID 67372): SteamUser019 / User
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198981915761 [API loaded no]
RecordSteamInterfaceCreation (PID 67372): SteamUser019 / User
RecordSteamInterfaceCreation (PID 67372): SteamFriends015 / Friends
RecordSteamInterfaceCreation (PID 67372): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 67372): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 67372): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 67372): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 67372): STEAMAPPS_INTERFACE_VERSION008 / Apps
RecordSteamInterfaceCreation (PID 67372): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 67372): STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
RecordSteamInterfaceCreation (PID 67372): STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
RecordSteamInterfaceCreation (PID 67372): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 67372): SteamController006 / Controller
RecordSteamInterfaceCreation (PID 67372): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 67372): STEAMAPPLIST_INTERFACE_VERSION001 / AppList
RecordSteamInterfaceCreation (PID 67372): STEAMMUSIC_INTERFACE_VERSION001 / Music
RecordSteamInterfaceCreation (PID 67372): STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
RecordSteamInterfaceCreation (PID 67372): STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
RecordSteamInterfaceCreation (PID 67372): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 67372): STEAMVIDEO_INTERFACE_V002 / Video
RecordSteamInterfaceCreation (PID 67372): STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
pid 67374 != 67373, skipping destruction (fork without exec?)
Game removed: AppID 1145360 "", ProcID 67372
Game 1145360 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 1145360 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 1145360 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
Game 1145360 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 1145360 created interface STEAMINVENTORY_INTERFACE_V002 / Inventory
Game 1145360 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 1145360 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 1145360 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Game 1145360 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
Game 1145360 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 1145360 created interface STEAMUGC_INTERFACE_VERSION010 / UGC
Game 1145360 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 1145360 created interface STEAMVIDEO_INTERFACE_V002 / Video
Game 1145360 created interface SteamController006 / Controller
Game 1145360 created interface SteamFriends015 / Friends
Game 1145360 created interface SteamMatchMaking009 / Matchmaking
Game 1145360 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 1145360 created interface SteamNetworking005 / Networking
Game 1145360 created interface SteamUser019 / User
Game 1145360 created interface SteamUtils009 / Utils
Game 1145360 method call count for IClientUtils::RecordSteamInterfaceCreation : 22
Game 1145360 method call count for IClientUtils::GetSteamUILanguage : 1
Game 1145360 method call count for IClientUtils::GetAppID : 24
Game 1145360 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam
Exiting app 1145360
No cached sticky mapping in ActivateActionSet.

the error that stands out too me is an issue with wine, i.e.,

wine: could not open working directory L"unix\\home\\dalvescb\\.local\\share\\Steam\\", starting in the Windows directory.

I’m installing steam in my nixos configuration with

programs.steam.enable = true;

Any ideas whats up or anyone else experiencing a similar issue? Thanks in advanced

1 Like

steam is 32bit and needs 32bit support. This should get you going:

# Enable sound.
  sound.enable = true;
  hardware.pulseaudio = {
    enable = true;
    support32Bit = config.hardware.pulseaudio.enable;
    package = pkgs.pulseaudioFull;
  };
  hardware.opengl = {
    enable = true;
    driSupport32Bit = true;  
  };