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•2mo ago
Check if your Steam games works
If not, then a setup issue
judicial-coral•2mo ago
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-whiteOP•2mo 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•2mo ago
you almost never want to use
-unwrapped
packages.
Do any games run on your system?wise-whiteOP•2mo 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•2mo ago
steam shouldn't matter for games under proton
wise-whiteOP•2mo ago
yes i know but if i'm lacking dependencies for my games
idk
:ShiggySad:
judicial-coral•2mo 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-whiteOP•2mo ago
okay, it's running fine through lutris
idk what is going on with heroic then
judicial-coral•2mo ago
what runs fine through lutris?
wise-whiteOP•2mo ago
the games
judicial-coral•2mo ago
you tried the same game as above?
wise-whiteOP•2mo 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•2mo 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-whiteOP•2mo 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•2mo ago
Might be related to this: https://github.com/Open-Wine-Components/umu-launcher/issues/514
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-whiteOP•2mo 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
judicial-coral•2mo ago
That looks like the epic overlay executable.
wise-whiteOP•2mo ago
OOOOO
it don't install the actual .exe from the game
there is none here
it's only the overlay one
wise-whiteOP•2mo ago

wise-whiteOP•2mo ago
wth
wise-whiteOP•2mo ago
while my games from gog have the .exe

wise-whiteOP•2mo ago
that is why they work
where can i report this?
judicial-coral•2mo 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-whiteOP•2mo 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•2mo ago
post the log from a run with the exe path corrected
wise-whiteOP•2mo ago
here
judicial-coral•2mo ago
That looks exactly like https://github.com/Open-Wine-Components/umu-launcher/issues/514
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-whiteOP•2mo 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•2mo ago
The workarounds I know of are,
* use the Flatpak version of Heroic, or
* invoke
umu-run
directly (from the commandline)wise-whiteOP•2mo 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•2mo ago
The issue happens with umu run via legendary even outside of heroic, so not a heroic issue.
wise-whiteOP•2mo ago
i was debugging with a dev
and it seems it's where umu-run is located or something
like for me
but even uninstalling
the value is still wrong
so umu just don't work at all
judicial-coral•2mo ago
I'd like to talk to the dev if they don't mind you passing along their handle.
wise-whiteOP•2mo 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•2mo 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-whiteOP•2mo 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•2mo 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-whiteOP•2mo ago
as always containers causing problems
at least on my experience
it's launching fine through wine at least
judicial-coral•2mo ago
because heroic doesn't use umu when you have wine selected
wise-whiteOP•2mo 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•2mo ago
So it's somehow a bug with umu on nixos?
Anything in coredumpctl or dmesg or journal?
judicial-coral•2mo 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•2mo ago
Yay, nice work!
wise-whiteOP•2mo ago
Is it working fine now then?
judicial-coral•2mo ago
Yes, but only on the unstable channel.
wise-whiteOP•2mo 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
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•2mo ago
yeah, I was going to say it looks like you might have "Disable umu" ticked.
don't do that. 🫠
wise-whiteOP•2mo ago
I don't have it ticked but it still doesn't work
wise-whiteOP•2mo ago

wise-whiteOP•2mo ago
I even installed umu thinking it would help
But no luck
judicial-coral•2mo ago
alright, better open a ticket on the nixpkgs repo. or if you're willing to use matrix, #gaming:nixos.org
wise-whiteOP•2mo ago
nvm it's working now