I installed steam, but I cant run any games. In GUI game just fails to launch (crashes while launching). I managed to install Terraria which has a native version and got it to run with steam-run ./Terraria. But not every game I own has an executable bash file to launch from. I have no clue what to do, I have tried so many things so far:
Replacing steam libraries
Running with steam-run + proton from terminal
I tried steam-run %command% in launch options
Nothing seems to work. I thought that nix is gonna be easier as long as I controll the config and not harder.
PS
I tried reinstalling my games. Didnât fix it
PPS
Flatpak version behaves the same
[2026-02-04 23:54:09] Game process removed: AppID 105600 â/home/jrawa/.local/share/Steam/ubuntu12_32/steam-launch-wrapper â /home/jrawa/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=105600 â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntime_soldierâ/_v2-entry-point --verb=waitforexitandrun â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntimeâ/scout-on-soldier-entry-point-v2 â â/home/jrawa/.local/share/Steam/steamapps/common/Terraria/Terrariaââ, ProcID 63501 [2026-02-04 23:54:27] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to CheckShaderDepotManifest with ââ [2026-02-04 23:54:27] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to RunningInstallScript with ââ [2026-02-04 23:54:27] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to SynchronizingCloud with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to SynchronizingStats with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to ShowInterstitials with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp waiting for user response to ShowInterstitials ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp continues with user response âShowInterstitialsâ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to SiteLicenseSeatCheckout with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to DelayLaunch with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to CreatingProcess with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp waiting for user response to CreatingProcess ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp continues with user response âCreatingProcessâ [2026-02-04 23:54:28] /bin/sh\0-c\0/home/jrawa/.local/share/Steam/ubuntu12_32/steam-launch-wrapper â /home/jrawa/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=105600 â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntime_soldierâ/_v2-entry-point --verb=waitforexitandrun â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntimeâ/scout-on-soldier-entry-point-v2 â â/home/jrawa/.local/share/Steam/steamapps/common/Terraria/Terrariaâ\0 [2026-02-04 23:54:28] Game process added : AppID 105600 â/home/jrawa/.local/share/Steam/ubuntu12_32/steam-launch-wrapper â /home/jrawa/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=105600 â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntime_soldierâ/_v2-entry-point --verb=waitforexitandrun â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntimeâ/scout-on-soldier-entry-point-v2 â â/home/jrawa/.local/share/Steam/steamapps/common/Terraria/Terrariaââ, ProcID 63505, IP 0.0.0.0:0 [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to WaitingGameWindow with ââ [2026-02-04 23:54:28] GameAction [AppID 105600, ActionID 6] : LaunchApp changed task to Completed with ââ [2026-02-04 23:54:28] Game process removed: AppID 105600 â/home/jrawa/.local/share/Steam/ubuntu12_32/steam-launch-wrapper â /home/jrawa/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=105600 â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntime_soldierâ/_v2-entry-point --verb=waitforexitandrun â â/mnt/toshiba/home/janraw/steamapps/steamapps/common/SteamLinuxRuntimeâ/scout-on-soldier-entry-point-v2 â â/home/jrawa/.local/share/Steam/steamapps/common/Terraria/Terrariaââ, ProcID 63505
Could you share your configuration.nix? The main benefit of NixOS is that you can show us exactly what you did, unlike other distros where weâd be playing a guessing game once things go wrong (and well, things do also go wrong on other distros).
Use a code block (with 3 backticks) so your code is readable. Would be nice if you could update your logs to use a code block as well, theyâre completely impossible to read as-is.
Thanks for help. Here you go. I also use home-manager (with nothing steam related) and my system is installed on btrfs partition with subvolumes (which should matter, but im all out of ideas)
I would suggest removing all of that first of all.
For now, donât use the flatpak. Iâd suggest deleting all your steam folders and fully reinstalling everything before continuing (i.e. rm -rf ~/.local/share/Steam ~/.steam ~/.steampath ~/.steampid, after shutting down steam, and then just starting steam again).
To be very clear about your test case, could you tell me also specifically which game youâre running, which compatibility tool (if any) youâre configuring, and what launch options youâre setting?
Ideally Iâd recommend leaving everything on the defaults at first; i.e., no launch settings, and the default proton compatibility layer that steam auto-downloads. Steam should also be providing a runtime, so using steam-run muddies the waters; donât use steam-run within steam, itâs redundant.
Once youâve confirmed that doesnât work, we can try the nixpkgs proton-ge version, and see from there.
Dropped steam ovverides and deleted the local file you specified. Unfortunately still doesnât work, but I run steam in dev mode with console and apparently the game cant load libraries:
exec ./steamwebhelper -nocrashdialog -lang=en_US -cachedir=/home/jrawa/.local/share/Steam/config/htmlcache -steampid=23734 -buildid=1769025840 -steamid=0 -logdir=/home/jrawa/.local/share/Steam/logs -uimode=7 -startcount=0 -steamuniverse=Public -realm=Global -clientui=/home/jrawa/.local/share/Steam/clientui -steampath=/home/jrawa/.local/share/Steam/ubuntu12_32/steam -launcher=0 -dev --valve-enable-site-isolation --enable-smooth-scrolling --password-store=basic --log-file=/home/jrawa/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --disable-component-update --gaia-url=http://disabled.invalid --enable-features=PlatformHEVCDecoderSupport --disable-features=WinRetrieveSuggestionsOnlyOnDemand,SpareRendererForSitePerProcess,DcheckIsFatal,BlockPromptsIfIgnoredOften,ValveFFmpegAllowLowDelayHEVC
Desktop state changed: desktop: { pos: 0, 0 size: 2560,1440 } primary: { pos: 0, 0 size: 2560,1440 }
Caching cursor image for , size 40x40, serial 3, cache size = 0
chdir "/home/jrawa/.local/share/Steam/steamapps/common/Loop Hero"
ERROR: ld.so: object '/home/jrawa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jrawa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jrawa/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/jrawa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jrawa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game Recording - would start recording game 1282730, but recording for this game is disabled
Adding process 24395 for gameID 1282730
Adding process 24396 for gameID 1282730
Adding process 24397 for gameID 1282730
pressure-vessel-wrap[24396]: W: Unable to determine architecture of provider / ldconfig: Error reading "(null)" ELF header: invalid `Elf' handle
pressure-vessel-wrap[24396]: W: "run/opengl-driver/share/drirc.d" is unlikely to appear in "/run/host"
pressure-vessel-wrap[24396]: W: "run/opengl-driver-32/share/drirc.d" is unlikely to appear in "/run/host"
pid 24555 != 24551, skipping destruction (fork without exec?)
pid 24560 != 24551, skipping destruction (fork without exec?)
Adding process 24551 for gameID 1282730
./Loop_Hero: error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory
reaping pid: 23735 -- steam
Game Recording - game stopped [gameid=1282730]
Removing process 24551 for gameID 1282730
Removing process 24397 for gameID 1282730
Removing process 24396 for gameID 1282730
Removing process 24395 for gameID 1282730
Thatâs technically a game bug; theyâre using libraries not present in the steam runtime. If they want to do this they should statically link them. You can nonetheless add that specific library to the steam environment:
Itâs also not a generic fix; I canât give you instructions for all bugs in random games with poorly thought-out native Linux binaries. Do you have issues with any other games?
Yeah, maybe not the best example I could have choosen for testing. The most important thing is that it stopped silen crashing and now I can actually troubleshoot.
PS
I tried running Terraria and it launched fine
I will mark your previous answer as solution. Thank u so much!!!