Game based on allegro5 can't run (worked with allegro4)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ngoonee
Level 2
Level 2
Posts: 23
Joined: Thu Jun 10, 2010 11:35 am

Game based on allegro5 can't run (worked with allegro4)

Post by ngoonee »

Hi, I'm trying to run this game - http://boardgamegeek.com/thread/618360/ ... mic/page/1

There's two versions, 1.23 (latest) which uses allegro5 and 1.21 which uses allegro4. 1.21 works fine, but has a bug at certain resolutions which was fixed in 1.22 (after the allegro5 switch). The allegro5 switch took place at the same time (I think) as the author switched to using visual c++ as a development platform, but trying vcrun2010 does not improve things.

When running 1.23 I get this. Note, up to the fixme:win:EnumDisplayDevicesW ((null),0,0x32f788,0x00000000), stub! the errors/warnings are the same as the ones I get for the (working) 1.21. Error seems to come from allegro.

So my question is, is there something about allegro5 that wine cannot handle. A search for allegro on these forums was not helpful.

Code: Select all

wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 9300M G/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 313.18)").
err:d3d:WineD3D_CreateFakeGLContext Failed to find a suitable pixel format.
err:d3d:wined3d_adapter_init Failed to get a GL context for adapter 0x131050.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f788,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x32f788,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f778,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x32f778,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f6e8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x76e308,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x76e308,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x76e2e8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x76e2e8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x76e258,0x00000000), stub!
wine: Unhandled page fault on read access to 0x00000000 at address 0x1002ffe5 (thread 0009), starting debugger...
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x1002ffe5).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:1002ffe5 ESP:0032fd60 EBP:0032fdfc EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:ffffff00 EBX:00000000 ECX:00000000 EDX:00000000
 ESI:00000000 EDI:0043919c
Stack dump:
0x0032fd60:  00554878 1002f4b2 00000000 00554878
0x0032fd70:  1002f490 0041ddad 00554878 00000000
0x0032fd80:  0043919c 00000001 0032fd74 7bc6bc4b
0x0032fd90:  0032fdd0 78b2b582 2767d0cc fffffffe
0x0032fda0:  78abaa6f 00426bbd 00426c29 5ffea87f
0x0032fdb0:  0043919c 004281cc 00000000 00000001
Backtrace:
=>0 0x1002ffe5 in allegro-5.0.7-monolith-md (+0x2ffe5) (0x0032fdfc)
  1 0x00426e1c in pandemic (+0x26e1b) (0x0032fe40)
  2 0x7b86017c call_process_entry+0xb() in kernel32 (0x0032fe58)
  3 0x7b86153b in kernel32 (+0x5153a) (0x0032fe98)
  4 0x7bc78ae0 call_thread_func_wrapper+0xb() in ntdll (0x0032feb8)
  5 0x7bc7b99f call_thread_func+0x9e() in ntdll (0x0032ff98)
  6 0x7bc78abe RtlRaiseException+0x21() in ntdll (0x0032ffc8)
  7 0x7bc4dfb1 call_dll_entry_point+0x530() in ntdll (0x0032ffe8)
  8 0xf763f62d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf763f70e wine_switch_to_stack+0x2d() in libwine.so.1 (0xff81c698)
  10 0x7bc53bef LdrInitializeThunk+0x3be() in ntdll (0xff81c708)
  11 0x7b867db8 __wine_kernel_init+0xbf7() in kernel32 (0xff81d828)
  12 0x7bc542cb __wine_process_init+0x18a() in ntdll (0xff81d8b8)
  13 0xf763d16e wine_init+0x2ad() in libwine.so.1 (0xff81d928)
  14 0x7bf00deb main+0x8a() in <wine-loader> (0xff81dd78)
  15 0xf7483825 __libc_start_main+0xf4() in libc.so.6 (0x00000000)
0x1002ffe5: movl        0x0(%esi),%eax
Modules:
Module  Address                 Debug info      Name (85 modules)
PE        400000-  443000       Export          pandemic
PE      10000000-10206000       Export          allegro-5.0.7-monolith-md
PE      78aa0000-78b5e000       Deferred        msvcr100
ELF     7a084000-7b800000       Deferred        swrast_dri.so
ELF     7b800000-7ba45000       Dwarf           kernel32<elf>
  \-PE  7b810000-7ba45000       \               kernel32
ELF     7bc00000-7bcd9000       Dwarf           ntdll<elf>
  \-PE  7bc10000-7bcd9000       \               ntdll
ELF     7bf00000-7bf04000       Dwarf           <wine-loader>
ELF     7c582000-7c5a7000       Deferred        imm32<elf>
  \-PE  7c590000-7c5a7000       \               imm32
ELF     7d742000-7d75d000       Deferred        libgcc_s.so.1
ELF     7d846000-7d854000       Deferred        libdrm.so.2
ELF     7d854000-7d8b2000       Deferred        libgl.so.1
ELF     7da69000-7daa0000       Deferred        uxtheme<elf>
  \-PE  7da70000-7daa0000       \               uxtheme
ELF     7daa0000-7daa6000       Deferred        libxfixes.so.3
ELF     7daa6000-7dab1000       Deferred        libxcursor.so.1
ELF     7dab1000-7dac1000       Deferred        libxi.so.6
ELF     7dac1000-7dac5000       Deferred        libxcomposite.so.1
ELF     7dac5000-7dad0000       Deferred        libxrandr.so.2
ELF     7dad0000-7daf2000       Deferred        libxcb.so.1
ELF     7daf2000-7daf8000       Deferred        libuuid.so.1
ELF     7daf8000-7db12000       Deferred        libice.so.6
ELF     7db12000-7dc49000       Deferred        libx11.so.6
ELF     7dc49000-7dc5b000       Deferred        libxext.so.6
ELF     7dc5b000-7dc64000       Deferred        libsm.so.6
ELF     7dc69000-7dc82000       Deferred        libxcb-glx.so.0
ELF     7dc82000-7dc99000       Deferred        libglapi.so.0
ELF     7dc9b000-7dd31000       Deferred        winex11<elf>
  \-PE  7dcb0000-7dd31000       \               winex11
ELF     7deeb000-7df14000       Deferred        libexpat.so.1
ELF     7df14000-7df4d000       Deferred        libfontconfig.so.1
ELF     7df4d000-7dfea000       Deferred        libfreetype.so.6
ELF     7dfef000-7dff2000       Deferred        libx11-xcb.so.1
ELF     7dff2000-7dffc000       Deferred        libxrender.so.1
ELF     7dffc000-7e002000       Deferred        libxxf86vm.so.1
ELF     7e042000-7e046000       Deferred        libxdamage.so.1
ELF     7e046000-7e04a000       Deferred        libxinerama.so.1
ELF     7e04a000-7e05a000       Deferred        libbz2.so.1.0
ELF     7e05a000-7e071000       Deferred        libz.so.1
ELF     7e071000-7e17a000       Deferred        opengl32<elf>
  \-PE  7e090000-7e17a000       \               opengl32
ELF     7e17a000-7e1ba000       Deferred        winspool<elf>
  \-PE  7e180000-7e1ba000       \               winspool
ELF     7e1ba000-7e2a3000       Deferred        comdlg32<elf>
  \-PE  7e1c0000-7e2a3000       \               comdlg32
ELF     7e2a3000-7e3e2000       Deferred        oleaut32<elf>
  \-PE  7e2c0000-7e3e2000       \               oleaut32
ELF     7e3e2000-7e470000       Deferred        gdiplus<elf>
  \-PE  7e3f0000-7e470000       \               gdiplus
ELF     7e470000-7e57b000       Deferred        comctl32<elf>
  \-PE  7e480000-7e57b000       \               comctl32
ELF     7e57b000-7e7ae000       Deferred        shell32<elf>
  \-PE  7e590000-7e7ae000       \               shell32
ELF     7e7ae000-7e7d9000       Deferred        msacm32<elf>
  \-PE  7e7b0000-7e7d9000       \               msacm32
ELF     7e7d9000-7e890000       Deferred        winmm<elf>
  \-PE  7e7e0000-7e890000       \               winmm
ELF     7e890000-7e909000       Deferred        shlwapi<elf>
  \-PE  7e8a0000-7e909000       \               shlwapi
ELF     7e909000-7e98e000       Deferred        rpcrt4<elf>
  \-PE  7e910000-7e98e000       \               rpcrt4
ELF     7e98e000-7eaab000       Deferred        gdi32<elf>
  \-PE  7e9a0000-7eaab000       \               gdi32
ELF     7eaab000-7ec0c000       Deferred        user32<elf>
  \-PE  7eac0000-7ec0c000       \               user32
ELF     7ec0c000-7ec7d000       Deferred        advapi32<elf>
  \-PE  7ec20000-7ec7d000       \               advapi32
ELF     7ec7d000-7edbf000       Deferred        ole32<elf>
  \-PE  7ec90000-7edbf000       \               ole32
ELF     7ef86000-7efc9000       Deferred        libm.so.6
ELF     7efcb000-7efd2000       Deferred        libxdmcp.so.6
ELF     7efd2000-7efec000       Deferred        version<elf>
  \-PE  7efe0000-7efec000       \               version
ELF     7efec000-7f000000       Deferred        psapi<elf>
  \-PE  7eff0000-7f000000       \               psapi
ELF     f7421000-f7425000       Deferred        libxau.so.6
ELF     f742e000-f7433000       Deferred        libdl.so.2
ELF     f7433000-f7440000       Deferred        libnss_files.so.2
ELF     f746a000-f761b000       Dwarf           libc.so.6
ELF     f761b000-f7636000       Deferred        libpthread.so.0
ELF     f7636000-f7779000       Dwarf           libwine.so.1
ELF     f777a000-f779c000       Deferred        ld-linux.so.2
ELF     f779c000-f779d000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\data\Downloads\Pandemic 1.23\Pandemic.exe
        00000009    0 <==
0000000e services.exe
        0000001e    0
        0000001d    0
        00000018    0
        00000017    0
        00000015    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        00000019    0
        00000014    0
        00000013    0
0000001a plugplay.exe
        0000001f    0
        0000001c    0
        0000001b    0
00000020 explorer.exe
        00000021    0
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Game based on allegro5 can't run (worked with allegro4)

Post by dimesio »

Try the nouveau driver as the console output suggests. If it doesn't work, file a bug.
ngoonee
Level 2
Level 2
Posts: 23
Joined: Thu Jun 10, 2010 11:35 am

Re: Game based on allegro5 can't run (worked with allegro4)

Post by ngoonee »

Those same errors appear even on the version of the game that works though. No real objection to nouveau except how it doesn't allow my keyboards to work (separate issue), if there's any other possible thing to try that doesn't involve me trying nouveau I'd prefer that first.
Locked