Games close immediately after launching

So I have been experiencing this issue since I started using it on Linux. After a while, games that were working perfectly fine stop launching. They'll start, for a brief second a window will appear opening, and they will immediately quit again. In the logs I can't figure out anything that could be causing it. Key is that I know it to be Heroic, because I am able to launch the games using WINE when going to the folder. Previously, randomly installing and re-installing proton has fixed it, but only for a while. It would be great if someone could help me with this issue. Incidentally, some games aren't affected at all.
29 Replies
optimistic-gold
optimistic-goldOP4w ago
Log of one of the games that displays the issue
CommandMC
CommandMC4w ago
"nvidiaPrime": true,
Probably want to disable this
Key is that I know it to be Heroic, because I am able to launch the games using WINE when going to the folder. Previously, randomly installing and re-installing proton has fixed it, but only for a while
This specific game is native, meaning nothing Proton-related is causing this. You likely did something alongside reinstalling Proton which helped
optimistic-gold
optimistic-goldOP4w ago
Why? What is the problem with that? Specific game is indeed Native, there are non-native games that do the same. If I go to the file path and run the game not through Heroic, it starts without issue
optimistic-gold
optimistic-goldOP4w ago
A non-native game
optimistic-gold
optimistic-goldOP4w ago
Again, if I go to the installation and launch the executable directly, the game starts without issue
CommandMC
CommandMC4w ago
Games are usually better at choosing the right GPU & enabling that option can cause issues. The general rule of thumb is to try with it off and only enable it when necessary
optimistic-gold
optimistic-goldOP4w ago
Do you mean by that disabling it globally, or is there any way I can do for the specific instance? Nope, just changed back-and-forth between proton versions for the specific game, until at some point it stopped doing it
CommandMC
CommandMC4w ago
You can't change the Proton version for a native game. You were likely changing the game defaults which, as the warning above them says, are only applied for new games Well ideally you'd do both. Game defaults are in "Settings" (sidebar) -> "Game Defaults", game-specific settings are in the settings icon on the game card / game page
CommandMC
CommandMC4w ago
Here's the game-specific settings buttons highlighted:
No description
No description
ratty-blush
ratty-blush4w ago
I’d recommend using GE-Proton and Umu rather than stock Proton
optimistic-gold
optimistic-goldOP4w ago
As previously stated, the native game is for reference, the issue is with the not native Doesn’t matter, doesn’t launch The point is that it affects both native and non native
ratty-blush
ratty-blush4w ago
New log please After every failed run after making changes, post a new log
optimistic-gold
optimistic-goldOP4w ago
Native run fine when not using the launcher, non native run only when using Wine/Proton directly on executable, not through launcher. Window opens for fraction of second, disappears again I will when I can
ratty-blush
ratty-blush4w ago
Thief Gold is also super old with calls to D3D9 in the log which suggests d3dcompiler_43 or 47 may be needed
ratty-blush
ratty-blush4w ago
or not. launched ootb after heroic installed the redists https://0x0.st/8WrQ.log
No description
CommandMC
CommandMC4w ago
My hunch here is that it's a GPU driver issue with Flatpak applications. To confirm this we'd need a new game log The output of the following commands would also be helpful: - flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary - flatpak run --command=vkcube com.heroicgameslauncher.hgl (should display a spinning cube) - nvidia-smi - flatpak list --runtime -v
optimistic-gold
optimistic-goldOP4w ago
Okay but why did it work before, and why does it work on regular wine Alright, thank you, will send as soon as I am able
CommandMC
CommandMC4w ago
Usually if something needs d3dcompiler you'll see explicit mentions of it in the logs (d3dcompiler channel) d3d just means the game's using a D3D version < 8. Sometimes that goes well, sometimes it doesn't. Not a problem on its own Regular Wine (or just running game executables with your file manager / terminal) runs them outside of the (potentially borked) Flatpak runtime
optimistic-gold
optimistic-goldOP4w ago
That makes sense The new game log, do I take just any game that has this issue right now?
optimistic-gold
optimistic-goldOP4w ago
Does like something funky is going on:
optimistic-gold
optimistic-goldOP4w ago
Everything looks like you're right. It doesn't display a cube either. It's trying to use the integrated GPU Okay, tested, when I restart with the iGPU, the games do launch Strange only that others launch in both cases
CommandMC
CommandMC4w ago
That's what I suspected, your dGPU isn't shown there at all Do send in the output of the last two commands, that'll have info we need to fix this Probably gonna be a mismatch between installed Nvidia driver version & Flatpak runtime driver version, but I'd need those two commands to make sure
optimistic-gold
optimistic-goldOP4w ago
Right, nvidia-smi is not installed. I need to find which one of the compute-utils is the adequate one
Sat Apr 26 19:01:44 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.144 Driver Version: 570.144 CUDA Version: 12.8 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P3 N/A / 30W | 673MiB / 4096MiB | 15% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
Sat Apr 26 19:01:44 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.144 Driver Version: 570.144 CUDA Version: 12.8 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P3 N/A / 30W | 673MiB / 4096MiB | 15% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
Codecs org.audacityteam.Audacity.Codecs stable system
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-23.08.30 23.08 system
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.17 24.08 system
i386 org.freedesktop.Platform.Compat.i386 23.08 system
Mesa org.freedesktop.Platform.GL.default 25.0.3 23.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 25.0.3 23.08-extra system
Mesa org.freedesktop.Platform.GL.default 25.0.3 24.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 25.0.3 24.08extra system
nvidia-550-135 org.freedesktop.Platform.GL.nvidia-550-135 1.4 system
nvidia-570-124-04 org.freedesktop.Platform.GL.nvidia-570-124-04 1.4 system
nvidia-570-133-07 org.freedesktop.Platform.GL.nvidia-570-133-07 1.4 system
Mesa org.freedesktop.Platform.GL32.default 25.0.3 23.08 system
nvidia-550-100 org.freedesktop.Platform.GL32.nvidia-550-100 1.4 system
nvidia-550-107-02 org.freedesktop.Platform.GL32.nvidia-550-107-02 1.4 system
nvidia-550-120 org.freedesktop.Platform.GL32.nvidia-550-120 1.4 system
nvidia-550-135 org.freedesktop.Platform.GL32.nvidia-550-135 1.4 system
nvidia-570-124-04 org.freedesktop.Platform.GL32.nvidia-570-124-04 1.4 system
nvidia-570-133-07 org.freedesktop.Platform.GL32.nvidia-570-133-07 1.4 system
Intel VAAPI driver org.freedesktop.Platform.VAAPI.Intel 23.08 system
Intel VAAPI driver org.freedesktop.Platform.VAAPI.Intel 24.08 system
i386 org.freedesktop.Platform.VAAPI.Intel.i386 23.08 system
Codecs org.audacityteam.Audacity.Codecs stable system
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-23.08.30 23.08 system
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.17 24.08 system
i386 org.freedesktop.Platform.Compat.i386 23.08 system
Mesa org.freedesktop.Platform.GL.default 25.0.3 23.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 25.0.3 23.08-extra system
Mesa org.freedesktop.Platform.GL.default 25.0.3 24.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 25.0.3 24.08extra system
nvidia-550-135 org.freedesktop.Platform.GL.nvidia-550-135 1.4 system
nvidia-570-124-04 org.freedesktop.Platform.GL.nvidia-570-124-04 1.4 system
nvidia-570-133-07 org.freedesktop.Platform.GL.nvidia-570-133-07 1.4 system
Mesa org.freedesktop.Platform.GL32.default 25.0.3 23.08 system
nvidia-550-100 org.freedesktop.Platform.GL32.nvidia-550-100 1.4 system
nvidia-550-107-02 org.freedesktop.Platform.GL32.nvidia-550-107-02 1.4 system
nvidia-550-120 org.freedesktop.Platform.GL32.nvidia-550-120 1.4 system
nvidia-550-135 org.freedesktop.Platform.GL32.nvidia-550-135 1.4 system
nvidia-570-124-04 org.freedesktop.Platform.GL32.nvidia-570-124-04 1.4 system
nvidia-570-133-07 org.freedesktop.Platform.GL32.nvidia-570-133-07 1.4 system
Intel VAAPI driver org.freedesktop.Platform.VAAPI.Intel 23.08 system
Intel VAAPI driver org.freedesktop.Platform.VAAPI.Intel 24.08 system
i386 org.freedesktop.Platform.VAAPI.Intel.i386 23.08 system
Seems you are correct
CommandMC
CommandMC4w ago
Alright, flatpak update should resolve this then
optimistic-gold
optimistic-goldOP4w ago
The alternative is the Appimage, right?
CommandMC
CommandMC4w ago
I would recommend staying on Flatpak, it's much easier to help you with issues there since Heroic runs in the runtime (so we know issues are either caused by the runtime or Heroic, not your distro)
optimistic-gold
optimistic-goldOP4w ago
Alright. Why do so many versions show up of the driver? Btw thanks a lot for the help, really appreciate it
CommandMC
CommandMC4w ago
You can remove the outdated ones, they were auto-installed in the past
optimistic-gold
optimistic-goldOP4w ago
Perfect, it works! Thanks again Only thing that is surprising is that MoI does launch Can I tag this as solved?

Did you find this page helpful?