Lutris stopped launching games with wine

Hello,

As the title suggests, Lutris has stopped launching games with Wine for some reason. This issue affects both games I’ve added to Lutris: Ready or Not and Gunner, HEAT, PC. When I press “Play” in the Lutris GUI, the button changes to “Stop,” but after a second, it reverts back to “Play.”

However, if I navigate to the game directory in the terminal, set WINEPREFIX, WINEARCH, and DRI_PRIME, and then launch the game with Wine, it works fine.

This problem started right after I installed and set up a Jellyfin server. I’m not sure if this is a coincidence, but it’s the only thing I changed before encountering the issue. I suspect the issue might have been caused by permission changes I made during the Jellyfin setup.

Here are the steps that may be problematic which I followed while setting up Jellyfin:

sudo dnf install jellyfin jellyfing-server
#1734386235
sudo dnf install jellyfin jellyfin-server
#1734386594
eval -- $'sudo chmod -R 755 /home/tonda/Media\n'
#1734386606
eval -- $'sudo setfacl -R -m u:tonda:r-x /home/tonda/Media\n'
#1734386636
eval -- $'sudo semanage fcontext -a -t jellyfin_var_lib_t "/home/tonda/Media(/.*)?"\nsudo restorecon -Rv /home/tonda/Media\n'
#1734386660
sudo systemctl restart jellyfin.service 
#1734386729
eval -- $'sudo semanage fcontext -a -t jellyfin_rw_content_t "/home/tonda/Media(/.*)?"\nsudo restorecon -Rv /home/tonda/Media\n'
#1734386848
sudo chmod -R 755 /home/tonda/
#1734386868
eval -- $'sudo setfacl -R -m u:tonda:r-x /home/tonda/\n\n'
#1734387018
eval -- $'chmod 700 /home/tonda/.ssh\nchmod 600 /home/tonda/.ssh/*\n'

Steps I’ve Tried to Fix the Problem:

  1. Removed and added games from/to Lutris.
  2. Uninstalled Lutris, searched for and deleted any files/directories related to Lutris, and then reinstalled it.
  3. Installed (via Lutris) and used the recommended wine-ge-8-26 version instead of the system-wide wine-9.15.
  4. Updated my system.

None of these steps resolved the issue.

Here are some logs and outputs for troubleshooting:

Thanks in advance for any help or recommendations!

I tested the following command:
Started initial process 53154 from gamemoderun mangohud /usr/bin/wine /home/tonda/Games/RoN/RoN_Install/Ready or Not/game/prefix/drive_c/game/ReadyOrNot.exe

It seems that the gamemoderun and mangohud commands are broken. When I disable Feral Gamemode and MangoHud in the Lutris game configuration, the game launches successfully.

Running gamemoded -t returns the following output:

: Loading config
Loading config file [/usr/share/gamemode/gamemode.ini]
: Running tests

:: Basic client tests
:: Passed

:: Dual client tests
gamemode request succeeded and is active
Quitting by request…
:: Passed

:: Gamemoderun and reaper thread tests
ERROR: gamemode_query_status failed to return other client connected (expected 1)!
…Waiting for reaper thread (reaper_frequency set to 5 seconds)…
:: Supervisor tests
:: Passed

: Client tests failed, skipping feature tests
: Tests Failed!

Interestingly, if I set the environment variable MANGOHUD=1, MangoHud works correctly.

Although this might not be a direct issue with Lutris, if anyone knows how to resolve this, I’d still greatly appreciate any help.

Probably should have tried this sooner but running mangohud and gamemoded/gamemoderun with sudo makes them work again. The issue must be somewhere in the permissions surely then.