http://bugs.winehq.org/show_bug.cgi?id=25138
Summary: Black and White 2 demo crashes on startup Product: Wine Version: 1.3.6 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Download from http://lionhead.com/Games/BW2/Demo.aspx and install. Decline installing directx9. For me, the game crashed on startup; the log said
trace:d3d:IWineD3DDeviceImpl_CreateVertexShader Created vertex shader 0x1ad220. ... fixme:d3dx:D3DXCreateEffectEx (0x132510, 0x5e7ccd5, 1804, (nil), (nil), (nil), 0, (nil), 0x269f214, 0x269f258): semi-stub fixme:d3dx:ID3DXEffectImpl_DeleteParameterBlock (0x207678)->(0x132510): stub wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger...
'winetricks d3dx9_36' got rid of the effect stub warnings, but didn't affect the crash. 'winetricks dinput8' didn't seem to affect the crash.
'winetricks directx9' worked around the problem, and let the game run.
http://bugs.winehq.org/show_bug.cgi?id=25138
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://lionhead.com/Games/B | |W2/Demo.aspx
http://bugs.winehq.org/show_bug.cgi?id=25138
Zach Goldberg zgold550@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zgold550@gmail.com
--- Comment #1 from Zach Goldberg zgold550@gmail.com 2010-11-12 20:56:17 CST --- The PlayOnLinux script for this game tries to use "backbuffer" rendering mode. Have you given that a shot Dan?
http://www.playonlinux.com/repository/?script=662
http://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #2 from Dan Kegel dank@kegel.com 2010-11-12 21:47:09 CST --- Doesn't help. I think they expect the user to accept when the game installer offers them directx9.
This is a purist bug report, i.e. it relates to running the game while obeying the MS EULA by not using any MS DLLs.
http://bugs.winehq.org/show_bug.cgi?id=25138
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9
--- Comment #3 from Austin English austinenglish@gmail.com 2010-11-12 22:59:00 CST --- Full 'winetricks d3dx9' is enough to get it started.
http://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #4 from Rico kgbricola@web.de 2011-09-26 07:07:52 CDT --- The game uses d3dx9_25, so I suspect using d3dx9_25 is enough. I tend to say it's the same problem as bug 26258 but I didn't had a look at d3dx9_30 yet. There seems to be a difference in the effect interface.
Effects 24,25 (February 2005) IID_ID3DXEffect = 0xd165ccb1, 0x62b0, 0x4a33, 0xb3, 0xfa, 0xa9, 0x23, 0x0, 0x30, 0x5a, 0x11 +CloneEffect
Effects 26 (June 2005) IID_ID3DXEffect = 0xc7b17651, 0x5420, 0x490e, 0x8a, 0x7f, 0x92, 0x36, 0x75, 0xa2, 0xd6, 0x87 +DeleteParameterBlock +CloneEffect
Effects 27 (Aug 2005) IID_ID3DXEffect = 0xf6ceb4b3, 0x4e4c, 0x40dd, 0xb8, 0x83, 0x8d, 0x8d, 0xe5, 0xea, 0xc, 0xd5 +DeleteParameterBlock
+CloneEffect +SetRawValue
Actually the game likes to clone the effect, but gets DeleteParameterBlock. This could be seen in the log, where the device pointer is send to DeleteParameterBlock. - D3DXCreateEffectEx (*0x132510*, ... - DeleteParameterBlock (0x207678)->(*0x132510*)
http://bugs.winehq.org/show_bug.cgi?id=25138
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|download |
--- Comment #5 from Austin English austinenglish@gmail.com 2012-08-27 20:03:05 CDT --- fixme:d3dx:D3DXCreateEffectEx (0x13c570, 0x28b104d, 1804, (nil), (nil), (nil), 0, (nil), 0x269f1f4, 0x269f238): semi-stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000004 fixme:d3dx:ID3DXEffectImpl_DeleteParameterBlock (0x20f210)->(0x13c570): stub
Backtrace: =>0 0x00000000 (0x0269f358) 1 0x00956642 in bw2demo (+0x556641) (0x028b1768) 2 0x00000000 (0x0020f210) 3 0x00000001 (0x7e847040) 4 0x7e7e5f70 ID3DXEffectImpl_GetCurrentTechnique+0x5f(iface=0x7e7e7110) [/home/austin/wine-git/dlls/d3dx9_36/effect.c:3542] in d3dx9_36 (0x7e7f5a30) 5 0x7e7e7be0 in d3dx9_36 (+0x7bdf) (0x7e7f5a30)
still in wine-1.5.11-164-g1599299
http://bugs.winehq.org/show_bug.cgi?id=25138
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL|http://lionhead.com/Games/B |http://blackandwhite2.filef |W2/Demo.aspx |ront.com/file/;58562
http://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #6 from Rico kgbricola@web.de 2012-08-28 01:33:25 CDT --- Basically it needs something like this http://www.winehq.org/pipermail/wine-patches/2011-September/107319.html , but for the d3dx9_25. It may not be needed for d3dx9_26, because there was only one function added.
http://bugs.winehq.org/show_bug.cgi?id=25138
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25138
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #7 from Jarkko K jarkko_korpi@hotmail.com --- Tried the demo clean prefix, and not installing dx --> crash. Installing it works...
1.7.16
http://bugs.winehq.org/show_bug.cgi?id=25138
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #8 from hanska2@luukku.com --- I didnt install dx when it asked me.
And the game does crash while starting.
wine BW2Demo.exe fixme:heap:HeapSetInformation 0x27b0000 0 0x269fd04 4 fixme:process:GetProcessWorkingSetSize (0xffffffff,0x269f734,0x269f738): stub fixme:process:GetProcessWorkingSetSize (0xffffffff,0x269f734,0x269f738): stub fixme:win:EnumDisplayDevicesW ((null),0,0x269efb8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x269f2b8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x269ed48,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x269f248,0x00000000), stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d:wined3d_check_device_format_conversion wined3d 0x13b1b8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub! fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000004 fixme:d3dx:ID3DXEffectImpl_DeleteParameterBlock (0x187178)->(0x1376f0): stub wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger..
That's full log. It so short so I put it here.
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=25138
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #9 from Sebastian Lackner sebastian@fds-team.de --- The analysis from Rico was absolutely right, wondering why noone looked at this issue yet. Fixed in Wine Staging, and needs the following patchsets:
* https://github.com/wine-compholio/wine-staging/tree/master/patches/d3dx9_25-... * https://github.com/wine-compholio/wine-staging/tree/master/patches/d3dx9_36-... * https://github.com/wine-compholio/wine-staging/tree/master/patches/d3dx9_36-...
The game still crashes later when trying to enter the game, but looks like a different issue.
https://bugs.winehq.org/show_bug.cgi?id=25138
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #10 from Matteo Bruni matteo.mystral@gmail.com --- Can someone with the relevant bugzilla rights append something like "(ID3DXEffect interface changes between d3dx9_xx versions)" to the bug title? It's hard to find this bug otherwise.
https://bugs.winehq.org/show_bug.cgi?id=25138
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Black and White 2 demo |Black and White 2 demo |crashes on startup |crashes on startup | |(ID3DXEffect interface | |changes between d3dx9_xx | |versions)
https://bugs.winehq.org/show_bug.cgi?id=25138
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/d3dx9_25-ID3DX | |Effect
https://bugs.winehq.org/show_bug.cgi?id=25138
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=25138
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #11 from Wylda wylda@volny.cz --- Still in wine-1.9.15. Also affects full version of the game.
https://bugs.winehq.org/show_bug.cgi?id=25138
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #12 from winetest@luukku.com --- (In reply to Wylda from comment #11)
Still in wine-1.9.15. Also affects full version of the game.
The patch still merges cleanly against wine 1.9.21.
https://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #13 from Wylda wylda@volny.cz --- Yes, it fixes the problem as mentioned in comment 9. Without patches it crashes immediately and with patches still sitting in staging it continues to game's splash screen and crashes probably because of bug 25857 .
Still present in wine-1.9.21.
https://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #14 from Wylda wylda@volny.cz ---
Still present in wine-2.7.
https://bugs.winehq.org/show_bug.cgi?id=25138
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=25138
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1c8c9308e74abe5e5d85dfe722d | |ea10e60092e7c Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |alexhenrie24@gmail.com
--- Comment #15 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/1c8c9308e74abe5e5d85dfe722...
https://bugs.winehq.org/show_bug.cgi?id=25138
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.4.
https://bugs.winehq.org/show_bug.cgi?id=25138
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bryan_hays2002@ymail.com
--- Comment #17 from Wylda wylda@volny.cz --- *** Bug 43151 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=25138
--- Comment #18 from Wylda wylda@volny.cz --- For the next issue there is already bug 44635
https://bugs.winehq.org/show_bug.cgi?id=25138
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=25138
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #19 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.