Hi,
I'm running into errors trying to launch Civilization IV (both basic
and BtS). I followed the instructions from the thread below:
http://osdir.com/ml/wine-users/2009-08/msg00427.html
...and changed OffscreenRenderingMode to "backbuffer". This solves the
problem described there but runs into another. Setting it to "pbuffer"
gives the same result:
-------8<--------
Unhandled exception: page fault on read access to 0x00000010 in 32-bit
code (0xb774b594).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:b774b594 ESP:0033f018 EBP:0033f050 EFLAGS:00010292( R- -- I S -A- - )
EAX:00000000 EBX:b7752ff4 ECX:00000060 EDX:001e08c0
ESI:00000000 EDI:00000060
Stack dump:
0x0033f018: 00110000 00000008 000e0000 7ef891c1
0x0033f028: 00000009 b7ea4ff4 b7ea6380 7efe3ff4
0x0033f038: 001e08a0 7efe3ff4 0033f0b0 b79d5ff4
0x0033f048: b7449008 00000060 0033f070 b779bc5b
0x0033f058: 00000000 00000000 00000060 001e08c0
0x0033f068: b7449008 b79d5ff4 0033f0b0 b77f0a30
Backtrace:
=>0 0xb774b594 drm_intel_bo_get_subdata+0x1d() in libdrm_intel.so.1
(0x0033f050)
1 0xb779bc5b in i915_dri.so (+0x2bc5b) (0x0033f070)
2 0xb77f0a30 _mesa_GetBufferSubDataARB+0x93() in i915_dri.so (0x0033f0b0)
3 0xb7ab7d2b buffer_get_sysmem+0x9f() in wined3d (0x0033f0d0)
4 0xb7ab9571 in wined3d (+0x29571) (0x0033f170)
5 0xb7ad9607 device_stream_info_from_declaration+0x68f() in wined3d
(0x0033f230)
6 0xb7b4169e in wined3d (+0xb169e) (0x0033f2c0)
7 0xb7b0f73a in wined3d (+0x7f73a) (0x0033f2f0)
8 0xb7ac1f39 ActivateContext+0x2a3() in wined3d (0x0033f3a0)
9 0xb7af7167 drawPrimitive+0xe5() in wined3d (0x0033f750)
10 0xb7acfa21 in wined3d (+0x3fa21) (0x0033f7b0)
11 0xb7cc3af7 in d3d9 (+0x13af7) (0x0033f800)
12 0x009a33fd in civ4beyondsword (+0x5a33fd) (0x1a1ffa50)
13 0x00000000 (0x00ad63a8)
14 0x009a4620 in civ4beyondsword (+0x5a4620) (0x009a68a0)
0xb774b594 drm_intel_bo_get_subdata+0x1d in libdrm_intel.so.1:
movl 0x10(%esi),%eax
Modules:
Module Address Debug info Name (123 modules)
PE 340000- 353000 Deferred zlib1
PE 360000- 36e000 Deferred hapdbg
PE 400000- 100a000 Export civ4beyondsword
PE 1010000- 137f000 Deferred d3dx9_33
PE 1c70000- 2131000 Deferred cvgamecoredll
PE fe90000- feb0000 Deferred msseax.flt
PE ffc0000- ffcd000 Deferred msssrs.flt
PE 10000000-1002b000 Deferred boost_python-vc71-mt-1_32
PE 18000000-18038000 Deferred binkw32
PE 1b690000-1b8f7000 Deferred d3dx9_31
PE 1e000000-1e1ca000 Deferred python24
PE 21100000-2118c000 Deferred mss32
PE 22300000-2230c000 Deferred mssds3d.flt
PE 23000000-2300a000 Deferred mssdolby.flt
PE 24100000-2411e000 Deferred mssdsp.flt
PE 26400000-2643a000 Deferred mssvoice.asi
PE 26f00000-26f2e000 Deferred mssmp3.asi
PE 69b10000-69c14000 Deferred msxml3
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7d4c0000-7d4e5000 Deferred msacm32<elf>
\-PE 7d4d0000-7d4e5000 \ msacm32
ELF 7d4e5000-7d4fd000 Deferred msacm32<elf>
\-PE 7d4f0000-7d4fd000 \ msacm32
ELF 7dcfe000-7dd03000 Deferred libgdbm.so.3
ELF 7dd03000-7dd09000 Deferred libcap.so.2
ELF 7dd09000-7dd48000 Deferred libdbus-1.so.3
ELF 7dd48000-7dd5d000 Deferred libresolv.so.2
ELF 7dd5d000-7dd63000 Deferred libasyncns.so.0
ELF 7dd63000-7ddaa000 Deferred libpulsecommon-0.9.15.so
ELF 7ddaa000-7dde7000 Deferred libpulse.so.0
ELF 7dde9000-7ddfe000 Deferred midimap<elf>
\-PE 7ddf0000-7ddfe000 \ midimap
ELF 7ddfe000-7de07000 Deferred librt.so.1
ELF 7de07000-7dedd000 Deferred libasound.so.2
ELF 7dede000-7dee7000 Deferred libwrap.so.0
ELF 7dee7000-7deed000 Deferred libxtst.so.6
ELF 7deed000-7def4000 Deferred libasound_module_pcm_pulse.so
ELF 7def4000-7df2a000 Deferred winealsa<elf>
\-PE 7df00000-7df2a000 \ winealsa
ELF 7df6f000-7dfa1000 Deferred uxtheme<elf>
\-PE 7df80000-7dfa1000 \ uxtheme
ELF 7dfa1000-7dfa7000 Deferred libxfixes.so.3
ELF 7dfa7000-7dfb1000 Deferred libxcursor.so.1
ELF 7dfb1000-7dfb5000 Deferred libxcomposite.so.1
ELF 7dfb5000-7dfbd000 Deferred libxrandr.so.2
ELF 7dfbd000-7dfc6000 Deferred libxrender.so.1
ELF 7dfc6000-7dfcc000 Deferred libxxf86vm.so.1
ELF 7dfcc000-7dfd0000 Deferred libxinerama.so.1
ELF 7dfd0000-7dff0000 Deferred imm32<elf>
\-PE 7dfe0000-7dff0000 \ imm32
ELF 7dff0000-7dff5000 Deferred libxdmcp.so.6
ELF 7dff5000-7dff9000 Deferred libxau.so.6
ELF 7dff9000-7e015000 Deferred libxcb.so.1
ELF 7e015000-7e01a000 Deferred libuuid.so.1
ELF 7e01a000-7e032000 Deferred libice.so.6
ELF 7e032000-7e157000 Deferred libx11.so.6
ELF 7e157000-7e167000 Deferred libxext.so.6
ELF 7e167000-7e170000 Deferred libsm.so.6
ELF 7e170000-7e209000 Deferred winex11<elf>
\-PE 7e180000-7e209000 \ winex11
ELF 7e231000-7e257000 Deferred libexpat.so.0
ELF 7e257000-7e289000 Deferred libfontconfig.so.1
ELF 7e289000-7e29b000 Deferred libz.so.1
ELF 7e29b000-7e317000 Deferred libfreetype.so.6
ELF 7e32e000-7e377000 Deferred dsound<elf>
\-PE 7e340000-7e377000 \ dsound
ELF 7e377000-7e452000 Deferred oleaut32<elf>
\-PE 7e390000-7e452000 \ oleaut32
ELF 7e452000-7e4bb000 Deferred rpcrt4<elf>
\-PE 7e460000-7e4bb000 \ rpcrt4
ELF 7e4bb000-7e5aa000 Deferred ole32<elf>
\-PE 7e4d0000-7e5aa000 \ ole32
ELF 7e5aa000-7e5be000 Deferred lz32<elf>
\-PE 7e5b0000-7e5be000 \ lz32
ELF 7e5be000-7e5d8000 Deferred version<elf>
\-PE 7e5c0000-7e5d8000 \ version
ELF 7e5d8000-7e605000 Deferred ws2_32<elf>
\-PE 7e5e0000-7e605000 \ ws2_32
ELF 7e605000-7e69e000 Deferred winmm<elf>
\-PE 7e610000-7e69e000 \ winmm
ELF 7e69e000-7e708000 Deferred msvcrt<elf>
\-PE 7e6b0000-7e708000 \ msvcrt
ELF 7e708000-7e7c8000 Deferred comctl32<elf>
\-PE 7e710000-7e7c8000 \ comctl32
ELF 7e7c8000-7e820000 Deferred shlwapi<elf>
\-PE 7e7d0000-7e820000 \ shlwapi
ELF 7e820000-7e9a8000 Deferred shell32<elf>
\-PE 7e830000-7e9a8000 \ shell32
ELF 7e9a8000-7e9fb000 Deferred advapi32<elf>
\-PE 7e9b0000-7e9fb000 \ advapi32
ELF 7e9fb000-7ea96000 Deferred gdi32<elf>
\-PE 7ea10000-7ea96000 \ gdi32
ELF 7ea96000-7ebd5000 Deferred user32<elf>
\-PE 7eab0000-7ebd5000 \ user32
ELF 7edc1000-7ef23000 Deferred kernel32<elf>
\-PE 7ede0000-7ef23000 \ kernel32
ELF 7ef23000-7ef2f000 Deferred libnss_files.so.2
ELF 7ef2f000-7ef57000 Deferred libm.so.6
ELF 7ef57000-7f000000 Deferred ntdll<elf>
\-PE 7ef70000-7f000000 \ ntdll
ELF b774a000-b7754000 Export libdrm_intel.so.1
ELF b7754000-b7770000 Deferred libselinux.so.1
ELF b7770000-b79f1000 Export i915_dri.so
ELF b79f1000-b79fc000 Deferred libdrm.so.2
ELF b79fc000-b7a67000 Deferred libgl.so.1
ELF b7a7e000-b7baa000 Export wined3d<elf>
\-PE b7a90000-b7baa000 \ wined3d
ELF b7baa000-b7c2f000 Deferred crypt32<elf>
\-PE b7bb0000-b7c2f000 \ crypt32
ELF b7c2f000-b7c68000 Deferred rsaenh<elf>
\-PE b7c40000-b7c68000 \ rsaenh
ELF b7caa000-b7cae000 Deferred libxdamage.so.1
ELF b7cae000-b7cdc000 Export d3d9<elf>
\-PE b7cb0000-b7cdc000 \ d3d9
ELF b7d2e000-b7d43000 Deferred wtsapi32<elf>
\-PE b7d30000-b7d43000 \ wtsapi32
ELF b7d4d000-b7d51000 Deferred libdl.so.2
ELF b7d51000-b7ea9000 Deferred libc.so.6
ELF b7ea9000-b7ec2000 Deferred libpthread.so.0
ELF b7ed9000-b8014000 Deferred libwine.so.1
ELF b8015000-b8034000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\users\emes\.wine\drive_c\Program Files\Firaxis
Games\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe
00000038 0
00000037 -1
00000036 0
00000035 15
00000034 15
00000009 0 <=0000000e
0000001c 0
00000014 0
00000010 0
0000000f 0
00000011
00000018 0
00000017 0
00000013 0
00000012 0
00000019
0000001d 0
0000001b 0
0000001a 0
0000001e
0000001f 0
Backtrace:
=>0 0xb774b594 drm_intel_bo_get_subdata+0x1d() in libdrm_intel.so.1
(0x0033f050)
1 0xb779bc5b in i915_dri.so (+0x2bc5b) (0x0033f070)
2 0xb77f0a30 _mesa_GetBufferSubDataARB+0x93() in i915_dri.so (0x0033f0b0)
3 0xb7ab7d2b buffer_get_sysmem+0x9f() in wined3d (0x0033f0d0)
4 0xb7ab9571 in wined3d (+0x29571) (0x0033f170)
5 0xb7ad9607 device_stream_info_from_declaration+0x68f() in wined3d
(0x0033f230)
6 0xb7b4169e in wined3d (+0xb169e) (0x0033f2c0)
7 0xb7b0f73a in wined3d (+0x7f73a) (0x0033f2f0)
8 0xb7ac1f39 ActivateContext+0x2a3() in wined3d (0x0033f3a0)
9 0xb7af7167 drawPrimitive+0xe5() in wined3d (0x0033f750)
10 0xb7acfa21 in wined3d (+0x3fa21) (0x0033f7b0)
11 0xb7cc3af7 in d3d9 (+0x13af7) (0x0033f800)
12 0x009a33fd in civ4beyondsword (+0x5a33fd) (0x1a1ffa50)
13 0x00000000 (0x00ad63a8)
14 0x009a4620 in civ4beyondsword (+0x5a4620) (0x009a68a0)
-------8<--------
Setups tested:
wine-1.1.27 with Mesa-7.5
wine-1.1.29 with Mesa-7.5.1 (compiled with and without gallium support)
--
Micha? Sa?aban <michal(at)salaban.info> | http://michal.salaban.info