problem installing Plants vs Zombies (Wine) [solved]

Using applications, configuring, problems
Post Reply
Message
Author
abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

problem installing Plants vs Zombies (Wine) [solved]

#1 Post by abuian »

I'm trying to set up a frugal install of Precise Puppy 5.7. Most things are working quite well, but I'm having trouble with the Windows game Plants vs Zombies. I had no problem installing it under Ubuntu--just installed the standard Wine package and ran the install file on the disc. On Puppy, I've tried several things, and nothing seems to work.

1) The furthest I got was by installing from the Ubuntu repository, which is not really what I want to do, but at least I could get as far as the PvZ install screen. After that, it seemed to have trouble identifying folders and got bogged down before actually installing.

2) I really want to make it work with a Wine SFS. My initial attempt was to download the PET from http://version2013.weebly.com/puppylinux.html and convert using pets2sfs. I started with the most recent development version, then the most recent stable, then went back to 1.4, since that's the version in the Ubuntu repository, which seemed to work. I got the same results regardless of the version I tried.

3) I tried both stripped and unstripped versions. I'm not entirely sure what the difference is, but using unstripped didn't seem to help.

4) I also tried just installing the PET instead of creating an SFS. That didn't seem to make a difference either.

5) I don't know if I *need* gecko, but I tried installing it to see if it would make a difference. At one point I had gecko running, so I know wine is working to some degree. But it still didn't seem to affect my attempt to install PvZ. And I'd rather not add gecko if I don't actually need it.

Anyway, here's what I get when I install the PET for wine 1.6 v. 4 (racy 5.5, unstripped):

Wine builds the .Wine folder, then generates the error:

---------------------------------------

The program PopCDRun.exe has encountered a serious problem and needs to close.

Unhandled exception: assertion failed in 32-bit code (0xffffe424).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:ffffe424 ESP:0032db34 EBP:7c453568 EFLAGS:00200206( - -- I - -P- )
EAX:00000000 EBX:00007818 ECX:00007818 EDX:00000006
ESI:00000000 EDI:b759aff4
Stack dump:
0x0032db34: 7c453568 00000006 00007818 b74241df
0x0032db44: b759aff4 0032dc70 b7427825 00000006
0x0032db54: 0032dbf0 00000000 b759aff4 00000054
0x0032db64: 00000055 00000054 b745febc 7c687020
0x0032db74: 00000055 0032dca4 7c687020 00000000
0x0032db84: 00000007 b759aff4 b741f0b0 b759c0e0
Backtrace:
=>0 0xffffe424 __kernel_vsyscall+0x10() in [vdso].so (0x7c453568)
1 0xb74241df gsignal+0x4e() in libc.so.6 (0x7c453568)
2 0xb7427825 abort+0x174() in libc.so.6 (0x7c453568)
3 0xb741d085 in libc.so.6 (+0x27084) (0x7c453568)
4 0xb741d137 __assert_fail+0x56() in libc.so.6 (0x7c453568)
5 0x7da5a0ec nvfx_framebuffer_validate+0x87b() in nouveau_dri.so (0x7c453568)
6 0x7da5814a in nouveau_dri.so (+0x64149) (0x00000000)
7 0x7da591ed nvfx_state_validate+0x5c() in nouveau_dri.so (0x00000000)
8 0x7da37e77 nvfx_draw_vbo+0xd6() in nouveau_dri.so (0x00000000)
9 0x7d3c03ca st_draw_vbo+0x7c9() in libgallium.so (0x7c5b1d78)
10 0x7d88e030 vbo_exec_vtx_flush+0x63f() in libdricore.so (0x7c5b1958)
11 0x7d883427 in libdricore.so (+0x109426) (0x00000001)
12 0x7d88b83f vbo_exec_FlushVertices+0x2e() in libdricore.so (0x00000001)
13 0x7d7d7551 _mesa_set_enable+0x1a70() in libdricore.so (0x00000001)
14 0x7d7d77c8 _mesa_Enable+0x57() in libdricore.so (0x0032e588)
15 0x7e1048c2 check_fbo_compat+0x531(gl_info=0x1febe8, format=0x206b1c) [/opt/wine-1.6/dlls/wined3d/utils.c:1166] in wined3d (0x0032e588)
16 0x7e10697e wined3d_adapter_init_format_info+0x12fd(adapter=0x1febd8) [/opt/wine-1.6/dlls/wined3d/utils.c:1372] in wined3d (0x0032e688)
17 0x7e0828a4 wined3d_adapter_init+0xbc3(adapter=0x1febd8, ordinal=0) [/opt/wine-1.6/dlls/wined3d/directx.c:5126] in wined3d (0x0032eaf8)
18 0x7e082db2 wined3d_init+0x41(wined3d=0x1febc8, version=0x9, flags=0) [/opt/wine-1.6/dlls/wined3d/directx.c:5202] in wined3d (0x0032eb18)
19 0x7e10a738 wined3d_create+0x57(version=0x9, flags=0) [/opt/wine-1.6/dlls/wined3d/wined3d_main.c:107] in wined3d (0x0032eb48)
20 0x7e16a1a0 d3d9_init+0x3f(d3d9=0x1febb0, extended=0) [/opt/wine-1.6/dlls/d3d9/directx.c:640] in d3d9 (0x0032eb88)
21 0x7e160e78 Direct3DCreate9+0x57(sdk_version=0) [/opt/wine-1.6/dlls/d3d9/d3d9_main.c:45] in d3d9 (0x0032ebb8)
22 0x7e193be5 fill_display_information_d3d+0x24(node=(nil)) [/opt/wine-1.6/dlls/dxdiagn/provider.c:903] in dxdiagn (0x0032faf8)
23 0x7e196921 build_displaydevices_tree+0x10(node=0x1feb48) [/opt/wine-1.6/dlls/dxdiagn/provider.c:1145] in dxdiagn (0x0032fb08)
24 0x7e19373e IDxDiagProviderImpl_Initialize+0x13d(iface=0x120eb0, pParams=0x32fba0) [/opt/wine-1.6/dlls/dxdiagn/provider.c:1702] in dxdiagn (0x0032fb58)
0xffffe424 __kernel_vsyscall+0x10 in [vdso].so: popl %ebp
Modules:
Module Address Debug info Name (94 modules)
PE 400000- 44a000 Export popcdrun
ELF 7a4a9000-7b800000 Deferred libllvm-3.0.so.1
ELF 7b800000-7ba42000 Deferred kernel32<elf>
\-PE 7b810000-7ba42000 \ kernel32
ELF 7bc00000-7bcc6000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc6000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7cfec000-7d00c000 Deferred imm32<elf>
\-PE 7cff0000-7d00c000 \ imm32
ELF 7d18d000-7d194000 Deferred libffi.so.6
ELF 7d194000-7d1b2000 Deferred libgcc_s.so.1
ELF 7d297000-7d656000 Dwarf libgallium.so
ELF 7d656000-7d65d000 Deferred libdrm_nouveau.so.1
ELF 7d65d000-7d77a000 Deferred libglsl.so
ELF 7d77a000-7d9f4000 Dwarf libdricore.so
ELF 7d9f4000-7ddc4000 Dwarf nouveau_dri.so
ELF 7ddc4000-7ddd1000 Deferred libdrm.so.2
ELF 7ddd1000-7dde9000 Deferred libxcb-glx.so.0
ELF 7dde9000-7ddec000 Deferred libx11-xcb.so.1
ELF 7ddec000-7ddf0000 Deferred libxdamage.so.1
ELF 7ddf0000-7de06000 Deferred libglapi.so.0
ELF 7de06000-7de5f000 Deferred libgl.so.1
ELF 7de5f000-7de82000 Deferred dxgi<elf>
\-PE 7de60000-7de82000 \ dxgi
ELF 7de82000-7de9a000 Deferred libresolv.so.2
ELF 7de9a000-7debd000 Deferred iphlpapi<elf>
\-PE 7dea0000-7debd000 \ iphlpapi
ELF 7debd000-7deea000 Deferred wbemprox<elf>
\-PE 7dec0000-7deea000 \ wbemprox
ELF 7deea000-7defd000 Deferred psapi<elf>
\-PE 7def0000-7defd000 \ psapi
ELF 7defd000-7df60000 Deferred ddraw<elf>
\-PE 7df00000-7df60000 \ ddraw
ELF 7df60000-7e026000 Deferred opengl32<elf>
\-PE 7df80000-7e026000 \ opengl32
ELF 7e026000-7e14c000 Dwarf wined3d<elf>
\-PE 7e030000-7e14c000 \ wined3d
ELF 7e14c000-7e180000 Dwarf d3d9<elf>
\-PE 7e150000-7e180000 \ d3d9
ELF 7e180000-7e1a3000 Dwarf dxdiagn<elf>
\-PE 7e190000-7e1a3000 \ dxdiagn
ELF 7e1e9000-7e21b000 Deferred uxtheme<elf>
\-PE 7e1f0000-7e21b000 \ uxtheme
ELF 7e21d000-7e223000 Deferred libxfixes.so.3
ELF 7e223000-7e22e000 Deferred libxcursor.so.1
ELF 7e22e000-7e23e000 Deferred libxi.so.6
ELF 7e23e000-7e242000 Deferred libxcomposite.so.1
ELF 7e242000-7e24b000 Deferred libxrandr.so.2
ELF 7e24b000-7e255000 Deferred libxrender.so.1
ELF 7e255000-7e25b000 Deferred libxxf86vm.so.1
ELF 7e25b000-7e25f000 Deferred libxinerama.so.1
ELF 7e25f000-7e266000 Deferred libxdmcp.so.6
ELF 7e266000-7e26a000 Deferred libxau.so.6
ELF 7e26a000-7e28b000 Deferred libxcb.so.1
ELF 7e28b000-7e28f000 Deferred libuuid.so.1
ELF 7e28f000-7e3c3000 Deferred libx11.so.6
ELF 7e3c3000-7e3d5000 Deferred libxext.so.6
ELF 7e3d5000-7e3ef000 Deferred libice.so.6
ELF 7e3ef000-7e3f8000 Deferred libsm.so.6
ELF 7e3f8000-7e47c000 Deferred winex11<elf>
\-PE 7e400000-7e47c000 \ winex11
ELF 7e488000-7e4b2000 Deferred libexpat.so.1
ELF 7e4b2000-7e4e6000 Deferred libfontconfig.so.1
ELF 7e4e6000-7e4fc000 Deferred libz.so.1
ELF 7e4fc000-7e596000 Deferred libfreetype.so.6
ELF 7e596000-7e6a6000 Deferred oleaut32<elf>
\-PE 7e5b0000-7e6a6000 \ oleaut32
ELF 7e6a6000-7e71b000 Deferred rpcrt4<elf>
\-PE 7e6b0000-7e71b000 \ rpcrt4
ELF 7e71b000-7e822000 Deferred ole32<elf>
\-PE 7e730000-7e822000 \ ole32
ELF 7e822000-7e90d000 Deferred comctl32<elf>
\-PE 7e830000-7e90d000 \ comctl32
ELF 7e90d000-7e976000 Deferred shlwapi<elf>
\-PE 7e920000-7e976000 \ shlwapi
ELF 7e976000-7eb85000 Deferred shell32<elf>
\-PE 7e980000-7eb85000 \ shell32
ELF 7eb85000-7ebe6000 Deferred advapi32<elf>
\-PE 7eb90000-7ebe6000 \ advapi32
ELF 7ebe6000-7ecee000 Deferred gdi32<elf>
\-PE 7ebf0000-7ecee000 \ gdi32
ELF 7ecee000-7ee26000 Deferred user32<elf>
\-PE 7ed00000-7ee26000 \ user32
ELF 7ee26000-7ee3e000 Deferred version<elf>
\-PE 7ee30000-7ee3e000 \ version
ELF 7efbe000-7efcb000 Deferred libnss_files.so.2
ELF 7efcb000-7eff7000 Deferred libm.so.6
ELF 7eff7000-7f000000 Deferred librt.so.1
ELF b73f1000-b73f6000 Deferred libdl.so.2
ELF b73f6000-b759f000 Dwarf libc.so.6
ELF b75a0000-b75bb000 Deferred libpthread.so.0
ELF b75bb000-b776e000 Dwarf libwine.so.1
ELF b7770000-b7792000 Deferred ld-linux.so.2
ELF ffffe000-fffff000 Dwarf [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\mnt\sr0\PopCDRun.exe
00000009 0 <==
0000000c services.exe
0000002d 0
0000002c 0
0000000e 0
0000000d 0
00000012 explorer.exe
00000016 0
00000013 0
0000002a winedevice.exe
00000031 0
00000030 0
0000002e 0
0000002b 0
System information:
Wine build: wine-1.6
Platform: i386
Host system: Linux
Host version: 3.9.11

------------------------------------------------

Sorry if most of that's not helpful. Anyway, it worked in Ubuntu, so it seems like it's not a problem with the game itself or its compatibility with Wine. The only thing I can figure is that it's something about the way Wine is installing on Puppy, but I have no idea what.

Trevor
Last edited by abuian on Sun 15 Sep 2013, 21:33, edited 1 time in total.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

Do you have opengl/3d working?
Try glxgears in a terminal

mike

ps wine gecko a bloated waste of time...avoid if you don't need it.

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#3 Post by abuian »

mikeb,

glxgears works fine.

Trevor

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#4 Post by mikeb »

Hmm ok was just a quick thought.

Its a game that uses d3d9.... I have heard of others playing with that particular file since there are many versions of it.

I suppose it may be a case of comparing the working ubuntu setup with puppy and eliminate differences until it behaves.

erm one last thought... 32 bit /64 bit... possible conflict there?

mike

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#5 Post by abuian »

I was wondering that, but it says it will run on Windows XP, so I'm pretty sure it's designed for 32 bit. I think at one point I had it running on 32 bit Ubuntu as well.

I might try fiddling with d3d9, to see if that makes a difference.

thanks,
Trevor

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#6 Post by mikeb »

Hmm its trying to use the nouveau driver... thats not 100% ... perhaps on ubuntu it behaved better or you used the nvidia driver.

mike

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#7 Post by abuian »

mikeb wrote:Hmm its trying to use the nouveau driver... thats not 100% ... perhaps on ubuntu it behaved better or you used the nvidia driver.

mike
They both use nouveau.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#8 Post by mikeb »

I was wondering that, but it says it will run on Windows XP, so I'm pretty sure it's designed for 32 bit. I think at one point I had it running on 32 bit Ubuntu as well.
Actually I wondered if you had sucessfully run on 64 or 32 bit ubuntu....

mike

ps.... fastest thread in the west....

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#9 Post by abuian »

mikeb wrote:Actually I wondered if you had sucessfully run on 64 or 32 bit ubuntu....

mike

ps.... fastest thread in the west....
Definitely runs on 64 bit ubuntu. Like I say, I'm pretty sure I ran it on 32 bit ubuntu at one point, but currently puppy is the only 32 bit system I have running. I guess I was assuming that if the game is designed to run on 32 bit and puppy is 32 bit, it wouldn't matter that Ubuntu is 64.

Glad you said something about this being a fast thread. I was wondering if we were the only two people using this forum, but I guess it just takes time for others to catch up :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#10 Post by mikeb »

Hmm well my thinking was perhaps the difference you are dealing with is 64 bit ubuntu with wine (ie the version built for 64 bit) and puppy. Damn stubborn programs...theres always one when it comes to wine. Do wine hq/apps have anything to say about the program... might give clues..

If it did behave on ubuntu 32 might be worth transplanting the .wine folder for a test.

mike

the forum beast is sleeping...if we are quiet it will not stir...

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#11 Post by Karl Godt »

Glad you said something about this being a fast thread. I was wondering if we were the only two people using this forum, but I guess it just takes time for others to catch up Smile
I am not using WINE -- I am using CYGWIN whenever seldom I boot Movesdowns .

Apparently most capable users just ignores these unthankful and unsolved forums parts , and I am about to condsider that too .
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#12 Post by abuian »

mikeb wrote:Hmm well my thinking was perhaps the difference you are dealing with is 64 bit ubuntu with wine (ie the version built for 64 bit) and puppy. Damn stubborn programs...theres always one when it comes to wine. Do wine hq/apps have anything to say about the program... might give clues..

If it did behave on ubuntu 32 might be worth transplanting the .wine folder for a test.

mike
Oh, I see your point. Well, I don't have any other 32 bit systems I can try right now. But your suggestion did get me thinking, since at one point I was able to get further along in the process by installing from the ubuntu repository. I tried it that way again, thinking maybe I could copy the .wine folder, but now it doesn't get any further than when I install from the PET.

Maybe another test would be to try the other way around--see if it works under fatdog (which I've never tried, but this might give me a good enough excuse).

Trevor

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »


version2013
Posts: 503
Joined: Mon 09 Sep 2013, 00:00
Location: Florida, USA
Contact:

#14 Post by version2013 »

I installed the Plants vs Zombies demo [>].
Installation appeared to run smoothly enough. Trying to run the game and it crashed. There was a reference to Microsoft Visual C++ 2010 [>]. Installed via terminal:
# winetricks vcrun2010

The game was able to launch to the main menu.

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#15 Post by abuian »

abuian wrote:Maybe another test would be to try the other way around--see if it works under fatdog (which I've never tried, but this might give me a good enough excuse).
OK, so I didn't realize that Wine itself was only 32 bit. So trying fatdog was probably pointless, other than trying it with a different package. (How different, I don't know--at least it was an sfs to start.) In any case, it gave me the same results.

Trevor

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#16 Post by abuian »

version2013 wrote:I installed the Plants vs Zombies demo [>].
Installation appeared to run smoothly enough. Trying to run the game and it crashed. There was a reference to Microsoft Visual C++ 2010 [>]. Installed via terminal:
# winetricks vcrun2010

The game was able to launch to the main menu.
Thanks for that. I tried installing the demo (with Visual C++) and still didn't get any further. Assuming I'm not missing something major on the Wine setup, that suggests that it probably is a problem with puppy handling my specific hardware.

Just to make sure--I'm not supposed to do anything extra, am I? I mean, I installed the PET, but that's it. I didn't do anything special to configure it.

Trevor

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#17 Post by abuian »

Semme wrote:Possible improvement..
Hey, thanks! That seems to work! I didn't have much time to test it this morning before the kid wanted his computer back, but I was able to install and start the game.

It's a bit ugly, though. I might have to see about switching drivers so I can get a better working display.

Trevor

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#18 Post by mikeb »

so it was a nouveau driver problem after all... mystery solved...perhaps ubuntu included those hacks...

I found the nvidia driver gave me double the fps anyway.....

mike

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#19 Post by abuian »

mikeb wrote:so it was a nouveau driver problem after all... mystery solved...perhaps ubuntu included those hacks...

I found the nvidia driver gave me double the fps anyway.....

mike
Yeah, thanks for your suggestions. That link provided a quick way to check, but you had the right idea in the first place.

Trevor

abuian
Posts: 32
Joined: Fri 13 Sep 2013, 13:11

#20 Post by abuian »

mikeb wrote:so it was a nouveau driver problem after all... mystery solved...perhaps ubuntu included those hacks...

I found the nvidia driver gave me double the fps anyway.....

mike
Installed shinobar's nvidia driver sfs. Seems to have worked perfectly, without any problems. PvZ runs much faster than on nouveau, and minecraft runs better if anything.

Thanks again to everyone for the suggestions.

Trevor

Post Reply