HGL
cloudy-cyan

Nvidia silently failing

I have a computer with two GPUs, one of which is an eGPU with an Nvidia RTX 3060, the other being an integrated AMD GPU. If the eGPU is unplugged and I launch a game with Heroic, it works just fine, but if I try and launch that same game with the eGPU plugged in, it silently fails. I don't see any error messages in the logs, it just says "launching" for awhile and then stops and the play button shows up again. This is running NixOS, if that's relevant.
26 Replies
cloudy-cyan
cloudy-cyanOP3d ago
The game I am trying to launch is Pinball M, if that's relevant, but I don't think it's working with any games. I tried nuking the config and all the installed games, no dice.
xenial-black
xenial-black2d ago
disabling umu worked for me. in settings under advanced.
cloudy-cyan
cloudy-cyanOP2d ago
How do I do that? Oh I see, let's give it a shot I could kiss you if I didn't think it would put me on a list again. That worked, you rock!
xenial-black
xenial-black2d ago
glad it worked. i updated this morning and heroic stopped but steam was still working. after trying a couple things i tried clicking that and it worked.
cloudy-cyan
cloudy-cyanOP2d ago
(that is a joke, not really on a list, but seriously thank you)
CommandMC
CommandMC2d ago
Huh, what an odd error. Could you send in a game log with umu turned on? We might be able to fix the root issue then; you really shouldn't disable umu
xenial-black
xenial-black2d ago
even with the debug logs enabled it shows launching and then silently quits out
cloudy-cyan
cloudy-cyanOP2d ago
I am happy to send my logs, but yeah it just silently exits I don't even know what umu is!
xenial-black
xenial-black2d ago
we are both on nixos and have both discreet nvidia and a igpu. mine is intel and his is amd. sorry i seem to of deleted the logs when i tried reinstalling the prefix
CommandMC
CommandMC2d ago
The readme here explains it in detail In short: It's a runtime for Proton, to make it run in the environment it's meant to run in. Proton without the runtime can work, but it's up to your system to provide the same libraries that should be present Are you using the native NixOS package, or the Flatpak? If you are using the native package, could you try with the Flatpak (you can import your games)?
cloudy-cyan
cloudy-cyanOP2d ago
native package for me I'm not sure how to do the flatpack on nixos
CommandMC
CommandMC2d ago
https://flathub.org/setup/NixOS apparently You can then install Heroic with flatpak install flathub com.heroicgameslauncher.hgl
cloudy-cyan
cloudy-cyanOP2d ago
Ok, flatpak worked outta the box something's borked with the nixos native package
CommandMC
CommandMC2d ago
@aidalgol ^^
unwilling-turquoise
unwilling-turquoise2d ago
This seems to be a common problem on NixOS in general, and I can't do much to troubleshoot because I only have a single GPU desktop. We need someone with a laptop with an nvidia GPU to help out with the package.
cloudy-cyan
cloudy-cyanOP2d ago
Actually I was able to recreate it on NixOS with just an AMD CPU just now non-flatpak version, regular nixos version, I had to disable umu to make it work. version says 2.17.0 Sounds like I need to harass the package maintainer It sounds like they should be using the automatic appimage tooling
unwilling-turquoise
unwilling-turquoise2d ago
That would be me. What appimage tooling? Can you please send the log from a failing run?
cloudy-cyan
cloudy-cyanOP2d ago
I meant this: https://wiki.nixos.org/wiki/Appimage You can have the appimage auto extract and install stuff for you
cloudy-cyan
cloudy-cyanOP2d ago
one sec, I'll get you a log but it's pretty uninteresting, it just says it was launched
cloudy-cyan
cloudy-cyanOP2d ago
Pastebin
Launching "Pinball M" (legendary)Native? NoInstalled in: /home/tomb...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
cloudy-cyan
cloudy-cyanOP2d ago
Pastebin
(16:32:08) INFO: [Legendary]: Legendary location: /nix/st...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
cloudy-cyan
cloudy-cyanOP2d ago
@aidalgol ^
unwilling-turquoise
unwilling-turquoise2d ago
Hmm, I wonder if I'm not having any issue with umu because I have the nixpkgs umu package installed. OK, we generally don't want to just repackage an appimage in nixpkgs.
cloudy-cyan
cloudy-cyanOP2d ago
Fair enough, I have some disagreements on the details but this isn't the forum for that kind of discussion. I can try installing umu and see if that fixes it umu-launcher? I installed umu-launcher, still fails in the same way
unwilling-turquoise
unwilling-turquoise2d ago
Dang. Could you please create a github issue on the nixpkgs repo? And I'm happy to discuss packaging improvements if you want to create another ticket for that.
cloudy-cyan
cloudy-cyanOP2d ago
Yeah, I can do that

Did you find this page helpful?