!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

714 Members
Gaming things, my hands are typing words.183 Servers

Load older messages


SenderMessageTime
29 Mar 2024
@bombadeer:matrix.orgbombadeer joined the room.07:09:05
27 Mar 2024
@admin:nixos.org@admin:nixos.org joined the room.13:09:19
29 Mar 2024
@bombadeer:matrix.orgbombadeer

Hi! I'm trying to install Steam and play a game called Apico. My config looks like this:

  programs.steam = {
    enable = true;
    remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
    dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
    # withPrimus = true;
    # extraCompatPackages = with pkgs; [ bumblebee glxinfo ];
  };
  environment.systemPackages = with pkgs; [
    steam-run-native
  ];

I launched the steam app using the steam command, logged in, and installed the game in the /nix partition. I tried to launch the game from the Steam launcher and was met with:

[user@nixos:~/nixos]$ /bin/sh\0-c\0/home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1390190 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/APICO/run.sh'\0
chdir "/home/user/.local/share/Steam/steamapps/common/APICO"
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
./APICO: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
Uploaded AppInterfaceStats to Steam

I tried adding dependancies as defined in the wiki page, but it doesn't look like my system has those options:
error: The option 'programs.steam.extraCompatPackages' does not exist.\

Any ideas on what to do? I tried the steam-run-native package, but it was unable to launch my game for some reason:

[user@nixos:~/nixos]$ steam-run /home/user/.local/share/Steam/steamapps/common/APICO/run.sh 
chmod: cannot access 'APICO': No such file or directory
/home/user/.local/share/Steam/steamapps/common/APICO/run.sh: line 3: ./APICO: No such file or directory

Thanks for the help in advance :)

07:09:12
27 Mar 2024
@admin:nixos.org@admin:nixos.org set the room name to "NixOS Gaming".13:09:33
Room Avatar Renderer.13:09:34
@admin:nixos.org@admin:nixos.orgchanged room power levels.13:10:14
@admin:nixos.org@admin:nixos.org left the room.13:10:45
28 Mar 2024
@viruz:catgirl.cloudviruz joined the room.16:58:51
29 Mar 2024
@remcoschrijver:tchncs.de@remcoschrijver:tchncs.de
In reply to @maxeaubrey:matrix.org
Doesn't work in games with 64-bit builds either (e.g. Celeste, Poly Bridge), and there's nothing obvious as to why (I mean, it technically "works" in that it occasionally shows heavily corrupted blocks over where UI elements would be, but that's the extent of it for native stuff)
It has been hit or miss for me as well, but journalctl seems to point me to some dependency issues. But didn't find the time to dig deep and find the issue.
00:54:44
@k900:0upti.meK900The easiest way is probably to enable the "Steam Linux Runtime" compatibility tool in the game properties in Steam07:10:14
@bombadeer:matrix.orgbombadeer

I see, I did enable that and now I have a new error:

[user@nixos:~/nixos]$ /bin/sh\0-c\0/home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1390190 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 --  '/home/user/.local/share/Steam/steamapps/common/APICO/run.sh'\0
chdir "/home/user/.local/share/Steam/steamapps/common/APICO"
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pressure-vessel-wrap[59774]: W: "/run/current-system/sw/bin/getent" is unlikely to appear in "/run/host"
pressure-vessel-wrap[59774]: W: Found more than one possible libdrm data directory from provider
/nix/store/6jccsbgsxjvyydl25x2hx6hrfmyqd0wf-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_assertion_message_cmpint
Failed to load module: /nix/store/6jccsbgsxjvyydl25x2hx6hrfmyqd0wf-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
/nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiognomeproxy.so
/nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiognutls.so: undefined symbol: g_source_set_static_name
Failed to load module: /nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiognutls.so
/nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/75sqkz9mdqfzv1q9dcrkvzk73p630nxr-glib-networking-2.78.0/lib/gio/modules/libgiolibproxy.so
/nix/store/p2lfk2avsrbjvz080sw9nz4ancl7sx0f-gvfs-1.52.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/p2lfk2avsrbjvz080sw9nz4ancl7sx0f-gvfs-1.52.2/lib/gio/modules/libgvfsdbus.so
/nix/store/p2lfk2avsrbjvz080sw9nz4ancl7sx0f-gvfs-1.52.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/p2lfk2avsrbjvz080sw9nz4ancl7sx0f-gvfs-1.52.2/lib/gio/modules/libgioremote-volume-monitor.so
bwrap: Can't bind mount /oldroot/etc/group on /newroot/etc/group: Unable to mount source on destination: No such file or directory
Uploaded AppInterfaceStats to Steam
07:14:44
@k900:0upti.meK900What is that command you're trying to run07:15:46
@k900:0upti.meK900Are you trying to run it manually?07:15:50
@k900:0upti.meK900That won't work, it needs to be started by Steam07:15:55
@bombadeer:matrix.orgbombadeerIt was started by steam. I only get the console output because I started steam via the console 07:16:14
@bombadeer:matrix.orgbombadeer * It was started using the steam GUI's "Play button". I only get the console output because I started steam via the console 07:16:48
@k900:0upti.meK900Are you on 23.11 or unstable?07:16:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bombadeer: i think the point is that it looks like you tried to copy/paste the command, given that it's there next to your shell prompt in the code block 07:17:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.organd you can't do that07:17:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbecause steam runs in a sandbox that your shell does not07:17:30
@bombadeer:matrix.orgbombadeerI'm on 23.1107:17:33
@k900:0upti.meK900Try unstable then, I think that particular thing should be fixed now07:17:49
@bombadeer:matrix.orgbombadeerAnd yes while it does look like that, I assure you that it was started via steam. 07:17:49
@bombadeer:matrix.orgbombadeerI'll give switching to unstable a shot 07:22:24
@shalokshalom:kde.org@shalokshalom:kde.org joined the room.07:27:56
@bombadeer:matrix.orgbombadeerI've managed to switch to unstable, but noticed that apico is being downloaded again. Is this because it's installed in the /nix partition? 07:55:26
@k900:0upti.meK900No07:57:32
@k900:0upti.meK900It's probably downloading shaders07:57:35
@k900:0upti.meK900And not the actual game07:57:38
@bombadeer:matrix.orgbombadeer It works! Updating to unstable + turning on "Force game to use Steam Linux Runtime 1.0" seemed to do the trick. Thanks ElvishJerricco! 08:01:53

Show newer messages


Back to Room ListRoom Version: 6