| 26 Mar 2024 |
@atemu12:matrix.org | That's why you usually use tools such as Steam, Heroic, Bottles or Lutris to manage all of that for you | 12:16:03 |
K900 | Or just use wine-ge which comes with everything integrated | 12:16:16 |
K900 | * Or just use proton-ge which comes with everything integrated | 12:16:36 |
SomeoneSerge (back on matrix) | Not sure which one of these worked but hey I'm now in the "main menu"! https://gist.github.com/SomeoneSerge/7c731fa556f2bf8074b422af828c9e47#file-default-nix-L136-L137 | 13:22:25 |
SomeoneSerge (back on matrix) | I also remember seeing messages about "nix-building wine prefixes" in this chat. Any working examples? The first issue I ran into was msiexec trying to spawn a window inside the nix sandbox and, probably, busy-looping | 13:24:07 |
Charles ⚡️ | If memory serves it was more like "building a script with nix that would then build a wineprefix", not directly building the prefix | 14:39:55 |
| @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 |