Lutris/Wine reset

Hi everyone,
I'm running into some issues using Lutris, and I'd like resetting everything up to the initial config. Is there a proper way to uninstall them both and then reinstalling them?

I was facing a general error while trying to install League of Legends:

Exit with return code 256

I was reading that this could be anything, so it was preferable to reinstall everything.

I've tried with:

sudo rm -rf /var/lib/lutris
sudo rm -rf /var/lutris
sudo rm -rf /lutris
rm -rf ~/.config/lutris
sudo rm -rf /var/lib/wine
sudo rm -rf /var/wine
sudo rm -rf /wine
rm -rf ~/.config/wine
rm -rf ~/.wine
rm -rf ~/.lutris
sudo apt purge wine
sudo apt purge winetricks
sudo apt purge lutris
sudo apt autoremove
sudo apt install wine
sudo apt install winetricks
sudo apt install lutris
winecfg

This however has installed wine 6 (I previously had wine 8) and now I'm not even able to install the Epic Games launcher.

Additional info: I cannot even run games on Steam, they just hang on starting up.

Editing to add some context:

I have firstly noticed that this was the error:

Start monitoring process.
00bc:err:esync:esync_init Failed to open esync shared memory file; make sure no stale wineserver instances are running without WINEESYNC.
Monitored process exited.
Initial process has exited (return code: 256)

So I did disable ESYNC on Wine runner (via Lutris, after the whole reinstallation).

Then I had this error:

00c0:err:environ:run_wineboot boot event wait timed out
wine: could not load kernel32.dll, status c0000135

So I have removed .wine/ and I'm now getting:

Start monitoring process.
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 7.x
------------------------------------------------------
grep: /home/bl4ckk/Games/epic-games-store/*.reg: File o directory non esistente
------------------------------------------------------
WINEPREFIX INFO:
Drive C: totale 12
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 21:35 .
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 21:35 ..
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 21:35 users

Registry info:
/home/bl4ckk/Games/epic-games-store/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: /home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "/home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine)" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
DEBUG    2023-10-11 21:44:13,309 [command.on_stop:195]:Process 65210 has terminated with code 256
DEBUG    2023-10-11 21:44:13,808 [commands._monitor_task:449]:Return code: 256
ERROR    2023-10-11 21:44:13,809 [errors.__init__:18]:Command exited with code 256

And I'm still there.

You will have to install wine8 in order for lutris to not complain. Since it was reverted to wine6, you will need to update or remove this in order to return to wine8.

As it was, you removed a lot of the wine and lutris files prior to ever removing the applications. In the future you should start with the sudo apt purge wine lutris winetricks, then search the .config and ~ directories for stragglers: ll ~ | grep .wine|.lutris and the same for the .config directory: ll ~/.config | grep wine|lutris.

You may also want to check the /usr/bin, /usr/share and /usr/share/applications for remnants of those applications.

Hi, this:

ll ~ | grep .wine|.lutris

is resulting in:

.lutris: comando non trovato (command not found)

While:

ll ~/.config | grep wine|lutris

is just opening Lutris.

How should I proceed?

It shouldn't open anything as they are the ls -l alias built into the terminal. ls is a list command, like dir in windows. The lack of response means that there are no directories with those names.

You can modify the ll to ls and attempt the ~/.config | grep wine|lutris after it instead. But again, ll shouldn't open any application. It should return a directory list:

~$ ll ~/.config | grep lutris
drwxrwxr-x    4 virtdev virtdev   4096 Dec 13  2022 lutris/

Turns out you can't run a pipe after grep without quotes....my bad. do it once for wine and once for lutris

It might sound strange, but even ls is opening Lutris for some reason....

Just to be sure I've checked for ll alias and it seems to be pretty standard
alias ll='ls -alF'

It might be something with the pipe itself. By just greping wine or lutris it's performing a normal search.... weird thing

1 Like

Yeah...you would have to wrap it in quotes or do each separately....my mistake.

Ooooh I got the point, it was piping into lutris command. Heh!

I will try with wine 8 and will let you know

1 Like

No luck, I think..
2023-10-11 22:46:10,692: Creating a win64 prefix in /home/bl4ckk/Games/epic-games-store
2023-10-11 22:46:41,238: Wine prefix creation is taking longer than expected...

Still stuck

It seems the directory where Wine is trying to add the prefix (WINEARCH=win64 WINEPREFIX=/home/bl4ckk/Games/epic-games-store) is getting deleted.
I tried creating it manually before running the installer, but it gets deleted as soon as I press the install button. Then it stays stuck.

After a long while:

DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEDEBUG=""
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEARCH="win64"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINE="/home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINE_MONO_CACHE_DIR="/home/bl4ckk/.local/share/lutris/runners/wine/lutris-ge-lol-p8-12-x86_64/mono"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINE_GECKO_CACHE_DIR="/home/bl4ckk/.local/share/lutris/runners/wine/lutris-ge-lol-p8-12-x86_64/gecko"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:GST_PLUGIN_SYSTEM_PATH_1_0="/home/bl4ckk/.local/share/lutris/runners/wine/lutris-ge-lol-p8-12-x86_64/lib64/gstreamer-1.0/:/home/bl4ckk/.local/share/lutris/runners/wine/lutris-ge-lol-p8-12-x86_64/lib/gstreamer-1.0/"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEPREFIX="/home/bl4ckk/Games/epic-games-store"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEESYNC="0"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEFSYNC="1"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINE_FULLSCREEN_FSR="1"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:DXVK_NVAPIHACK="0"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:DXVK_ENABLE_NVAPI="1"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:PROTON_BATTLEYE_RUNTIME="/home/bl4ckk/.local/share/lutris/runtime/battleye_runtime"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:PROTON_EAC_RUNTIME="/home/bl4ckk/.local/share/lutris/runtime/eac_runtime"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:WINEDLLOVERRIDES="winemenubuilder="
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:PYTHONPATH="/usr/lib/lutris:/usr/games:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages"
DEBUG    2023-10-11 23:39:35,445 [command.start:141]:LUTRIS_GAME_UUID="abe38207-e385-4b1b-ad1a-a5b34912458c"
Started initial process 103570 from /home/bl4ckk/.local/share/lutris/runtime/winetricks/winetricks --unattended corefonts
Start monitoring process.
------------------------------------------------------
warning: Your version of wine  is no longer supported upstream. You should upgrade to 7.x
------------------------------------------------------
grep: /home/bl4ckk/Games/epic-games-store/*.reg: File o directory non esistente
------------------------------------------------------
WINEPREFIX INFO:
Drive C: totale 12
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 23:26 .
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 23:26 ..
drwxrwxr-x 3 bl4ckk bl4ckk 4096 ott 11 23:26 users

Registry info:
/home/bl4ckk/Games/epic-games-store/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: /home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "/home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/bl4ckk/.local/share/lutris/runners/wine/wine-ge-8-17-x86_64/bin/wine)" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
DEBUG    2023-10-11 23:39:35,946 [command.on_stop:195]:Process 103566 has terminated with code 256
DEBUG    2023-10-11 23:39:36,454 [commands._monitor_task:449]:Return code: 256
ERROR    2023-10-11 23:39:36,455 [errors.__init__:18]:Command exited with code 256
None

Buuut...

bl4ckk@bl4ckk:~$ wine --version
wine-8.0.2
1 Like

The launcher should have created that. In the ea app, where is the game storage configured to take place? I don't know about EA, but steam allows you to configure the drive and folder for saved games. Look for this in EA, then try changing it to anything other than the default... even if it's on the root windows folder (not Zorin root, it wouldn't see it there).

Could lutris be modifying this configuration and since they are conflicting (different) locations, it's erasing EA's ?

I thought Lutris handled storage and Launchers to reduce management and make things simpler? That's how it was shared with me anyway. I'm sorry I don't use lutris, but maybe [HowTo] Instal LOL (or any other game) in Lutris or [HOW TO] How to get Windows Apps / Games working in Zorin OS 16 will help get you squared away. Any suggestions @Michel

Wait, it's not EA but Epic Games. Anyway as shown above it did create the folder after a long time, but it gave the wine version error.

This is strange. You had previously removed lutris and wine completely? Did you install wine again prior to installing lutris?

You may not want to hear it, but i would remove lutris and wine sudo apt remove --purge lutris wine and check for remnants in ~/.local, ~/.config, /var and /usr as you had done before. Then check the lutris page for wine version and install that specific version, use their link if they have one. Reinstall lutris and then follow one of the two guides I posted above to install the games and Launchers.

Well, I think it will just be quicker to take a backup and reinstall Zorin from scratch..

Well, it worked. I have just installed timeshift (nobody knows what can happen next) and epic games installation went successfully. I was also able to install League of Legends, which previously, I wasn't.
The actual wine version: wine-6.0.3

1 Like

I'm glad you found a way to resolve this. I'm sorry I couldn't be more help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.