The forum

World of Warships, Out of Memory Error

Author Replies
kodos Monday 14 March 2016 at 23:09
kodosAnonymous

First of all this is not a wine/linux bug, because also windows user have it, but it seems to be related to directX.

For windows users a new installation of directX9c usually solves the problem.

 

Before game version 0.5.1 I got this error only when closing the game.

but now I get it randomly during gameplay

 

I tried several installations with different setups, the most stable at the moment seems to be

wine 1.9.3 staging 32bit

dx-full setup, dotnet3.5sp1, msxml6, vcrun2012, d3decompiler 43

wine set to winxp (which limit the texture setting ingame to low)

 

other settings show only alsa errors in the log file while this setting gives me the following after game crash

Exception TypeError: 'must be type, not None' in <bound method ClubsProxy.614734163933 of <ClubsProxy.ClubsProxy object at 0x0CD05990>> ignored

booman Wednesday 16 March 2016 at 22:18
booman

Unfortunately some games have Memory Leaks in Wine.  I've experienced a few games with Memory leaks like Bioshock 2 and Crysis 2.  There are a few things you can do to handle the leaks, but in the end you will probably still experience crashing.

With Bioshock 2 - All I had to do was lower the texture quality, but the game looks horrible.  Didn't crash, but looked like a 1998 game.

With Crysis 2 - I used a patched version of Wine called "d3d_doublebuffer"  there is a Wine 1.8-d3d_doublebuffer available in the Wine Manager.  Try that and see if it makes any difference in the leak.


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Thursday 17 March 2016 at 22:00
kodosAnonymous

thx

I will try the patched wine version (game settings on very low do not change anything)

booman Thursday 17 March 2016 at 22:11
booman

Ok, if that doesn't work, then you are probably out-of-luck.

Looks like some gamers have it running on WineQH

World of Warships WineHQ

Edited by booman


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Friday 18 March 2016 at 22:25
kodosAnonymous

It seems like those are all older reports before patch 5.3 (because after this patch WIn7 let the game crash with wine 1.9.2 or older) and prior this patch I got also no error.

 

with wine 1.8 3d3 doublebuffer the game still crash, but the log does not show any error any more

http://oi64.tinypic.com/294rt05.jpg

 

PS:

Using older wine versions and set winecfg to something else than winxp gives the following error

fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 1053

booman Friday 18 March 2016 at 22:30
booman

WineHQ mentions that the launcher may crash, but launching again will continue it...

When it crashes Alt+Tab back to PlayOnlinux and click Run again.

Does it continue or just crash again?

Also try adding these Components:

  d3dx9
  d3dcompiler_43

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Friday 18 March 2016 at 23:10
kodosAnonymous

installing those make no difference

If the game crash I have either kill the process or it close by its own (depending on wine version used) and I can restart it normally.

booman Friday 18 March 2016 at 23:30
booman

Hmm, I'm at a loss.  Are you able to play any other games in PlayOnLinux?
Have you installed 32-bit libraries?

It would be a good idea to start over and do a manual installation (if you haven't allready)

  • Create a new virtual drive - 32-bit
  • Use Wine 1.8-staging or something newer
  • Set the virtual desktop in Wine Configuration
  • install the d3dx9 & d3dcompiler_43 packages
  • Download the entire game (don't use torrent, if there is an option for it)

Here are the installers

 

Edited by booman


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Friday 18 March 2016 at 23:46
kodosAnonymous

Hmm, I'm at a loss.

Me too

have never had so many problems with a game before

I can play any other game in POL without a problem

(except those that do not work in wine at all)

 

tried manual an script installation

64 and 32 bit, tried different directX installations and vcrun versions

tried to install the Wargaming Version of directX (which comes with the client) but it fails to install

also tried using different Nvidia drivers

 

the only thing I did not try was changing my kernel to latest version available (4.04)

 

PS:

there is no option for deactivating the torrent in the client any more, you have to close the client on installation, change the setting in launcher.cfg and restart the client.

Edited by kodos

booman Friday 18 March 2016 at 23:51
booman

Ah, then you know more than I do wink

Can you post the entire debug?


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Saturday 19 March 2016 at 0:10
kodosAnonymous

that is the whole log, all messages came upon game start, after login there are no more entries

 

[03/18/16 21:01:43] - Running wine-1.8-d3d_doublebuffer WorldOfWarships.exe (Working directory : /home/kodos/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/Games/World_of_Warships)
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v2.0.50727_32" failed to start: 1053
fixme:win:EnumDisplayDevicesW ((null),0,0x18ea0a0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x18ea0a0,0x00000000), stub!
fixme:ver:GetCurrentPackageId (0x32dd30 (nil)): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32f018,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x20054 0x00000000
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:d3d9:device_init Ignoring display mode.
fixme:win:EnumDisplayDevicesW ((null),0,0x32e9f8,0x00000000), stub!
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0xf4a1aae8, 0x1df340, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf4a1aae8
fixme:win:EnumDisplayDevicesW ((null),0,0x32e8b8,0x00000000), stub!
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:advapi:RegisterTraceGuidsW (0x26f5417, (nil), {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x274bc8c, (null), (null), 0x274cc90): stub
fixme:advapi:RegisterTraceGuidsW   register trace class {72b14a7d-704c-423e-92f8-7e6d64bcb92a}
fixme:advapi:RegisterTraceGuidsW   register trace class {e2091f8a-1e0a-4731-84a2-0dd57c8a5261}
fixme:advapi:RegisterTraceGuidsW   register trace class {e8a3bf1f-a86b-4390-9c60-5390b969d22c}
fixme:advapi:RegisterTraceGuidsW   register trace class {5727a00f-50be-4519-8256-f7699871fecb}
fixme:advapi:RegisterTraceGuidsW   register trace class {7e854ec7-cdc4-405a-b5b2-aaf7c9e7d40c}
fixme:advapi:RegisterTraceGuidsW   register trace class {79a60dc6-5fc8-4952-a41c-1163aeec5eb8}
fixme:advapi:RegisterTraceGuidsW   register trace class {2718d25b-5bf5-4479-8e88-babc64bdbfca}
fixme:process:GetNumaHighestNodeNumber (0x32f33c): semi-stub
fixme:imm:NotifyIME NI_CLOSECANDIDATE
fixme:imm:ImmReleaseContext (0x20054, 0x93ba9f8): stub
fixme:imm:NotifyIME IMC_SETCONVERSIONMODE

 

PS:

I deleted all directX libraries except d3dx9_43 and d3dcompiler_43, the game still crash but debug is now completly empty (will try the same now with wine 1.8 d3d doublebuffer)

 

[03/18/16 23:08:37] - Running wine-1.9.3-staging WorldOfWarships.exe (Working directory : /home/kodos/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/Games/World_of_Warships)
[03/19/16 00:16:03] - Running wine-1.9.3-staging WorldOfWarships.exe (Working directory : /home/kodos/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/Games/World_of_Warships)

Edited by kodos

booman Saturday 19 March 2016 at 14:17
booman

Are you sure that is the entire debug?

Is the debug showing when it crashed?

Most of the "fixme's" are just bugs and not officially errors that cause problems.  Sometimes you can make them go away, but they don't usually break games.


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Saturday 19 March 2016 at 19:28
kodosAnonymous

I made a new log file to be sure.

with wine 1.8 3d3 doublebuffer the log shows no message on crash

 

with wine 1.9.3 stagging, I get this one on crash

Exception TypeError: 'must be type, not None' in <bound method ClubsProxy.614734163933 of <ClubsProxy.ClubsProxy object at 0x0CD05990>> ignored

 

I set up wine 1.9.5 staging now and will see what happens

PS: any chance that a manual installation of the original directX can solve the problem?

booman Sunday 20 March 2016 at 13:16
booman

I'm re-reading your post and can't find what hardware you are using...
What video card do you have and which video drivers are you using?

Please tell me you are using an Nvidia GeForce card...

It probably doesn't matter because World of Warships was previously working right?

That ClubsProxy error may have something to do with the torrent downloading as you are playing.  Its probably one of those games that updates as you play.  Is there a way to download the entire game before beginning?

I have never manually installed direct x in PlayOnLinux, but their forums mention re-installing Visual C++ 2012 Redistributable and Visual C++ 2013 Redistributable.  There are packages for those:  vcrun2012, vcrun2013

But they only add a few overrides and do not really install the programs.
Visual C++ Downloads

I'm shooting in the dark here, but make sure to download the 32-bit versions.

  • PlayOnLinux Configure
  • Select World of Warships Shortcut
  • Miscellaneous Tab
  • Run an exe in this virtual drive
  • Select Visual C++
  • Follow Installation instructions

 

 

Edited by booman


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Sunday 20 March 2016 at 15:13
kodosAnonymous

Of course I use Nvidia (AMD driver just make too many problems on linux)

Tried different drivers with the card (352-355-361) no change to the game

 

Yes, it was previously working, but WG never write all changes in their patch notes so it is hard to tell what they change ("improved client stability and video card support" can mean anything)

 

There is no option to download the full game, just the client.

But because WG removed the option to disable the torrent, and you have to change this manually to be able to download it, maybe I just need to activate it again (because the game want to connect to the server via torrent to load something and crash because it cannot do so).

Edited by kodos

booman Sunday 20 March 2016 at 16:31
booman

Well anything is worth trying at this point.  Online games that are always updating can have these problems.  Specially if Windows has similar problems then PlayOnLinux/Wine inherits them.

Please post if you ever find a solution


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Friday 1 April 2016 at 0:07
kodosAnonymous

small update

still no luck to solve the problem, but if I make a clean install, I get the error on startup.

 

And today after the new patch was installed, the game still crash with the out of memory error (without a message in the log) but sometimes it crash without error, but with this message in the log:

err:ntdll:RtlpWaitForCriticalSection section 0x7d1ca8c0 "opengl.c: context_section" wait timed out in thread 004f, blocked by 0034, retrying (60 sec)

booman Friday 1 April 2016 at 4:05
booman

That really sucks.  I wonder if they decided to upgrade to Direct X 11? Or upgrade Visual C++?

Either of those can break a game in Wine


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kodos Wednesday 13 April 2016 at 0:42
kodosAnonymous

Don't know if todays patch, the latest Nvidia driver or a fresh install (32 bit, winxp, d3dcompiler43, d3dx9_36, wininet and msxml3) solved the problem, but at least for today it was gone.

 

booman Wednesday 13 April 2016 at 0:48
booman

Nice!  Great job "hanging in there" Kodos!  Glad to hear it fixed its-self


† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com