| 26 Mar 2024 |
| @tiziodcaio:matrix.org left the room. | 15:00:16 |
| @linucifer:envs.net joined the room. | 19:08:55 |
| 28 Mar 2024 |
| rootname left the room. | 19:56:32 |
| 27 Mar 2024 |
| @ian:graham.tokyo left the room. | 00:38:26 |
| 28 Mar 2024 |
@maxeaubrey:matrix.org | Is anything special required to have the steam overlay working in native games? For some reason it just doesn't work for me - but only for anything native, if the game is running under proton it's all fine. This is on two different systems, both AMD, running nixpkgs master, but the problem goes back months for me so I'm wondering if I'm missing something in my nix config | 20:51:48 |
| 27 Mar 2024 |
| @ian:graham.tokyo joined the room. | 06:35:31 |
@eyjhb:eyjhb.dk | Ehm, what is this room name again? | 07:57:08 |
| 28 Mar 2024 |
@atemu12:matrix.org | 32bit perhaps? Should work though | 20:52:23 |
| 27 Mar 2024 |
@eyjhb:eyjhb.dk | Got it, nvm | 07:57:22 |
| 28 Mar 2024 |
@atemu12:matrix.org | I don't explicitly remember using it in a native game though | 20:52:34 |
| 27 Mar 2024 |
@falaichte:techsaviours.org | In reply to @eyjhb:eyjhb.dk Ehm, what is this room name again? What was the room calld again? | 12:46:17 |
| 28 Mar 2024 |
@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) | 20:55:36 |
| 27 Mar 2024 |
@falaichte:techsaviours.org | In reply to @eyjhb:eyjhb.dk Ehm, what is this room name again? * What was the room called again? | 12:46:27 |
| 29 Mar 2024 |
LDprg | steam overlay does work on native games, but only when using x11 (wayland wont work at all) | 05:46:34 |
| 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 |