The game launched via Steam quits immediately after outputting the logs. However, using bottled resources with ge-proton10-25 and the dependencies provided by the Gaming template allows it to launch normally, though my local game saves are not loaded.
Below are the game logs.
Part of Steam output:
reaping pid: 43236 -- steam
chdir "/storage/Games/SteamLibrary/steamapps/common/manosaba_game"
ERROR: ld.so: object '/home/alec/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/alec/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/alec/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 43833 != 43832, skipping destruction (fork without exec?)
Game Recording - would start recording game 3101040, but recording for this game is disabled
Adding process 43832 for gameID 3101040
Game Recording - game stopped [gameid=3101040]
Removing process 43832 for gameID 3101040
The game is a simple single-player game, installed on other Linux distributions before installing NixOS, but the same problem occurs even after installing it on NixOS.
My device is a ASUS laptop with an i9-14xxx iGPU and an NVIDIA dGPU. nixos-hardware configuration is <nixos-hardware/asus/fx506hm>.
Part of hardware.nix(Filesystems are btrfs):
imports = [ <nixos-hardware/asus/fx506hm> ];
swapDevices = [ ];
# Intel iGPU
hardware.enableRedistributableFirmware = true;
boot.kernelParams = [ "i915.enable_guc=3" ];
games.nix(NixOS Module):
{ pkgs, ... }: {
programs = {
steam = {
enable = true;
gamescopeSession.enable = true;
package = pkgs.steam.override { privateTmp = false; };
};
gamemode.enable = true;
nix-ld = { enable = true; };
};
environment.systemPackages = with pkgs; [
steam-run
mangohud
protonup-qt
# lutris
bottles
# heroic
];
}
I don’t use commands from gamemode and gamescope.
I’ve searched through many tutorials, and to my understanding, most of them simply involve setting programs.steam.enable. I’m wondering if I’m missing something.