HGL
wise-white

Trying to game on NixOS

i'm trying to play games through heroic on my nix and i can't launch any game, the same didn't happen on arch and i'm so confused. I'm still very new to nix. here is a proton log: https://paste.gloriouseggroll.tv/?16f6c38b9cee1076#CDtTpCK7hzbkjyFLyBTcodTrbsWeP4x8F8igcnex5Ugd and here is a heroic log: https://paste.gloriouseggroll.tv/?494e4b8080052ab1#64HTaAUha8wQSLv4c1N85QpzauFkc4ExKFMxdcGSH4hm
GE's dumpster fire of shitposting
Encrypted note on PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
GE's dumpster fire of shitposting
Encrypted note on PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
53 Replies
dependent-tan
dependent-tan2mo ago
Check if your Steam games works If not, then a setup issue
judicial-coral
judicial-coral2mo ago
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
That almost sounds like a game file is missing. The NixOS heroic package is unofficial, and has had some weird quirks I have yet to work out, but this looks like it might not be the issue here.
wise-white
wise-whiteOP2mo ago
i'm trying reinstalling my games then but could it be my setup? i made sure to enable everything right :c i have mesa-git from chaotic nyx tho now that i noticed there is two heroic packages? what is the one i should be using? heroic and heroic-unwrapped yeah still not launching i'm loving nix but this is a huge issue for me
judicial-coral
judicial-coral2mo ago
you almost never want to use -unwrapped packages. Do any games run on your system?
wise-white
wise-whiteOP2mo ago
yess minecraft is running through prismlauncher i'm trying to run games on heroic with winewayland if that is useful i don't use xwayland do you think i need to enable something specific on my nix config? i will check if games work through lutris oh maybe i should install steam for its dependencies
judicial-coral
judicial-coral2mo ago
steam shouldn't matter for games under proton
wise-white
wise-whiteOP2mo ago
yes i know but if i'm lacking dependencies for my games idk :ShiggySad:
judicial-coral
judicial-coral2mo ago
wine wayland is still a bit experimental, so maybe try without that while getting things working. that's what I mean. any dependencies get installed in the proton (wine) prefix, and the base environment is in the pressure vessel container. at least as far as I understand it. It would be worth installing Steam to see if any Proton games run from there.
wise-white
wise-whiteOP2mo ago
okay, it's running fine through lutris idk what is going on with heroic then
judicial-coral
judicial-coral2mo ago
what runs fine through lutris?
wise-white
wise-whiteOP2mo ago
the games
judicial-coral
judicial-coral2mo ago
you tried the same game as above?
wise-white
wise-whiteOP2mo ago
i was trying to test the same games but i couldn't get lutris to install them so i tried other but it shouldn't have any difference if those was working just fine on the same setup but on arch linux with the heroic from there
judicial-coral
judicial-coral2mo ago
So we know games can run at least. There might still be something about that particular game that isn't to do with heroic. e.g. maybe you need to specify a different executable. I can't help much beyond that since I don't have that game.
wise-white
wise-whiteOP2mo ago
it's not the game it's heroic i can run games on lutris but not on heroic oh goddamit it's actually the games from epic what the hell that don't makes any sense in my head
judicial-coral
judicial-coral2mo ago
GitHub
Silently exits when run via legendary [NixOS] · Issue #514 · Open...
I am on NixOS unstable, using umu-launcher installed through the flake in this repo (currently rev ea5a14c9201e8ea15dd8d28360d2f58d9cacb7b0). umu-run invoked by legendary (specifically the Heroic f...
wise-white
wise-whiteOP2mo ago
i tried setting the exe as you said earlier and it gave me a error and said to me to log out and log in my epic games account lemme see if it solves yeah no luck here
An error has occurred! Try to Logout and Login on your Epic account.
[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Checking for updates...Traceback (most recent call last):File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/bin/.legendary-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/cli.py", line 3199, in main
cli.launch_game(args, extra)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/cli.py", line 656, in launch_game
params = self.core.get_launch_parameters(app_name=app_name, offline=args.offline,
extra_args=extra, user=args.user_name_override,
...<5 lines>...
crossover_bottle=args.crossover_bottle,
addon_app_name=addon_app_name)
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/core.py", line 732, in get_launch_parameters
raise ValueError(f'Executable path is invalid: {exe_path}')
ValueError: Executable path is invalid: /home/Games/Heroic/Game_f_x64_EOS.exe
An error has occurred! Try to Logout and Login on your Epic account.
[cli] INFO: Logging in...[Core] INFO: Trying to re-use existing login session...[cli] INFO: Checking for updates...Traceback (most recent call last):File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/bin/.legendary-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/cli.py", line 3199, in main
cli.launch_game(args, extra)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/cli.py", line 656, in launch_game
params = self.core.get_launch_parameters(app_name=app_name, offline=args.offline,
extra_args=extra, user=args.user_name_override,
...<5 lines>...
crossover_bottle=args.crossover_bottle,
addon_app_name=addon_app_name)
File "/nix/store/v9gqhg4c14mf1bp5bqfiz7w15f0yl6jf-legendary-heroic-0.20.37/lib/python3.13/site-packages/legendary/core.py", line 732, in get_launch_parameters
raise ValueError(f'Executable path is invalid: {exe_path}')
ValueError: Executable path is invalid: /home/Games/Heroic/Game_f_x64_EOS.exe
judicial-coral
judicial-coral2mo ago
That looks like the epic overlay executable.
wise-white
wise-whiteOP2mo ago
OOOOO it don't install the actual .exe from the game there is none here it's only the overlay one
wise-white
wise-whiteOP2mo ago
No description
wise-white
wise-whiteOP2mo ago
wth
wise-white
wise-whiteOP2mo ago
while my games from gog have the .exe
No description
wise-white
wise-whiteOP2mo ago
that is why they work where can i report this?
judicial-coral
judicial-coral2mo ago
I think Game_f_x64_EOS.exe is the game executable. The path in that log output is wrong. /home/Games/Heroic/Game_f_x64_EOS.exe instead of /home/Games/Heroic/some_game_install_dir/Game_f_x64_EOS.exe
wise-white
wise-whiteOP2mo ago
yeah sorry i had set the wrong path i was debugging here even if i set the correct path to the .exe it just don't launch either way same problem and it's only with games from epic i don't know what else to do tbh
judicial-coral
judicial-coral2mo ago
post the log from a run with the exe path corrected
wise-white
wise-whiteOP2mo ago
Launching "Alan Wake Remastered" (legendary)
Native? No
Installed in: /home/ellie/Games/Heroic/AlanWakeRemastered

System Info:
CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Memory: 16.68 GB (used: 1.91 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S]
IDs: D=73ef V=1002 SD=6502 SV=1eae
Driver: amdgpu
OS: NixOS 25.11 (Xantusia) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.17.2 Cutty Flam Franky
Legendary: 0.20.37 Exit 17 (Heroic)
gogdl: 1.1.2
comet: comet 0.3.0
Nile: 1.1.2 Will A. Zeppeli

Game Settings: {
"autoInstallDxvkNvapi": true,
"preferSystemLibs": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": false,
"enviromentOptions": [
{
"key": "PROTON_LOG",
"value": "1"
}
],
"wrapperOptions": [],
"showFps": false,
"targetExe": "/home/ellie/Games/Heroic/AlanWakeRemastered/Game_f_x64_EOS.exe",
"useGameMode": false,
"battlEyeRuntime": true,
"eacRuntime": true,
"language": "",
"beforeLaunchScriptPath": "",
"afterLaunchScriptPath": "",
"verboseLogs": true,
"advertiseAvxForRosetta": false,
"wineVersion": {
"bin": "/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/proton",
"name": "Proton - GE-Proton-latest",
"type": "proton"
},
"winePrefix": "/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered",
"disableUMU": false
}

Game launched at: Sat Jul 19 2025 19:32:31 GMT-0300 (GMT-03:00)

Winetricks packages:

Launch Command: HEROIC_APP_NAME=7315f614b0504081bcdceef138075c9c HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/ellie/Games/Heroic/AlanWakeRemastered PROTON_LOG=1 LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/ellie/.steam/steam WINEPREFIX="/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered" STEAM_COMPAT_DATA_PATH="/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered" PROTONPATH=/home/ellie/.config/heroic/tools/proton/GE-Proton-latest WINE_FULLSCREEN_FSR=0 PROTON_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 PROTON_EAC_RUNTIME=/home/ellie/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/ellie/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-AlanWakeRemastered PROTON_LOG_DIR=/home/ellie WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme /nix/store/gdf2dhm8xg1ikgh4i7p52x60wj5bn5yv-heroic-unwrapped-2.17.2/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch 7315f614b0504081bcdceef138075c9c --no-wine --wrapper "/usr/bin/umu-run" --language en --override-exe /home/ellie/Games/Heroic/AlanWakeRemastered/Game_f_x64_EOS.exe

Game Log:
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 7315f614b0504081bcdceef138075c9c...

============= End of log =============
Launching "Alan Wake Remastered" (legendary)
Native? No
Installed in: /home/ellie/Games/Heroic/AlanWakeRemastered

System Info:
CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Memory: 16.68 GB (used: 1.91 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S]
IDs: D=73ef V=1002 SD=6502 SV=1eae
Driver: amdgpu
OS: NixOS 25.11 (Xantusia) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.17.2 Cutty Flam Franky
Legendary: 0.20.37 Exit 17 (Heroic)
gogdl: 1.1.2
comet: comet 0.3.0
Nile: 1.1.2 Will A. Zeppeli

Game Settings: {
"autoInstallDxvkNvapi": true,
"preferSystemLibs": false,
"enableEsync": true,
"enableFsync": true,
"nvidiaPrime": false,
"enviromentOptions": [
{
"key": "PROTON_LOG",
"value": "1"
}
],
"wrapperOptions": [],
"showFps": false,
"targetExe": "/home/ellie/Games/Heroic/AlanWakeRemastered/Game_f_x64_EOS.exe",
"useGameMode": false,
"battlEyeRuntime": true,
"eacRuntime": true,
"language": "",
"beforeLaunchScriptPath": "",
"afterLaunchScriptPath": "",
"verboseLogs": true,
"advertiseAvxForRosetta": false,
"wineVersion": {
"bin": "/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/proton",
"name": "Proton - GE-Proton-latest",
"type": "proton"
},
"winePrefix": "/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered",
"disableUMU": false
}

Game launched at: Sat Jul 19 2025 19:32:31 GMT-0300 (GMT-03:00)

Winetricks packages:

Launch Command: HEROIC_APP_NAME=7315f614b0504081bcdceef138075c9c HEROIC_APP_RUNNER=legendary GAMEID=umu-0 HEROIC_APP_SOURCE=epic STORE=egs STEAM_COMPAT_INSTALL_PATH=/home/ellie/Games/Heroic/AlanWakeRemastered PROTON_LOG=1 LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/ellie/.steam/steam WINEPREFIX="/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered" STEAM_COMPAT_DATA_PATH="/home/ellie/Games/Heroic/Prefixes/default/Alan Wake Remastered" PROTONPATH=/home/ellie/.config/heroic/tools/proton/GE-Proton-latest WINE_FULLSCREEN_FSR=0 PROTON_ENABLE_NVAPI=1 DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1 PROTON_EAC_RUNTIME=/home/ellie/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/ellie/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId=heroic-AlanWakeRemastered PROTON_LOG_DIR=/home/ellie WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme /nix/store/gdf2dhm8xg1ikgh4i7p52x60wj5bn5yv-heroic-unwrapped-2.17.2/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary launch 7315f614b0504081bcdceef138075c9c --no-wine --wrapper "/usr/bin/umu-run" --language en --override-exe /home/ellie/Games/Heroic/AlanWakeRemastered/Game_f_x64_EOS.exe

Game Log:
[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 7315f614b0504081bcdceef138075c9c...

============= End of log =============
here
judicial-coral
judicial-coral2mo ago
GitHub
Silently exits when run via legendary [NixOS] · Issue #514 · Open...
I am on NixOS unstable, using umu-launcher installed through the flake in this repo (currently rev ea5a14c9201e8ea15dd8d28360d2f58d9cacb7b0). umu-run invoked by legendary (specifically the Heroic f...
wise-white
wise-whiteOP2mo ago
how do i solve it tho? i really don't want to migrate from nix it's been really good that is the only annoyance i've been having
judicial-coral
judicial-coral2mo ago
The workarounds I know of are, * use the Flatpak version of Heroic, or * invoke umu-run directly (from the commandline)
wise-white
wise-whiteOP2mo ago
can't i install the in-development version of heroic on nix? just to test idk well how it works i can't build it well it seems i will be using flatpak then until they fix it
judicial-coral
judicial-coral2mo ago
The issue happens with umu run via legendary even outside of heroic, so not a heroic issue.
wise-white
wise-whiteOP2mo ago
i was debugging with a dev and it seems it's where umu-run is located or something like for me
which umu-run
/run/current-system/sw/bin/umu-run
which umu-run
/run/current-system/sw/bin/umu-run
heroic runs which umu-run and nixos gives it the wrong value
I would recommend telling the nixos packager to remove umu-launcher as a dependency
and then uninstalling umu-launcher from your system
that will work
heroic runs which umu-run and nixos gives it the wrong value
I would recommend telling the nixos packager to remove umu-launcher as a dependency
and then uninstalling umu-launcher from your system
that will work
but even uninstalling the value is still wrong so umu just don't work at all
judicial-coral
judicial-coral2mo ago
I'd like to talk to the dev if they don't mind you passing along their handle.
wise-white
wise-whiteOP2mo ago
@OOOOOF123 ah and i discussed to them about gog games working and shared logs and it seems the same issue happens but somehow the games still work it's very weird
judicial-coral
judicial-coral2mo ago
The nix heroic package is run in what's NixOS calls a FHS env wrapper, which runs the target program via bwrap with options to place everything in the sandbox on the standard linux paths. That's why which umu-run will return a different path than when heroic runs it inside the FHS env, and /usr/bin/umu-run is correct inside heroic's wrapper environment.
wise-white
wise-whiteOP2mo ago
that is all so odd i wonder why the games fail to call umu then i will try with proton-cachyos native it uses native runtime so i won't need use umu, i think i hope that is suficient
judicial-coral
judicial-coral2mo ago
Read through that github legendary issue I linked earlier. legendary is executing umu-run. The umu bash script is silently dying when it runs container-init.
wise-white
wise-whiteOP2mo ago
as always containers causing problems at least on my experience it's launching fine through wine at least
judicial-coral
judicial-coral2mo ago
because heroic doesn't use umu when you have wine selected
wise-white
wise-whiteOP2mo ago
yeah i know and it's a workaround for me for now if i want to continue using non-flatpak i was never a fan
equal-aqua
equal-aqua2mo ago
So it's somehow a bug with umu on nixos? Anything in coredumpctl or dmesg or journal?
judicial-coral
judicial-coral2mo ago
Someone on the NixOS matrix rooms just figured it out earlier today. It was an issue with how bwrap was being invoked. There's a "die with parent" option that was enabled, so legendary exiting once umu started killed umu. There's an open PR in nixpkgs with the fix.
equal-aqua
equal-aqua2mo ago
Yay, nice work!
wise-white
wise-whiteOP2mo ago
Is it working fine now then?
judicial-coral
judicial-coral2mo ago
Yes, but only on the unstable channel.
wise-white
wise-whiteOP2mo ago
maybe i will try nixos out again then i came back to nix but now i'm having this when trying to launch games from epic
00d0:err:ole:start_rpcss Failed to start RpcSs service

/lib64/ld-linux-x86-64.so.2: could not open

00d0:err:explorer:start_tabtip_process Couldn't start tabtip.exe: error 731

0024:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption

0024:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export

0024:err:ver:GetFileVersionInfoSizeExW HACK: not exposing version info.

0024:fixme:advapi:DecryptFileW (L"C:\\users\\steamuser\\AppData\\Local\\Temp\\{3AAD18C5-D7F4-48ED-AC8A-6813C236105B}\\", 00000000): stub

/lib/ld-linux.so.2: could not open

0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0057FEB8

------------------------------------------------------

warning: Note: command /home/ellie/.config/heroic/tools/proton/GE-Proton-latest/files/bin/wine vc_redist.x86.exe /q returned status 219. Aborting.

------------------------------------------------------

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4311: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4314: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4315: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4316: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4317: rm: not found

/lib64/ld-linux-x86-64.so.2: could not open

00d0:err:ole:start_rpcss Failed to start RpcSs service

============= End of log =============
00d0:err:ole:start_rpcss Failed to start RpcSs service

/lib64/ld-linux-x86-64.so.2: could not open

00d0:err:explorer:start_tabtip_process Couldn't start tabtip.exe: error 731

0024:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption

0024:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export

0024:err:ver:GetFileVersionInfoSizeExW HACK: not exposing version info.

0024:fixme:advapi:DecryptFileW (L"C:\\users\\steamuser\\AppData\\Local\\Temp\\{3AAD18C5-D7F4-48ED-AC8A-6813C236105B}\\", 00000000): stub

/lib/ld-linux.so.2: could not open

0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0057FEB8

------------------------------------------------------

warning: Note: command /home/ellie/.config/heroic/tools/proton/GE-Proton-latest/files/bin/wine vc_redist.x86.exe /q returned status 219. Aborting.

------------------------------------------------------

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4311: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4314: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4315: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4316: rm: not found

/home/ellie/.config/heroic/tools/proton/GE-Proton-latest/protonfixes/files/bin/winetricks: 4317: rm: not found

/lib64/ld-linux-x86-64.so.2: could not open

00d0:err:ole:start_rpcss Failed to start RpcSs service

============= End of log =============
am i missing something? (nixos unstable) EDIT: it's with any game actually, probably something to do with my nixos setup it's actually not using umu it seems
judicial-coral
judicial-coral2mo ago
yeah, I was going to say it looks like you might have "Disable umu" ticked. don't do that. 🫠
wise-white
wise-whiteOP2mo ago
I don't have it ticked but it still doesn't work
wise-white
wise-whiteOP2mo ago
No description
wise-white
wise-whiteOP2mo ago
I even installed umu thinking it would help But no luck
judicial-coral
judicial-coral2mo ago
alright, better open a ticket on the nixpkgs repo. or if you're willing to use matrix, #gaming:nixos.org
wise-white
wise-whiteOP2mo ago
nvm it's working now

Did you find this page helpful?