War Thunder crashes when the battle start.

Questions about Wine on Linux
Locked
Malganys
Level 2
Level 2
Posts: 10
Joined: Wed Feb 19, 2014 3:08 am

War Thunder crashes when the battle start.

Post by Malganys »

Hello, I have a rare problem with War Thunder, when I start a new battle, it shows the loading screen and all are OK, but, after 5 or 3 minutes the game freezes.

log.txt here:
http://pastebin.com/KzTuKQd8

PD: Sorry if my English not is understandable.
PD2: I use wine 1.7.14
PD3: I use Xubuntu 13.10
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: War Thunder crashes when the battle start.

Post by Bob Wya »

@Malganys,

Your english is fine 8)

The Wine console output clearly states that you are missing some Linux (native) libraries...

Code: Select all

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
This is not a "deal breaker" (blocker) issue really though...

If you are using a 64-bit version of Xubuntu 13.10...
Have you got the 32-bit libraries installed for your graphics driver?
Have you tried installing the game in a 32-bit Wineprefix?

Otherwise (if using) a 32-bit version of Xubuntu...
Have you correctly installed your graphics drivers at all?

All the spamming of...

Code: Select all

fixme:d3d:wined3d_swapchain_present Ignoring flags 0x1.
in the Wine console output... Means Wine has no OpenGL API available to map DirectX commands to.

Bob
Malganys
Level 2
Level 2
Posts: 10
Joined: Wed Feb 19, 2014 3:08 am

Re: War Thunder crashes when the battle start.

Post by Malganys »

@Bob

Thanks.

I don't know, how can I know if I have all 32-bit libraries of my graphic card?
I not tried it (and I really don't know how I can do it).

The spamming message can be fixed?

I'm new with WINE, I don't know much about this.

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

Re: War Thunder crashes when the battle start.

Post by Bob Wya »

@Malganys,

OK then... What's the output of the following 2 commands (run as root) on your system...

Code: Select all

lspci -v | awk '{ vga=(vga||($0 ~ /VGA/)) && ($0 != ""); if (vga) {print $0} }'
uname --all
Thanks
Bob
Malganys
Level 2
Level 2
Posts: 10
Joined: Wed Feb 19, 2014 3:08 am

Re: War Thunder crashes when the battle start.

Post by Malganys »

First command:

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730] (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Device 3066
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fbee0000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at d000 [size=256]
	Expansion ROM at fbec0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: radeon
Second command:

Code: Select all

Linux 3.13.6-031306-generic #201403070154 x86_64 x86_64 x86_64 GNU/Linux
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: War Thunder crashes when the battle start.

Post by Bob Wya »

@Malganys,

Ah! You're in luck as I've got Kubuntu 13.10 installed on my laptop - on which am I forced to use the radeon driver - as my AMD Radeon 4650M card is no longer supported by AMD.

I'm using this graphics PPA...

Code: Select all

deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu saucy main
Your card is covered by the r600 driver.

All the graphics acceleration packages I've installed - just a plain console dump (OTT - but won't do you any harm!!)...

Code: Select all

aptitude search radeon | grep ^i
i   libdrm-radeon1                  - Userspace interface to radeon-specific ker
i A libdrm-radeon1:i386             - Userspace interface to radeon-specific ker
i   xserver-xorg-video-radeon       - X.Org X server -- AMD/ATI Radeon display d

aptitude search mesa | grep ^i                                                                                                                                                                
i   libegl1-mesa                    - free implementation of the EGL API -- runt
i   libegl1-mesa-drivers            - free implementation of the EGL API -- hard
i   libg3dvl-mesa                   - xvmc and vdpau Gallium3D video acceleratio
i A libgl1-mesa-dev                 - free implementation of the OpenGL API -- G
i   libgl1-mesa-dri                 - free implementation of the OpenGL API -- D
i A libgl1-mesa-dri:i386            - free implementation of the OpenGL API -- D
i   libgl1-mesa-glx                 - free implementation of the OpenGL API -- G
i A libgl1-mesa-glx:i386            - free implementation of the OpenGL API -- G
i   libglapi-mesa                   - free implementation of the GL API -- share
i A libglapi-mesa:i386              - free implementation of the GL API -- share
i   libgles2-mesa                   - free implementation of the OpenGL|ES 2.x A
i   libglu1-mesa                    - Mesa OpenGL utility library (GLU)         
i A libglu1-mesa:i386               - Mesa OpenGL utility library (GLU)         
i A libglu1-mesa-dev                - Mesa OpenGL utility library -- development
i   libopenvg1-mesa                 - free implementation of the OpenVG API -- r
i A libosmesa6                      - Mesa Off-screen rendering extension       
i A libosmesa6:i386                 - Mesa Off-screen rendering extension       
i A mesa-common-dev                 - Developer documentation for Mesa          
i A mesa-utils                      - Miscellaneous Mesa GL utilities     
Try installing that PPA and drivers... Then see how you get on :-)

All the best,
Bob
Malganys
Level 2
Level 2
Posts: 10
Joined: Wed Feb 19, 2014 3:08 am

Re: War Thunder crashes when the battle start.

Post by Malganys »

I have my drivers from that PPA.
I see that I can fix the problem installing pk11-kit:i386, but, if I install the package, deletes xubuntu-desktop, ubuntu software center and other important packages, do you know why happens this?

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

Re: War Thunder crashes when the battle start.

Post by Bob Wya »

Malganys wrote:I have my drivers from that PPA.
I see that I can fix the problem installing pk11-kit:i386, but, if I install the package, deletes xubuntu-desktop, ubuntu software center and other important packages, do you know why happens this?

Regards.
Ahh, multilib hell :twisted:

Take a look here for more info (Debian Guide to Multiarch)...

If you install the pk11-kit:i386 - using Synaptic - does the system still try to remove itself?? Synaptic should resolve the fact that the package is a "foreign architecture" and will automagically install any 32-bit dependencies. dpkg = not so clever (without some extra help - see more details on Debian guide).

Bob
Malganys
Level 2
Level 2
Posts: 10
Joined: Wed Feb 19, 2014 3:08 am

Re: War Thunder crashes when the battle start.

Post by Malganys »

Hello Bob, the guide don't helped me, I try but Xubuntu continues trying to remove important packages, when I try to install p11-kit:i386.

Console log:

Code: Select all

root@malganys:/home/malganys# sudo apt-get install p11-kit:i386
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  gnome-keyring oneconf p11-kit python-ubuntu-sso-client software-center ubuntu-sso-client xubuntu-desktop
Se instalarán los siguientes paquetes NUEVOS:
  p11-kit:i386
0 actualizados, 1 se instalarán, 7 para eliminar y 2 no actualizados.
Necesito descargar 117 kB de archivos.
Se liberarán 7.280 kB después de esta operación.
The console log are in spanish, but is understandable.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: War Thunder crashes when the battle start.

Post by dimesio »

If you don't use p11-kit for anything, uninstalling it will also get rid of the message about it in Wine's output. However, that error message has nothing to do with your problem, so I wouldn't spend a lot of time and effort on getting rid of it.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: War Thunder crashes when the battle start.

Post by Bob Wya »

Malganys wrote:Hello Bob, the guide don't helped me, I try but Xubuntu continues trying to remove important packages, when I try to install p11-kit:i386.
Bob Wya wrote:This is not a "deal breaker" (blocker) issue really though...
I already said that not having this 32-bit library is not a problem!!

Just worry about getting your native Linux graphics card drivers installed (both 64-bit and 32-bit).

Bob
Locked