Wine doesn't load a game

Questions about Wine on Linux
Locked
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Wine doesn't load a game

Post by Angie_4444 »

Hi all! I am trying to open a game on linux with wine, but when I type on terminal the command, the game seems to pop up and then it just disappears. i ve already used wine and it worked good on other files, but not on this game. it may be a simple issue but i ve nevr experienced it, nor i found good solutions on the Internet...
The output i get after running "wine Game.exe" is:

[8:1117/201313:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 122
003f:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
003f:err:wgl:init_opengl OpenGL support is disabled.
[62:1117/201314:ERROR:gl_surface_egl.cc(161)] eglInitialize failed with error UNKNOWN
[62:1117/201314:ERROR:gl_surface_win.cc(163)] GLSurfaceEGL::InitializeOneOff failed.
[62:1117/201314:ERROR:gpu_child_thread.cc(146)] Exiting GPU process due to errors during initialization
[76:1117/201317:ERROR:ipc_channel_win.cc(412)] pipe error: 232
[8:1117/201317:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris »

Code: Select all

Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
Which graphics card do you have? Did you also install the 32-bit parts of the driver?
What is the output of:

Code: Select all

uname -a && glxinfo -B
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

the output is:

Linux Kali 5.8.0-kali3-amd64 #1 SMP Debian 5.8.14-1kali1 (2020-10-13) x86_64 GNU/Linux
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 5000 (HSW GT3) (0xa26)
Version: 20.1.9
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5000 (HSW GT3)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.1.9
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 20.1.9
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

The output is:

Linux Kali 5.8.0-kali3-amd64 #1 SMP Debian 5.8.14-1kali1 (2020-10-13) x86_64 GNU/Linux
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 5000 (HSW GT3) (0xa26)
Version: 20.1.9
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5000 (HSW GT3)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.1.9
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 20.1.9
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris »

To make sure you have installed the necessary packages, can you post the output of:

Code: Select all

dpkg -l *:i386 | grep -E 'mesa|libgl'
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

rc libgl1-mesa-dri:i386 19.3.3-1 i386 free implementation of the OpenGL API -- DRI modules
ii libglib2.0-0:i386 2.66.2-1 i386 GLib library of C routines
ii mesa-va-drivers:i386 19.3.3-1 i386 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:i386 19.3.3-1 i386 Mesa VDPAU video acceleration drivers
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris »

You are indeed missing the 32-bit packages. I wonder how this is possible as these packages are recommended and are normally installed automatically with Wine.
At least you need the libgl1 package

Code: Select all

sudo apt install libgl1:i386
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

thanks, but i still get this message when trying to run it:

[8:1119/095011:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 122
[83:1119/095016:ERROR:ipc_channel_win.cc(412)] pipe error: 232
[8:1119/095016:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris »

Can you post the full terminal output?
Use the forum code-tags (the </> button)
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

Code: Select all

kali@Kali:~/Scrivania/game [English]/game$ wine 'Game.exe'
[8:1120/104359:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 122
[8:1120/104403:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris »

If this is the same game as in your previous post
then I can tell it works out of the box in a clean 32-bit Wineprefix with Wine 5.21.
Copy the game directory inside the Wineprefix and remove the brackets from the folder name, just to be sure.

If the game still doesn't work, install corefonts with winetricks
Angie_4444
Level 2
Level 2
Posts: 16
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 »

it still gives me the same error...

Code: Select all

[8:1121/112424:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 122
[8:1121/112427:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
Locked