PDA

View Full Version : Linux: Wine + ArmA2Server.exe



{SF} c930
Jun 5 2009, 19:58
Hi,

is there anybody who runs the dedicated server via wine? I tried to but it freezes after the Server is created.

My wine version is 1.1.22.

Maybe someone has the same problem or maybe a solution. ;)

TomNedry
Jun 7 2009, 09:34
I'm about to try it, but like to test it on a local server installation first. I don't like to upload 8.8 GB first (or 7.3 GB zipped) before i'm not absolutely sure it will work afterwards...

My target OS will be an Ubuntu 9.04 (Server Ed.) on an Intel i7 920 Quad, 8 GB Ram. I'll give a feedback till the next weekend and would be interested in your install details/experiences...

donovan
Jun 20 2009, 08:39
Let us know !
Coz maybe we will be many to try this.. until Bis decide to make a REAL linux version of the dedicated server ^^

Ekre
Jun 20 2009, 10:52
that would be a cool workaround till the official server will come.
will check it also, i love to play with wine and its configs :)

TomNedry
Jun 24 2009, 20:09
I'm sorry to say that i failed to get "Arma2server.exe" working under Linux using Wine. My system is an Ubuntu "Hardy 8.04, Server Ed." and i tried the last stable Wine (1.01) and the newest developer branch (1.1.24).

I added two necessary DLL's (OpenAL32.dll, X3DAudio1_5.dll) to the "windows/system" folder within ".wine" and used XMing and Putty to display the Ubuntu X-server on my Vista desktop.

After starting "Arma2server.exe" with "wine ArmA2Server.exe -config=server.cfg -port=2302 -netlog" i got the "progress" window and later the "server-message" window saying "Dedicated host created".

Under Wine 1.01 the application than freezes (Termination with CTRL-C still possible), with Wine 1.1.24 a "Program Error" window pops up, saying

http://img526.imageshack.us/img526/6627/programerror.jpg


In the linux terminal window there is the following Wine ouput:

Wine (1.01)

ALSA lib ../../../src/seq/seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
fixme:event:wait_for_withdrawn_state window 0x10030/c00005 wait timed out
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
wine: Unhandled page fault on read access to 0x00000000 at address 0x40caad (thread 0009), starting debugger...
fixme:event:wait_for_withdrawn_state window 0x20030/1000005 wait timed out
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0040caad).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0040caad ESP:014ff84c EBP:014ff874 EFLAGS:00010246( R- -- I Z- -P- )
EAX:00000000 EBX:01b0f400 ECX:01612b9c EDX:01612ba0
ESI:01b0f400 EDI:00a963e4
Stack dump:
0x014ff84c: 00a963e4 00a963d8 01b0f400 014ffaec
0x014ff85c: 006c1b78 01612b9c 00000000 01b11400
0x014ff86c: 00000000 0046001b 00a963ec 0041878b
0x014ff87c: 00000000 000008fe 00a963ec 00a963d8
0x014ff88c: 00a963f8 014ffaec 00000000 0042aee2
0x014ff89c: 000008fe 13a51900 00000000 143c5750
Backtrace:
=>0 0x0040caad in arma2server (+0xcaad) (0x014ff874)
1 0x0041878b in arma2server (+0x1878b) (0x00a963ec)
2 0x00000000 (0x00000000)
0x0040caad: movl 0x0(%eax),%edx
Modules:
Module Address Debug info Name (81 modules)
PE 240000- 247000 Deferred x3daudio1_5
PE 400000- cf5000 Export arma2server
ELF 7b800000-7b950000 Deferred kernel32<elf>
\-PE 7b820000-7b950000 \ kernel32
ELF 7bc00000-7bcad000 Deferred ntdll<elf>
\-PE 7bc10000-7bcad000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e0e0000-7e143000 Deferred winedos<elf>
\-PE 7e0f0000-7e143000 \ winedos
ELF 7e1de000-7e1e4000 Deferred libnss_dns.so.2
ELF 7e1f3000-7e208000 Deferred psapi<elf>
\-PE 7e200000-7e208000 \ psapi
ELF 7e232000-7e265000 Deferred uxtheme<elf>
\-PE 7e240000-7e265000 \ uxtheme
ELF 7e265000-7e28a000 Deferred msacm32<elf>
\-PE 7e270000-7e28a000 \ msacm32
ELF 7e28a000-7e34d000 Deferred libasound.so.2
ELF 7e357000-7e36b000 Deferred midimap<elf>
\-PE 7e360000-7e36b000 \ midimap
ELF 7e36b000-7e382000 Deferred msacm32<elf>
\-PE 7e370000-7e382000 \ msacm32
ELF 7e382000-7e387000 Deferred libxfixes.so.3
ELF 7e387000-7e390000 Deferred libxcursor.so.1
ELF 7e390000-7e396000 Deferred libxrandr.so.2
ELF 7e396000-7e39e000 Deferred libxrender.so.1
ELF 7e39e000-7e3a3000 Deferred libxxf86vm.so.1
ELF 7e3a3000-7e3c2000 Deferred imm32<elf>
\-PE 7e3b0000-7e3c2000 \ imm32
ELF 7e3c2000-7e3c7000 Deferred libxdmcp.so.6
ELF 7e3c7000-7e3df000 Deferred libxcb.so.1
ELF 7e3df000-7e4c6000 Deferred libx11.so.6
ELF 7e4c6000-7e4d4000 Deferred libxext.so.6
ELF 7e4db000-7e4de000 Deferred libnss_mdns4_minimal.so.2
ELF 7e4e3000-7e57c000 Deferred winex11<elf>
\-PE 7e4f0000-7e57c000 \ winex11
ELF 7e5a4000-7e5c5000 Deferred libexpat.so.1
ELF 7e5c5000-7e5ef000 Deferred libfontconfig.so.1
ELF 7e5ef000-7e604000 Deferred libz.so.1
ELF 7e604000-7e674000 Deferred libfreetype.so.6
ELF 7e674000-7e687000 Deferred libresolv.so.2
ELF 7e696000-7e6b4000 Deferred iphlpapi<elf>
\-PE 7e6a0000-7e6b4000 \ iphlpapi
ELF 7e6b4000-7e6e1000 Deferred ws2_32<elf>
\-PE 7e6c0000-7e6e1000 \ ws2_32
ELF 7e6e1000-7e6fb000 Deferred wsock32<elf>
\-PE 7e6f0000-7e6fb000 \ wsock32
ELF 7e6fb000-7e767000 Deferred msvcrt<elf>
\-PE 7e710000-7e767000 \ msvcrt
ELF 7e767000-7e7b1000 Deferred dsound<elf>
\-PE 7e770000-7e7b1000 \ dsound
ELF 7e7b1000-7e81c000 Deferred rpcrt4<elf>
\-PE 7e7c0000-7e81c000 \ rpcrt4
ELF 7e81c000-7e912000 Deferred ole32<elf>
\-PE 7e830000-7e912000 \ ole32
ELF 7e912000-7e9d5000 Deferred comctl32<elf>
\-PE 7e920000-7e9d5000 \ comctl32
ELF 7e9d5000-7ea30000 Deferred shlwapi<elf>
\-PE 7e9e0000-7ea30000 \ shlwapi
ELF 7ea30000-7ebba000 Deferred shell32<elf>
\-PE 7ea40000-7ebba000 \ shell32
ELF 7ebba000-7ec0f000 Deferred advapi32<elf>
\-PE 7ebd0000-7ec0f000 \ advapi32
ELF 7ec0f000-7ecae000 Deferred gdi32<elf>
\-PE 7ec20000-7ecae000 \ gdi32
ELF 7ecae000-7edf4000 Deferred user32<elf>
\-PE 7ecd0000-7edf4000 \ user32
ELF 7edf4000-7ee89000 Deferred winmm<elf>
\-PE 7ee00000-7ee89000 \ winmm
ELF 7efa9000-7efb4000 Deferred libnss_files.so.2
ELF 7efb4000-7efcc000 Deferred libnsl.so.1
ELF 7efcc000-7eff1000 Deferred libm.so.6
ELF 7eff1000-7eff4000 Deferred libxinerama.so.1
ELF 7eff4000-7eff6000 Deferred libxcb-xlib.so.0
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF f7ce0000-f7ce3000 Deferred libxau.so.6
ELF f7ce3000-f7cec000 Deferred libnss_compat.so.2
ELF f7ced000-f7cf1000 Deferred libdl.so.2
ELF f7cf1000-f7e40000 Deferred libc.so.6
ELF f7e41000-f7e59000 Deferred libpthread.so.0
ELF f7e68000-f7fa3000 Deferred libwine.so.1
ELF f7fa5000-f7fc4000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\arma\arma2\Bohemia_Interactive\ArmA2Server.exe
0000001c -2
0000001b 0
00000018 0
00000017 1
00000009 0 <==
0000000c
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000019
0000001a 0
Backtrace:
=>0 0x0040caad in arma2server (+0xcaad) (0x014ff874)
1 0x0041878b in arma2server (+0x1878b) (0x00a963ec)
2 0x00000000 (0x00000000)
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs


Wine (1.1.24)


ALSA lib ../../../src/seq/seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
fixme:event:wait_for_withdrawn_state window 0x10030/c00005 wait timed out
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
wine: Unhandled page fault on read access to 0x00000000 at address 0x40caad (thread 0009), starting debugger...


BTW: The first line starting with "ALSA.." are just indicating that there is no soundcard (-driver) installed which is OK and has no effect on the following errors...

I will post at the WineHQ buglist, maybe there's a solution...

Herbal Influence
Oct 17 2009, 17:01
Hope you tried to run it in a virtual box also?
I know some doing that - works quite easy (Ubuntu) - but as of today the bandwidth wasn't really good - for whatever reason !

=JpS=SgtRock
Oct 18 2009, 23:00
IMO Wine is a bad idea for a gameserver. Just for starters, it requires running XWindows on a server. Unnecessary software should not be run on servers in order to minimize the attack surface. I certainly hope that BI doesn't think a GUI is necessary for their native Linux binary!