Civ stalling when loading saves (linux/wine)

shulgi

Warlord
Joined
Aug 22, 2012
Messages
202
So my system is sufficient for running civ but also old and a bit slow (1 X 2.5 GHz, 3 GB ram, enough video) and am playing the Steam version under WINE on openSUSE/RazorQt or KDE. Civ works fine maybe 1/2 of the time, but has been stalling when trying to load a save (over and over and over again), specifically getting stuck with "setting up map" or some such message while the save is loading. Ideas? The install was done using winestricks and wineprefixes for 32 bit.
 
bump
program error details
Spoiler :
Code:
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00429ef6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00429ef6 ESP:0033f56c EBP:2a2199b0 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000000 EBX:27c35600 ECX:1b32aa18 EDX:1b32aa18
 ESI:0033f644 EDI:00c950b0
Stack dump:
0x0033f56c:  2a2199b0 1a766750 0033f644 0c3b17b0
0x0033f57c:  0033f5d4 7bc3806f 00000000 2b99f000
0x0033f58c:  00000000 7bcb9ff4 00000002 7bcb9ff4
0x0033f59c:  0033f60c 1b32aa18 01454060 7bc8607d
0x0033f5ac:  0033f5c4 00000000 00000004 2ec6aa90
0x0033f5bc:  2ec6aa90 0033f608 7c34218a 2ec6aa90
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x00429ef6 in civ4beyondsword (+0x29ef6) (0x2a2199b0)
  1 0x00000000 (0x00ae4c14)
  2 0x004298d0 in civ4beyondsword (+0x298cf) (0x004299f0)
0x00429ef6: movl	0x4(%eax),%ecx
Modules:
Module	Address			Debug info	Name (131 modules)
PE	  340000-  3bb000	Deferred        msvcp71
PE	  3c0000-  3d3000	Deferred        zlib1
PE	  3e0000-  3ee000	Deferred        hapdbg
PE	  400000- 1062000	Export          civ4beyondsword
PE	 1070000- 13df000	Deferred        d3dx9_33
PE	 3e30000- 4347000	Deferred        cvgamecoredll
PE	 d640000- d64c000	Deferred        _socket.pyd
PE	 ddb0000- ddba000	Deferred        mssdolby.flt
PE	 e340000- e36e000	Deferred        mssmp3.asi
PE	 e480000- e4ba000	Deferred        mssvoice.asi
PE	 e6e0000- e6ed000	Deferred        msssrs.flt
PE	 e800000- e80c000	Deferred        mssds3d.flt
PE	 e920000- e93e000	Deferred        mssdsp.flt
PE	 ea50000- ea70000	Deferred        msseax.flt
PE	10000000-1002b000	Deferred        boost_python-vc71-mt-1_32
PE	18000000-18038000	Deferred        binkw32
PE	1c270000-1c4d7000	Deferred        d3dx9_31
PE	1e000000-1e1ca000	Deferred        python24
PE	21100000-2118c000	Deferred        mss32
ELF	7b800000-7ba3d000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba3d000	\               kernel32
ELF	7bc00000-7bcd6000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcd6000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
PE	7c340000-7c396000	Deferred        msvcr71
ELF	7df6d000-7dfa3000	Deferred        uxtheme<elf>
  \-PE	7df70000-7dfa3000	\               uxtheme
ELF	7dfa3000-7dfa9000	Deferred        libxfixes.so.3
ELF	7dfa9000-7dfb4000	Deferred        libxcursor.so.1
ELF	7dfb4000-7dfc4000	Deferred        libxi.so.6
ELF	7dfc4000-7dfc8000	Deferred        libxcomposite.so.1
ELF	7dfc8000-7dfd1000	Deferred        libxrandr.so.2
ELF	7dfd1000-7dfdc000	Deferred        libxrender.so.1
ELF	7dfdc000-7dfe2000	Deferred        libxxf86vm.so.1
ELF	7dfe2000-7e005000	Deferred        libxcb.so.1
ELF	7e005000-7e00b000	Deferred        libuuid.so.1
ELF	7e00b000-7e025000	Deferred        libice.so.6
ELF	7e025000-7e15f000	Deferred        libx11.so.6
ELF	7e15f000-7e172000	Deferred        libxext.so.6
ELF	7e172000-7e204000	Deferred        winex11<elf>
  \-PE	7e180000-7e204000	\               winex11
ELF	7e204000-7e21b000	Deferred        libz.so.1
ELF	7e21b000-7e2a5000	Deferred        libfreetype.so.6
ELF	7e2c1000-7e30a000	Deferred        dsound<elf>
  \-PE	7e2d0000-7e30a000	\               dsound
ELF	7e30a000-7e437000	Deferred        oleaut32<elf>
  \-PE	7e320000-7e437000	\               oleaut32
ELF	7e437000-7e46b000	Deferred        ws2_32<elf>
  \-PE	7e440000-7e46b000	\               ws2_32
ELF	7e46b000-7e495000	Deferred        msacm32<elf>
  \-PE	7e470000-7e495000	\               msacm32
ELF	7e495000-7e515000	Deferred        rpcrt4<elf>
  \-PE	7e4a0000-7e515000	\               rpcrt4
ELF	7e515000-7e640000	Deferred        ole32<elf>
  \-PE	7e530000-7e640000	\               ole32
ELF	7e640000-7e6f3000	Deferred        winmm<elf>
  \-PE	7e650000-7e6f3000	\               winmm
ELF	7e6f3000-7e796000	Deferred        msvcrt<elf>
  \-PE	7e710000-7e796000	\               msvcrt
ELF	7e796000-7e898000	Deferred        comctl32<elf>
  \-PE	7e7a0000-7e898000	\               comctl32
ELF	7e898000-7e90c000	Deferred        shlwapi<elf>
  \-PE	7e8b0000-7e90c000	\               shlwapi
ELF	7e90c000-7eb35000	Deferred        shell32<elf>
  \-PE	7e920000-7eb35000	\               shell32
ELF	7eb35000-7eba0000	Deferred        advapi32<elf>
  \-PE	7eb40000-7eba0000	\               advapi32
ELF	7eba0000-7ecb7000	Deferred        gdi32<elf>
  \-PE	7ebb0000-7ecb7000	\               gdi32
ELF	7ecb7000-7ee0b000	Deferred        user32<elf>
  \-PE	7ecd0000-7ee0b000	\               user32
ELF	7ee0b000-7ee24000	Deferred        libnsl.so.1
ELF	7ee24000-7ee2d000	Deferred        libnss_compat.so.2
ELF	7ee2f000-7ee49000	Deferred        version<elf>
  \-PE	7ee30000-7ee49000	\               version
ELF	7efb8000-7efe4000	Deferred        libm.so.6
ELF	7efe6000-7eff4000	Deferred        libnss_files.so.2
ELF	7eff4000-7f000000	Deferred        libnss_nis.so.2
ELF	f1d0c000-f3a12000	Deferred        libnvidia-glcore.so.304.64
ELF	f563e000-f5663000	Deferred        iphlpapi<elf>
  \-PE	f5640000-f5663000	\               iphlpapi
ELF	f5ee4000-f5fc0000	Deferred        libgl.so.1
ELF	f5fc0000-f60c6000	Deferred        opengl32<elf>
  \-PE	f5fe0000-f60c6000	\               opengl32
ELF	f62c9000-f6409000	Deferred        wined3d<elf>
  \-PE	f62e0000-f6409000	\               wined3d
ELF	f6409000-f6445000	Deferred        d3d9<elf>
  \-PE	f6410000-f6445000	\               d3d9
ELF	f6545000-f660c000	Deferred        crypt32<elf>
  \-PE	f6550000-f660c000	\               crypt32
ELF	f660c000-f664e000	Deferred        rsaenh<elf>
  \-PE	f6610000-f664e000	\               rsaenh
ELF	f664e000-f6733000	Deferred        libasound.so.2
ELF	f674f000-f677f000	Deferred        winealsa<elf>
  \-PE	f6760000-f677f000	\               winealsa
ELF	f677f000-f67a0000	Deferred        mmdevapi<elf>
  \-PE	f6780000-f67a0000	\               mmdevapi
ELF	f6e3a000-f6e52000	Deferred        wtsapi32<elf>
  \-PE	f6e40000-f6e52000	\               wtsapi32
ELF	f6e52000-f6e76000	Deferred        imm32<elf>
  \-PE	f6e60000-f6e76000	\               imm32
ELF	f6e76000-f6eb3000	Deferred        libxslt.so.1
ELF	f6eb3000-f6f2d000	Deferred        wininet<elf>
  \-PE	f6ec0000-f6f2d000	\               wininet
ELF	f6f2d000-f707f000	Deferred        libxml2.so.2
ELF	f707f000-f7091000	Deferred        libp11-kit.so.0
ELF	f7091000-f709a000	Deferred        librt.so.1
ELF	f709a000-f7118000	Deferred        libgmp.so.10
ELF	f7118000-f712c000	Deferred        libhogweed.so.2
ELF	f712c000-f7155000	Deferred        libnettle.so.4
ELF	f7155000-f7167000	Deferred        libtasn1.so.3
ELF	f7167000-f726b000	Deferred        libgnutls.so.28
ELF	f7270000-f7297000	Deferred        mpr<elf>
  \-PE	f7280000-f7297000	\               mpr
ELF	f7297000-f7331000	Deferred        urlmon<elf>
  \-PE	f72a0000-f7331000	\               urlmon
ELF	f7331000-f735b000	Deferred        liblzma.so.5
ELF	f7373000-f7377000	Deferred        libnvidia-tls.so.304.64
ELF	f7377000-f742e000	Deferred        msxml3<elf>
  \-PE	f7380000-f742e000	\               msxml3
ELF	f742e000-f7452000	Deferred        gameux<elf>
  \-PE	f7430000-f7452000	\               gameux
ELF	f7482000-f7486000	Deferred        libxinerama.so.1
ELF	f7486000-f748a000	Deferred        libxau.so.6
ELF	f748c000-f7491000	Deferred        libdl.so.2
ELF	f7491000-f7637000	Deferred        libc.so.6
ELF	f7637000-f7652000	Deferred        libpthread.so.0
ELF	f7654000-f765d000	Deferred        libsm.so.6
ELF	f766e000-f77b1000	Dwarf           libwine.so.1
ELF	f77b2000-f77d5000	Deferred        ld-linux.so.2
ELF	f77d5000-f77d6000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001f    0
	0000001e    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001a    0
	00000019    0
	00000014    0
	00000013    0
0000001b plugplay.exe
	00000020    0
	0000001d    0
	0000001c    0
00000021 explorer.exe
	00000022    0
00000023 Steam.exe
	00000056    0
	0000005b    0
	00000041    0
	00000064    0
	00000052    0
	00000051    0
	00000050    0
	0000004f    0
	0000004e    1
	0000004d    1
	0000004c    0
	0000004b    0
	0000004a    0
	00000049    0
	00000048    0
	00000044    0
	0000003a    0
	00000027    0
	0000000d    0
	00000009    0
	0000000b    0
	00000047    0
	00000046    0
	00000045    0
	00000042    0
	0000003f    0
	0000003e    0
	0000003d    0
	0000003c    0
	0000003b    0
	00000039    0
	00000038    0
	00000037    0
	00000036    0
	00000035    0
	00000034    0
	00000033    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	0000002d    0
	0000002c    0
	0000002b    0
	0000002a    0
	00000029    0
	00000028    0
	00000026    0
	00000025    0
	00000024    0
0000005c (D) C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization IV Beyond the Sword\Beyond the Sword\Civ4BeyondSword.exe
	00000060    0
	00000059    0
	0000005f   15
	00000067   15
	00000055    0
	00000062    0
	0000005d    0 <==
System information:
    Wine build: wine-1.5.18
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.4.11-2.16-desktop
 
Though I use Linux exclusively at home now, I'm not a super expert on it (nor was I in Windows, actually). I haven't updated to wine 1.5 yet though I will soon.

Did you do any WINE updates that break functionality? How have you set up the version for Civ IV?

You also have to be careful when doing prefixes/winetricks/etc to make sure you choose between native or emulated; I had custom games/load screens crash when using one of those but not the other (I believe the choices are built-in and native, but I am not home to see my configuration). Civ IV has not locked up on me in nearly a year now, though I fear for my future as I'm probably going to clean install Mint 14 (going up from Mint 11) and that's going to force some re-working!
 
Thanks, I have been able to use this wine setup by starting custom games and then loading my saves. This works more often than just loading a save but both are highly susceptible to fail.

msxml3 is running native, overriding wine. d3dx9 is not, I will try native and see if that works. Aside from using wineprefixes so that Steam would install 32 bit I have not changed winecfg beside that. I am pretty sure the other applications from the winehq page are installed as in the 32 bit prefix.

There's probably more info that I need to give about winecfg but I am not entirely sure what that is.

I don't think updating from the previous version of wine 1.5-something to this caused any additional problems - some of the map zoom in/out with the wheel is far better whether that was solved by the update or not.
 
I went through the steps in the sticky by damunzy. To winecfg added d3dx9_26 and changed the override to this and msxml3 to native,builtin. Made sure I had all the dlls in drive_c/system 32, needed to download a couple streamci and msxml3, renamed instead of deleted the msxml3 in the Beyond the Sword directory.

Loading may be working better, will have to update this

Zoom in and zoom out is pretty screwed up, both with wheel and page up/down keys. Sensitivity is incredibly high, zooming out to the stars or to a single tile. The only way I can get a normal field of vision is all the way out on the field of view settings in BUG, so those settings have been effected as well.
 
@TheMeInTeam

I'm still having some trouble with loading saves and the map view has gotten a lot worse. I have to zoom out to around 95 or so on field of view which has roughly the same view as the default, the distortion is pretty noticeable and hard to play with. If you can check your winecfg that'd be great. Did you delete the msxml3.dll in the BtS directory, move it to system32 or something else? I also took the path of installing directx9 after my other attempts failed and my winecfg overrides were made in the user.reg file per http://www.wine-reviews.net/microsoft/directx-90c-march-2008-redistributable-on-linux-with-wine.html

I may need to delete and start with a clean wineprefix. I may hold off a bit as I can take the shortcut of rebooting into windows.
 
Back
Top Bottom