Forum

WOT fails to launch- DirectX

Författare Svar
phatum Monday 21 April 2014 at 22:46
phatumAnonymous

Hello,

 

I'm running a fresh install of Ubuntu 14.04 LTS (64bit)on the following hardware.

 

Intel® Core™ i7-3770 CPU @ 3.40GHz × 8

GeForce GTX 760/PCIe/SSE2

16GB Ram

 

I have the latest drivers from NVIDIA loaded 331.67

 

I have installed World Of Tanks VIA PlayOnLinux. However I am not able to the launch the game since this install and recieve the following error when I try to.

 

"Application has failed to start because directx hardware acceleration is not available or is turned off."

 

This was running previously on 14.04 as an upgraded version from Ubuntu 13.10 without issues*. I have just purchased a SSD drive and moved my /root OS to it. Thus the reason for the fresh install.

 

I have tried an exhuastive search to correct this issue but nothing that has worked so far. I've reinstalled a number of times to arrive at the same dead end.


  Anyone else seeing this issue? Anyone have a fix?

 

 

Thanks,

 

 

 

 

 

*Since the 9.0 patch the game would only stay stable if all on MIN settings

 

 

petch Tuesday 22 April 2014 at 0:22
petch
Developer

Probably related to #3814

Try removing the libxcb libs bundled with the packaged Wine used by the script:

[code=console]
$ rm ~/.PlayOnLinux/wine/linux-x86/1.7.12/lib/libxcb*
[/code]
phatum Tuesday 22 April 2014 at 4:55
phatumAnonymous

Hello petch,

no change...
booman Wednesday 23 April 2014 at 21:01
booman

Can you play any other games?
Have you installed any 32-bit libraries required to play World of Tanks?
Its probably 64-bit compatible, but I don't know offhand.

Can you post the PlayOnLinux debug when launching World of Tanks?

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
phatum Friday 25 April 2014 at 11:54
phatumAnonymous

Hello booman,


here is the requested output

-42a0-1069-a2ea-08002b30309d} (Internet Explorer)
fixme:shell:DllGetClassObject failed for CLSID={871c5380-42a0-1069-a2ea-08002b30309d} (Internet Explorer)
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_END_BROWSER_SESSION: STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_RESET_URLCACHE_SESSION: STUB
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
...
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:advapi:UnregisterTraceGuids 0: stub
fixme:ntdll:NtConnectPort (0x5b0c1170,L"\\ThemeApiPort",0x33f4dc,(nil),(nil),(nil),0x33f4ec,0x33f4e8),stub!
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fdbc 63 C) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x33fdbc 63 0x1a0778 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x33fdbc 63 0x1a0778 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x33fdbc 63 0x1a0778 (nil)) semi-stub
fixme:ver:GetCurrentPackageId (0x33e0b4 (nil)): stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33dfa0 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33ddf0 1 C) semi-stub
err:wgl:has_opengl Failed to load libGL: libGL.so.1: wrong ELF class: ELFCLASS64
err:wgl:has_opengl OpenGL support is disabled.
[04/24/14 19:08:05] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/mike/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"

petch Friday 25 April 2014 at 13:50
petch
Developer


err:wgl:has_opengl Failed to load libGL: libGL.so.1: wrong ELF class: ELFCLASS64
err:wgl:has_opengl OpenGL support is disabled.


The accelerated display library in the 32bit path is a 64bit binary, so it fails to load.
Your system is not installed correctly.

Don't you get a warning about 32bit OpenGL when PlayOnLinux starts?

Ändrat av petch

booman Friday 25 April 2014 at 16:17
booman

So basically he needs to install 32-bit libraries... correct?

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
petch Friday 25 April 2014 at 16:55
petch
Developer

That would mean that, as configured, the system tries 64bit libraries as a fall back for missing 32bit ones? That sound dubious, but who knows...
der Papst Friday 25 April 2014 at 19:15
der PapstAnonymous

I just installed Kubuntu 14.04 LTS 64bit, nvidia-driver is 331.38, playonlinux from muon and WOT with the pol-script. I don't have the same Problem as TS.
phatum Saturday 26 April 2014 at 22:10
phatumAnonymous

Yeah no errors when opening PlayOnLinux. Fails once you hit play from the WOT Launcher.



So where do I look if the correct libraries are installed.

mike@cherry2:~$ locate libGL
/usr/lib/libGL.la
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.331.67
/usr/lib/i386-linux-gnu/libGLU.so.1
/usr/lib/i386-linux-gnu/libGLU.so.1.3.1
/usr/lib/x86_64-linux-gnu/libGLEW.so.1.10
/usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0
/usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.10
/usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.10.0
/usr/lib/x86_64-linux-gnu/libGLU.so.1
/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2.0.0
/usr/lib32/libGL.la
/usr/lib32/libGL.so
/usr/lib32/libGL.so.1
/usr/lib32/libGL.so.331.67
/usr/lib32/libGLESv1_CM.so
/usr/lib32/libGLESv1_CM.so.1
/usr/lib32/libGLESv1_CM.so.331.67
/usr/lib32/libGLESv2.so
/usr/lib32/libGLESv2.so.2
/usr/lib32/libGLESv2.so.331.67
mike@cherry2:~$
phatum Sunday 27 April 2014 at 0:01
phatumAnonymous

Thanks der Papest.


I changed to the Kubuntu interface. Under KDE Settings I was able to change the driver to 331.38




All seems to be working now. WOOT!!



I appreaciate all the help guys. The Linux community rules!! Always so helpful.

Cheers


mslonik Friday 2 May 2014 at 20:24
mslonikAnonymous

I have pretty similar problem:

I have installed World Of Tanks VIA PlayOnLinux. However I am not able to the launch the game since this install and recieve the following error when I try to.

 

"Application has failed to start because directx hardware acceleration is not available or is turned off."


Unfortunately described solution doesn't work for me.


Some details about my PC configuration:

$ uname -r
3.13.0-24-generic


$ uname -p
i686

$ lsb_release -d
Description:    Ubuntu 14.04 LTS

Graphic card:
$ lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)

$ sudo lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 30d8
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at e4400000 (64-bit, non-prefetchable) [size=1M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 3
        Kernel driver in use: i915


$ locate libGL
/usr/lib/i386-linux-gnu/libGL.so
/usr/lib/i386-linux-gnu/libGLEW.so.1.10
/usr/lib/i386-linux-gnu/libGLEW.so.1.10.0
/usr/lib/i386-linux-gnu/libGLU.a
/usr/lib/i386-linux-gnu/libGLU.so
/usr/lib/i386-linux-gnu/libGLU.so.1
/usr/lib/i386-linux-gnu/libGLU.so.1.3.1
/usr/lib/i386-linux-gnu/mesa/libGL.so
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
/usr/lib/i386-linux-gnu/mesa-egl/libGLESv2.so.2
/usr/lib/i386-linux-gnu/mesa-egl/libGLESv2.so.2.0.0


No errors when opening PlayOnLinux:

$ playonlinux
Looking for python... 2.7.6 - selected
[main] Message: PlayOnLinux (4.2.2) is starting
[clean_tmp] Message: Cleaning temp directory
[POL_System_CheckFS] Message: Checking filesystem for /home/maciej/.PlayOnLinux/
[main] Message: Filesystem is compatible
[install_plugins] Message: Sprawdzanie wtyczki: ScreenCap...
[install_plugins] Message: Sprawdzanie wtyczki: PlayOnLinux Vault...
[maj_check] Message: List is up to date


The output of PlayOnLinux debugger after few attempts to run it:

[05/02/14 09:12:41] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"
[05/02/14 09:13:06] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"
[05/02/14 14:12:50] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"

Any ideas what might be wrong this time?

The output of PlayOnLinux debugger, few lines above:

fixme:ddrawex:ddrawex4_CreateSurface Implement aggregation for ddrawex surfaces.
fixme:d3d:resource_check_usage Unhandled usage flags 0x20000000.
fixme:d3d:resource_check_usage Unhandled usage flags 0x20000000.
fixme:ddrawex:ddrawex4_CreateSurface Implement aggregation for ddrawex surfaces.
fixme:d3d:resource_check_usage Unhandled usage flags 0x20000000.
fixme:d3d:resource_check_usage Unhandled usage flags 0x20000000.
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:tooltips:TOOLTIPS_WindowProc unknown msg 2007 wp=00000005 lp=00000000
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc50c6c
[05/02/14 09:12:41] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"
[05/02/14 09:13:06] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"
[05/02/14 14:12:50] - Running wine-1.7.12 WOTLauncher.exe (Working directory : /home/maciej/.PlayOnLinux/wineprefix/WorldOfTanks/drive_c/Games/World_of_Tanks)
wine: cannot find L"C:\\windows\\system32\\ctfmon.exe"
[05/02/14 14:14:19] - Running wine-1.7.12 winecfg (Working directory : /usr/share/playonlinux/python)
fixme:ntdll:NtConnectPort (0x5b0c1170,L"\\ThemeApiPort",0x32facc,(nil),(nil),(nil),0x32fadc,0x32fad8),stub!

Kind regards,
Maciej
RandomKnowledge Wednesday 4 June 2014 at 16:46
RandomKnowledgeAnonymous

I've recently had a similar problem after updating 13.10 to 14.04, where WoT was working fine, after the update , Laucher comes up, hit play, then a dialog "dirextx is disabled"

Running WorldofTanks.exe (i.e. skipping the launcher) directly from command line gave this error

"undefined symbol: xcb_send_fd err:wgl:has_opengl OpenGL support is disabled."

Which as suggested by the second reply in this thread is related to bug #3814 which google leads you straight to.

However, rather than deleting all xcb related libs as above, I simply renamed the libxcb.so* files.
(there were three on my system ?.so , ?.so.1 and ?.so.1.1.0 now named unused_libxcb.so )

This appears to have resolved my issue.

YMMV

(Side note, although I could feed WorldofTanks.exe to playonlinx as a command line option, and it first gave me the above error, it still fails to launch the game, getting stuck searching the filesystem for WOTLauncher.exe, so I had to go via WOTLauncher to confirm everything was working, now all I have to do is get jnr to stop watching youtube to solve the lag problem)