You are not logged in.

#1 2011-08-03 12:33:10

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Commandos II:MoC in wine complains about winemp3/libmpg123 and OpenGL

Hello.

I installed the game Commandos II: Men of Courage in wine in my wine applications folder about half a year ago. It worked great, but I stopped playing it (because I played it too intensely smile). When I try to start commandos in wine in its own X session (xinit /usr/bin/urxvt -- :1) like I did back then, it won't start, but instead gives these errors/output:

rasmus@treebeard ~ % wine /home/rasmus/.wine/drive_c/Program\ Files\ \(x86\)/Commandos\ II/comm2.exe
fixme:ntoskrnl:IoAllocateDriverObjectExtension stub: 0x7efff5a0, 0x542d80, 72, 0x53e748
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
wine: Unhandled page fault on write access to 0x7d637000 at address 0xf7544e16 (thread 0009), starting debugger...
fixme:event:wait_for_withdrawn_state window 0x10074/1200001 wait timed out
Unhandled exception: page fault on write access to 0x7d637000 in 32-bit code (0xf7544e16).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:f7544e16 ESP:0032f058 EBP:0032f21c EFLAGS:00210246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:7dc5fad0 ECX:00ca45d8 EDX:7d59a2b8
 ESI:7e3b29d0 EDI:7d637000
Stack dump:
0x0032f058:  032f2150 7dc398af 7d5d6620 7e351ff0
0x0032f068:  032f2140 00000000 7d5418d0 00000004
0x0032f078:  0032f214 7e389e58 0032f21c 00000001
0x0032f088:  00000000 7e2b10c1 00000001 0032f21c
0x0032f098:  0032f214 7e351ff0 0012e654 7dc0a490
0x0032f0a8:  00000001 00000000 7d560070 7d52c994
Backtrace:
=>0 0xf7544e16 memcpy+0x46() in libc.so.6 (0x0032f21c)
  1 0x032f2150 (0x0032f21c)
  2 0x00010068 (0x7ecec0df)
  3 0xc25b18c4 (0x830cec83)
0xf7544e16 memcpy+0x46 in libc.so.6: repe movsl    (%esi),%es:(%edi)
Modules:
Module    Address            Debug info    Name (90 modules)
PE      400000-  c1f000    Deferred        comm2
ELF    7b800000-7b9b4000    Deferred        kernel32<elf>
  \-PE    7b810000-7b9b4000    \               kernel32
ELF    7bc00000-7bcd0000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcd0000    \               ntdll
ELF    7bf00000-7bf03000    Deferred        <wine-loader>
ELF    7dacc000-7dad5000    Deferred        librt.so.1
ELF    7dad5000-7daf0000    Deferred        libgcc_s.so.1
ELF    7dbde000-7dbe9000    Deferred        libdrm.so.2
ELF    7dbe9000-7dbfa000    Deferred        libxcb-glx.so.0
ELF    7dbfa000-7dc0f000    Deferred        libglapi.so.0
ELF    7dc0f000-7dc64000    Deferred        libgl.so.1
ELF    7dc86000-7dca0000    Deferred        spoolss<elf>
  \-PE    7dc90000-7dca0000    \               spoolss
ELF    7dca0000-7dcd1000    Deferred        libcrypt.so.1
ELF    7dcd1000-7dd1d000    Deferred        libcups.so.2
ELF    7dd1d000-7dd3f000    Deferred        localspl<elf>
  \-PE    7dd20000-7dd3f000    \               localspl
ELF    7dd82000-7ddb7000    Deferred        uxtheme<elf>
  \-PE    7dd90000-7ddb7000    \               uxtheme
ELF    7ddb7000-7ddbc000    Deferred        libxfixes.so.3
ELF    7ddbc000-7ddc5000    Deferred        libxcursor.so.1
ELF    7ddc5000-7ddd2000    Deferred        libxi.so.6
ELF    7ddd2000-7ddd9000    Deferred        libxrandr.so.2
ELF    7ddd9000-7dde1000    Deferred        libxrender.so.1
ELF    7dde1000-7dde6000    Deferred        libxxf86vm.so.1
ELF    7dde6000-7ddfe000    Deferred        libxcb.so.1
ELF    7ddfe000-7de15000    Deferred        libice.so.6
ELF    7de15000-7df31000    Deferred        libx11.so.6
ELF    7df31000-7df3f000    Deferred        libxext.so.6
ELF    7df3f000-7df46000    Deferred        libsm.so.6
ELF    7df46000-7df48000    Deferred        libx11-xcb.so.1
ELF    7df4b000-7df4e000    Deferred        libxdamage.so.1
ELF    7df68000-7e01b000    Deferred        winex11<elf>
  \-PE    7df70000-7e01b000    \               winex11
ELF    7e056000-7e07f000    Deferred        libexpat.so.1
ELF    7e07f000-7e0ad000    Deferred        libfontconfig.so.1
ELF    7e0ad000-7e145000    Deferred        libfreetype.so.6
ELF    7e146000-7e14b000    Deferred        libxdmcp.so.6
ELF    7e167000-7e189000    Deferred        imm32<elf>
  \-PE    7e170000-7e189000    \               imm32
ELF    7e189000-7e1c7000    Deferred        dinput<elf>
  \-PE    7e190000-7e1c7000    \               dinput
ELF    7e1c7000-7e1ff000    Deferred        dplayx<elf>
  \-PE    7e1d0000-7e1ff000    \               dplayx
ELF    7e1ff000-7e24b000    Deferred        dsound<elf>
  \-PE    7e210000-7e24b000    \               dsound
ELF    7e24b000-7e38f000    Deferred        wined3d<elf>
  \-PE    7e260000-7e38f000    \               wined3d
ELF    7e38f000-7e400000    Deferred        ddraw<elf>
  \-PE    7e3a0000-7e400000    \               ddraw
ELF    7e400000-7e43b000    Deferred        winspool<elf>
  \-PE    7e410000-7e43b000    \               winspool
ELF    7e43b000-7e4ac000    Deferred        shlwapi<elf>
  \-PE    7e450000-7e4ac000    \               shlwapi
ELF    7e4ac000-7e6c6000    Deferred        shell32<elf>
  \-PE    7e4c0000-7e6c6000    \               shell32
ELF    7e6c6000-7e7be000    Deferred        comdlg32<elf>
  \-PE    7e6d0000-7e7be000    \               comdlg32
ELF    7e7be000-7e7e8000    Deferred        msacm32<elf>
  \-PE    7e7c0000-7e7e8000    \               msacm32
ELF    7e7e8000-7e88d000    Deferred        winmm<elf>
  \-PE    7e7f0000-7e88d000    \               winmm
ELF    7e88d000-7e90b000    Deferred        rpcrt4<elf>
  \-PE    7e8a0000-7e90b000    \               rpcrt4
ELF    7e90b000-7ea38000    Deferred        ole32<elf>
  \-PE    7e920000-7ea38000    \               ole32
ELF    7ea38000-7eb37000    Deferred        comctl32<elf>
  \-PE    7ea40000-7eb37000    \               comctl32
ELF    7eb37000-7eb50000    Deferred        version<elf>
  \-PE    7eb40000-7eb50000    \               version
ELF    7eb50000-7ebb7000    Deferred        advapi32<elf>
  \-PE    7eb60000-7ebb7000    \               advapi32
ELF    7ebb7000-7ec65000    Deferred        gdi32<elf>
  \-PE    7ebc0000-7ec65000    \               gdi32
ELF    7ec65000-7edb4000    Deferred        user32<elf>
  \-PE    7ec80000-7edb4000    \               user32
ELF    7efb4000-7efde000    Deferred        libm.so.6
ELF    7efde000-7eff3000    Deferred        libz.so.1
ELF    7eff3000-7f000000    Deferred        libnss_files.so.2
ELF    f74a0000-f74a3000    Deferred        libxcomposite.so.1
ELF    f74a5000-f74aa000    Deferred        libdl.so.2
ELF    f74aa000-f74ad000    Deferred        libxinerama.so.1
ELF    f74ad000-f74b0000    Deferred        libxau.so.6
ELF    f74c1000-f74c5000    Deferred        libuuid.so.1
ELF    f74cc000-f7635000    Dwarf           libc.so.6
ELF    f7635000-f7650000    Deferred        libpthread.so.0
ELF    f7650000-f7793000    Dwarf           libwine.so.1
ELF    f7794000-f77b5000    Deferred        ld-linux.so.2
ELF    f77b5000-f77b6000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Commandos II\comm2.exe
    00000009    0 <==
0000000e services.exe
    00000020    0
    0000001b    0
    00000016    0
    00000015    0
    00000014    0
    00000010    0
    0000000f    0
00000011 winedevice.exe
    00000017    0
    00000013    0
    00000012    0
00000018 plugplay.exe
    0000001c    0
    0000001a    0
    00000019    0
0000001d winedevice.exe
    00000021    0
    0000001f    0
    0000001e    0
00000022 explorer.exe
    00000023    0
Backtrace:
=>0 0xf7544e16 memcpy+0x46() in libc.so.6 (0x0032f21c)
  1 0x032f2150 (0x0032f21c)
  2 0x00010068 (0x7ecec0df)
  3 0xc25b18c4 (0x830cec83)
5 rasmus@treebeard ~ %   

The message arrives in two parts: the wine debugger ('starting debugger ...') says it would be nice to report any errors, OK to that and the rest of the output arrives.

I suppose these errors arrive because of me playing commandos in an older version of wine, and then some cache somewhere has not updated since then. But these are just some thoughts ...

I've found out that this libmpg is not possible to install with winetricks.

Also: I'm able to start some other apps in wine, like Wenlin (a dictionary). They sometimes have to install gecko, but works.

Some advice on this would be really nice.

Offline

#2 2011-08-05 13:59:34

rusma
Member
From: Ås, Norway
Registered: 2009-11-01
Posts: 110

Re: Commandos II:MoC in wine complains about winemp3/libmpg123 and OpenGL

Hello.

This is the output of C2:MoC after doing some more stuff the other day I do not remember (reinstalling Commandos/installing directx9 with winetricks):

rasmus@treebeard ~ % wine /home/rasmus/.wine/drive_c/Program\ Files\ \(x86\)/Commandos\ II/comm2.exe
fixme:ntoskrnl:IoAllocateDriverObjectExtension stub: 0x7eff25a0, 0x652d80, 72, 0x64e748
err:module:import_dll Library DPLAYX.dll (which is needed by L"C:\\Program Files (x86)\\Commandos II\\comm2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files (x86)\\Commandos II\\comm2.exe" failed, status c0000135
53 rasmus@treebeard ~ %

I backup'd the ~/,wine folder and instlled gecko and commandos and stuff again in a new ~/.wine folder. This would be the output of a successful run of C2:MoC:

rasmus@treebeard ~ % wine /home/rasmus/.wine/drive_c/Program\ Files\ \(x86\)/Commandos\ II/comm2.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 4 and card vendor 0000.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f2c0,0x00000000), stub!
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 8 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x175a18,0x16eb80): stub
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x186280/0x186280)->(0x12b620,{a35ff56a-9fda-11d0-8fdf-00c04fd9189d},0,(nil)) partial stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x186280/0x186280)->((nil),{a35ff56b-9fda-11d0-8fdf-00c04fd9189d},1,(nil)) partial stub!
fixme:amstream:IDirectDrawMediaStreamImpl_CreateSample (0x186c78)->((nil),(nil),0,0x271ab20) stub!
fixme:amstream:IDirectDrawMediaStreamImpl_GetFormat (0x186c78)->(0x32f37c,(nil),(nil),(nil)) stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x187c58/0x187c58)->(0x12b620,{a35ff56a-9fda-11d0-8fdf-00c04fd9189d},0,(nil)) partial stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x187c58/0x187c58)->((nil),{a35ff56b-9fda-11d0-8fdf-00c04fd9189d},1,(nil)) partial stub!
fixme:amstream:IDirectDrawMediaStreamImpl_CreateSample (0x188158)->((nil),(nil),0,0x271ab20) stub!
fixme:amstream:IDirectDrawMediaStreamImpl_GetFormat (0x188158)->(0x32f37c,(nil),(nil),(nil)) stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x188bb0/0x188bb0)->(0x12b620,{a35ff56a-9fda-11d0-8fdf-00c04fd9189d},0,(nil)) partial stub!
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream (0x188bb0/0x188bb0)->((nil),{a35ff56b-9fda-11d0-8fdf-00c04fd9189d},1,(nil)) partial stub!
fixme:amstream:IDirectDrawMediaStreamImpl_CreateSample (0x1890b0)->((nil),(nil),0,0x271ab20) stub!
fixme:amstream:IDirectDrawMediaStreamImpl_GetFormat (0x1890b0)->(0x32f37c,(nil),(nil),(nil)) stub!
fixme:event:wait_for_withdrawn_state window 0x2002c/600005 wait timed out 
wine   2.71s user 10.17s system 66% cpu 19.319 total
rasmus@treebeard ~ % 

Since I am using a laptop atm I noticed that there seems to be some calibration issues with my touchpad (the standard one on a Dell Latitude E5400), but maybe synaptics in general. The best explaination would be that if you move the pointer "three steps forward", next it would move "two steps back". So, while in C2:MoC I would use a mouse.

Also, the sound does not work atm (there is some errors in the successful output).

Offline

Board footer

Powered by FluxBB