Games fail to launch when you press play in Lutris 5.10+

I keep getting this error message, and it’s the only thing in the logs:

Failed to execute process 'gamemoderun /home/username/.local/share/lutris/runners/wine/lutris-GE-Proton7-33-x86_64/bin/wine /home/username/Games/optimized/Overwatch2/drive_c/Program Files (x86)/Battle.net/Battle.net.exe --exec=launch Pro'. Check that the file exists.

I can manually run it, if I Run EXE inside of Wine prefix.

Mind you, it was working ~6 months ago… but that stopped, and I have tried reinstalling… 3 times. I’m just wondering what do I need to do to get it to work.

TIA for the help :slight_smile:

The solution to this issue is actually in gamemoderun at the start. Apparently, Lutris (as of ~5.10+) uses gamemode’s gamemoderun to launch games.

the solution is to use the package manager and install gamemode onto your system. For Ubuntu, this would be apt install gamemode.

I hope that this helps others, as I know that it was annoying to me.