cannot install anything with WINE on manjaro

Questions about Wine on Linux
Locked
bargo
Newbie
Newbie
Posts: 3
Joined: Sun Dec 26, 2021 12:21 pm

cannot install anything with WINE on manjaro

Post by bargo »

hello,
since many days now and with anything dependent on WINE (i.e lutris, heroic games launcher......) I cannot install nor run anything, Lutris does not show much except https://paste.ubuntu.com/p/h49JMDqn6r/ but on heroic games launcher, it shows (for example for Genshin Impact)

Code: Select all

[cli] INFO: Logging in...
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Checking for updates...
[Core] INFO: Getting authentication token...
[cli] INFO: Launching 41869934302e4b8cafac2d3c0e7c293d...
wine client error:0: version mismatch 738/741.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
my laptop has these specs:

Code: Select all

[System]
OS:              Manjaro Linux 21.2.0 Qonos
Arch:            x86_64
Kernel:          5.16.0-1-MANJARO
Desktop:         XFCE
Display Server:  x11

[CPU]
Vendor:          GenuineIntel
Model:           Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Physical cores:  6
Logical cores:   12

[Memory]
RAM:             15.3 GB
Swap:            22.1 GB

[Graphics]
Vendor:          Intel
OpenGL Renderer: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL Version:  4.6 (Compatibility Profile) Mesa 21.2.5
OpenGL Core:     4.6 (Core Profile) Mesa 21.2.5
OpenGL ES:       OpenGL ES 3.2 Mesa 21.2.5
Vulkan:          Supported

I have posted in Lutris forum but they directed me here
and thanks
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: cannot install anything with WINE on manjaro

Post by jkfloris »

Either your wine/ lutris installation didn't go quite right, or there is another wine process from another wine installation running in the background. Check with:

Code: Select all

pgrep -a wine
bargo
Newbie
Newbie
Posts: 3
Joined: Sun Dec 26, 2021 12:21 pm

Re: cannot install anything with WINE on manjaro

Post by bargo »

I know for a fact that this command

Code: Select all

pgrep -a wine
shows all wine process, but the problem is that the issue occured even after a clean boot of the system
bargo
Newbie
Newbie
Posts: 3
Joined: Sun Dec 26, 2021 12:21 pm

Re: cannot install anything with WINE on manjaro

Post by bargo »

this is the more recent log

Code: Select all

DEBUG    2022-01-13 19:51:04,802 [application.on_app_window_destroyed:276]:Removed window <class 'lutris.gui.config.preferences_dialog.PreferencesDialog'>{}
WARNING  2022-01-13 19:51:06,360 [lutriswindow.on_game_selection_changed:779]:No game found. Replacing with placeholder {'id': 'starcraft-ii', 'appid': 'starcraft-ii', 'name': 'StarCraft II', 'slug': 'starcraft-ii', 'service': 'lutris'}
WARNING  2022-01-13 19:51:06,639 [lutriswindow.on_game_selection_changed:779]:No game found. Replacing with placeholder {'id': 'starcraft-ii', 'appid': 'starcraft-ii', 'name': 'StarCraft II', 'slug': 'starcraft-ii', 'service': 'lutris'}
DEBUG    2022-01-13 19:51:06,640 [grid.on_item_activated:57]:Item activated: starcraft-ii
DEBUG    2022-01-13 19:51:06,640 [lutriswindow.on_game_activated:813]:Looking up lutris game starcraft-ii
DEBUG    2022-01-13 19:51:06,640 [__init__.fetch_script:22]:Fetching installer https://lutris.net/api/installers/starcraft-ii
DEBUG    2022-01-13 19:51:06,640 [http.get:81]:GET https://lutris.net/api/installers/starcraft-ii
DEBUG    2022-01-13 19:51:07,065 [application.show_window:259]:Showing window <class 'lutris.gui.installerwindow.InstallerWindow'>starcraft-ii
WARNING  2022-01-13 19:51:07,066 [lutriswindow.on_game_selection_changed:779]:No game found. Replacing with placeholder {'id': 'starcraft-ii', 'appid': 'starcraft-ii', 'name': 'StarCraft II', 'slug': 'starcraft-ii', 'service': 'lutris'}
DEBUG    2022-01-13 19:51:09,584 [xrandr._get_vidmodes:14]:Retrieving video modes from XrandR
INFO     2022-01-13 19:51:11,811 [runner.get_runner_version:303]:Getting runner information for wine
DEBUG    2022-01-13 19:51:11,811 [http.get:81]:GET https://lutris.net/api/runners/wine
DEBUG    2022-01-13 19:51:12,187 [interpreter.get_runners_to_install:215]:Default wine version is lutris-fshack-6.21-6
DEBUG    2022-01-13 19:51:12,191 [files_box.check_files_ready:69]:Files are ready? True
DEBUG    2022-01-13 19:51:13,097 [downloader.start:65]:⬇ https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP
DEBUG    2022-01-13 19:51:13,099 [downloader.start:65]:⬇ https://lutris.net/files/tools/dll/d3dcompiler_47.dll
DEBUG    2022-01-13 19:51:18,844 [downloader.download_cb:125]:Finished downloading https://lutris.net/files/tools/dll/d3dcompiler_47.dll
INFO     2022-01-13 19:51:19,107 [file_box.on_download_complete:279]:Download completed
DEBUG    2022-01-13 19:51:19,108 [files_box.on_file_available:91]:d3dcompiler47 is available
DEBUG    2022-01-13 19:51:38,691 [downloader.download_cb:125]:Finished downloading https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP
INFO     2022-01-13 19:51:39,141 [file_box.on_download_complete:279]:Download completed
DEBUG    2022-01-13 19:51:39,141 [files_box.on_file_available:91]:setup is available
INFO     2022-01-13 19:51:39,141 [files_box.on_file_available:97]:All files available
INFO     2022-01-13 19:51:39,141 [installerwindow.on_files_available:414]:All files are available, continuing install
DEBUG    2022-01-13 19:51:39,143 [interpreter._iter_commands:303]:Installer command: {'task': {'arch': 'win64', 'name': 'create_prefix', 'prefix': '$GAMEDIR'}}
INFO     2022-01-13 19:51:39,144 [wine.create_prefix:96]:Creating a win64 prefix in /home/bargo/Games/starcraft-ii
DEBUG    2022-01-13 19:51:39,144 [system.execute:49]:Executing /home/bargo/.local/share/lutris/runners/wine/lutris-fshack-6.21-6-x86_64/bin/wineboot
DEBUG    2022-01-13 19:51:39,144 [system.execute:55]:WINEARCH=win64 WINEPREFIX=/home/bargo/Games/starcraft-ii WINEDLLOVERRIDES=winemenubuilder=
INFO     2022-01-13 19:51:39,532 [wine.create_prefix:143]:win64 Prefix created in /home/bargo/Games/starcraft-ii
WARNING  2022-01-13 19:51:49,625 [prefix.get_desktop_folders:111]:Couldn't load shell folder name for Desktop
WARNING  2022-01-13 19:51:54,100 [prefix.get_desktop_folders:111]:Couldn't load shell folder name for Personal
WARNING  2022-01-13 19:51:54,102 [prefix.get_desktop_folders:111]:Couldn't load shell folder name for My Music
WARNING  2022-01-13 19:51:54,105 [prefix.get_desktop_folders:111]:Couldn't load shell folder name for My Videos
WARNING  2022-01-13 19:51:54,107 [prefix.get_desktop_folders:111]:Couldn't load shell folder name for My Pictures
DEBUG    2022-01-13 19:51:54,108 [interpreter._iter_commands:303]:Installer command: {'task': {'app': 'arial', 'arch': 'win64', 'name': 'winetricks', 'prefix': '$GAMEDIR'}}
INFO     2022-01-13 19:51:54,121 [wine.use_lutris_runtime:112]:Runtime is forced disabled
WARNING  2022-01-13 19:51:54,124 [wine.game_exe:460]:The game doesn't have an executable
DEBUG    2022-01-13 19:51:54,124 [command.start:139]:WINEARCH="win64"
DEBUG    2022-01-13 19:51:54,124 [command.start:139]:WINE="/home/bargo/.local/share/lutris/runners/wine/lutris-fshack-6.21-6-x86_64/bin/wine"
DEBUG    2022-01-13 19:51:54,124 [command.start:139]:WINEPREFIX="/home/bargo/Games/starcraft-ii"
DEBUG    2022-01-13 19:51:54,124 [command.start:139]:PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages"
DEBUG    2022-01-13 19:51:54,124 [command.start:139]:LUTRIS_GAME_UUID="21a13d74-1e01-4328-b889-ee869f5e35a5"
lutris-wrapper: /home/bargo/.local/share/lutris/runtime/winetricks/winetricks
Started initial process 176375 from /home/bargo/.local/share/lutris/runtime/winetricks/winetricks --unattended arial
Start monitoring process.
SSL_INIT
Executing mkdir -p /home/bargo/Games
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 16
drwxr-xr-x 4 bargo bargo 4096 Dec 29 21:05 .
drwxr-xr-x 4 bargo bargo 4096 Jan 13 19:51 ..
drwxr-xr-x 3 bargo bargo 4096 Dec 29 21:05 users
drwxr-xr-x 4 bargo bargo 4096 Dec 27 21:13 windows

Registry info:
/home/bargo/Games/starcraft-ii/system.reg:#arch=win64
/home/bargo/Games/starcraft-ii/user.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: /home/bargo/.local/share/lutris/runners/wine/lutris-fshack-6.21-6-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: could not load kernel32.dll, status c0000135" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
Exit with return code 256
DEBUG    2022-01-13 19:51:57,384 [command.on_stop:193]:Process 176370 has terminated with code 256
DEBUG    2022-01-13 19:51:58,126 [commands._monitor_task:418]:Return code: 256
ERROR    2022-01-13 19:51:58,126 [errors.__init__:18]:Command exited with code 256
None

User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: cannot install anything with WINE on manjaro

Post by Bob Wya »

Hi,

Code: Select all

...
warning: /home/bargo/.local/share/lutris/runners/wine/lutris-fshack-6.21-6-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: could not load kernel32.dll, status c0000135"
...
That looks like a failure to find a 32-bit Wine package.
Do you have the installed the Manjaro multilib wine package and all necessary dependencies? Should be something like:

Code: Select all

sudo pacman -S wine-staging winetricks wine-mono wine_gecko
You'll need that alongside Lutris.

Bob
Locked