| 27 Mar 2024 |
@eyjhb:eyjhb.dk | NixOS Gaming | 12:47:22 |
| 29 Mar 2024 |
| bombadeer joined the room. | 07:09:05 |
| 27 Mar 2024 |
| @admin:nixos.org joined the room. | 13:09:19 |
| 29 Mar 2024 |
bombadeer | 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 set the room name to "NixOS Gaming". | 13:09:33 |
| Room Avatar Renderer. | 13:09:34 |
| @admin:nixos.orgchanged room power levels. | 13:10:14 |
| @admin:nixos.org left the room. | 13:10:45 |
| 28 Mar 2024 |
| viruz joined the room. | 16:58:51 |
| 29 Mar 2024 |
@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 | The easiest way is probably to enable the "Steam Linux Runtime" compatibility tool in the game properties in Steam | 07:10:14 |
bombadeer | 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 | What is that command you're trying to run | 07:15:46 |
K900 | Are you trying to run it manually? | 07:15:50 |
K900 | That won't work, it needs to be started by Steam | 07:15:55 |
bombadeer | It was started by steam. I only get the console output because I started steam via the console | 07:16:14 |
bombadeer | * 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 | Are you on 23.11 or unstable? | 07:16:52 |
@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 | and you can't do that | 07:17:13 |
@elvishjerricco:matrix.org | because steam runs in a sandbox that your shell does not | 07:17:30 |
bombadeer | I'm on 23.11 | 07:17:33 |
K900 | Try unstable then, I think that particular thing should be fixed now | 07:17:49 |
bombadeer | And yes while it does look like that, I assure you that it was started via steam. | 07:17:49 |
bombadeer | I'll give switching to unstable a shot | 07:22:24 |
| @shalokshalom:kde.org joined the room. | 07:27:56 |
bombadeer | I'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 | No | 07:57:32 |
K900 | It's probably downloading shaders | 07:57:35 |
K900 | And not the actual game | 07:57:38 |