Wine doesn't load a game

Questions about Wine on Linux
Post Reply
Angie_4444
Level 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Wine doesn't load a game

Post by Angie_4444 » Tue Nov 17, 2020 2:01 pm

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 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris » Tue Nov 17, 2020 5:35 pm

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 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Tue Nov 17, 2020 5:48 pm

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 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Wed Nov 18, 2020 2:49 am

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 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris » Wed Nov 18, 2020 11:30 am

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 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Wed Nov 18, 2020 11:46 am

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 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris » Wed Nov 18, 2020 4:27 pm

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 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Thu Nov 19, 2020 3:28 am

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 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris » Thu Nov 19, 2020 4:47 pm

Can you post the full terminal output?
Use the forum code-tags (the </> button)

Angie_4444
Level 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Fri Nov 20, 2020 4:26 am

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 8
Level 8
Posts: 1202
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't load a game

Post by jkfloris » Fri Nov 20, 2020 10:51 am

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 1
Level 1
Posts: 9
Joined: Tue Nov 17, 2020 1:54 pm

Re: Wine doesn't load a game

Post by Angie_4444 » Sat Nov 21, 2020 5:03 am

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

Post Reply