http://bugs.winehq.org/show_bug.cgi?id=34101
Bug #: 34101 Summary: Need for Speed: Shift demo crashes without native d3dx9_36 Product: Wine Version: 1.6 Platform: x86 URL: http://www.fileplanet.com/205212/200000/fileinfo/Need- For-Speed:-Shift-Demo OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: andrey.goosev@gmail.com CC: andrey.goosev@gmail.com, wine-bugs@winehq.org Classification: Unclassified
Created attachment 45343 --> http://bugs.winehq.org/attachment.cgi?id=45343 log
Crashes on start.
http://bugs.winehq.org/show_bug.cgi?id=34101
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=34101
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dank@kegel.com Summary|Need for Speed: Shift demo |Need for Speed: Shift demo |crashes without native |crashes without native |d3dx9_36 |d3dx9_36 (purist) Ever Confirmed|0 |1
--- Comment #1 from Dan Kegel dank@kegel.com 2013-07-20 17:19:41 CDT --- Confirming as 'purist' bug.
'winetricks nfsshift_demo' seems to work fine, but doing 'winetricks alldlls=builtin' causes it to crash on startup. The log shows:
... fixme:d3dx:D3DXCreateEffectEx (0x123d600, 0x6ffa3840, 1984, (nil), (nil), (nil), 0x800, (nil), 0x9191c0c, 0x33faec): semi-stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000003 fixme:d3dx:ID3DXEffectImpl_FindNextValidTechnique (0x1178ba8)->((nil), 0x33facc): stub wine: Unhandled page fault on read access to 0x3bfc459b at address 0x7cdcac (thread 002d), starting debugger...
Setting d3dx9_36=native works around the problem.
This looks different enough from bug 25857 to merit its own bug.
http://bugs.winehq.org/show_bug.cgi?id=34101
--- Comment #2 from Christian Costa titan.costa@gmail.com 2013-07-21 04:38:50 CDT --- Created attachment 45346 --> http://bugs.winehq.org/attachment.cgi?id=45346 Implement FindNextValidTechnique
This patch fixes the crash.
http://bugs.winehq.org/show_bug.cgi?id=34101
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com 2013-07-25 12:39:43 CDT --- I applied the patch and now demo doesn't crash. A black screen and strings
fixme:d3dx:ID3DXEffectImpl_Begin iface 0x142cc390, passes 0x32f9a0, flags 0x3 partial stub fixme:d3dx:ID3DXEffectImpl_BeginPass No states applied, yet! fixme:d3dx:ID3DXEffectImpl_CommitChanges (0x142cc390)->(): stub fixme:d3dx:ID3DXEffectImpl_End (0x142cc390)->(): stub
it's can be marked as fixed part of crash only?
http://bugs.winehq.org/show_bug.cgi?id=34101
--- Comment #4 from Dan Kegel dank@kegel.com 2013-07-25 12:44:17 CDT --- Once that patch is committed, we can mark this bug as fixed; please open a new one then if the rendering problem persists, as it surely will.
http://bugs.winehq.org/show_bug.cgi?id=34101
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=34101
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34101
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Need for Speed: Shift demo |Need for Speed: Shift demo |crashes without native |crashes in 'purist' mode |d3dx9_36 (purist) |(d3dx9_36) (needs | |ID3DXEffect::FindNextValidT | |echnique method | |implementation)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
the crash is not present with 'winetricks alldlls=builtin' and ID3DXEffect::FindNextValidTechnique method stub still returning E_NOTIMPL.
Source: http://source.winehq.org/git/wine.git/blob/e1a845c2139064f0b8bf7cd5e78e2ccd6...
--- snip --- 3124 static HRESULT WINAPI ID3DXEffectImpl_FindNextValidTechnique(ID3DXEffect* iface, D3DXHANDLE technique, D3DXHANDLE* next_technique) 3125 { 3126 struct ID3DXEffectImpl *This = impl_from_ID3DXEffect(iface); 3127 3128 FIXME("(%p)->(%p, %p): stub\n", This, technique, next_technique); 3129 3130 return E_NOTIMPL; 3131 } --- snip ---
Anyway, refining summary to target this stub here.
$ sha1sum nfs_carbon_demo_eu.exe 76b1aafbe913dcf7a9130d87b24febed44fed632 nfs_carbon_demo_eu.exe
$ du -sh nfs_carbon_demo_eu.exe 651M nfs_carbon_demo_eu.exe
$ wine --version wine-1.7.13-27-ge610713
Regards
http://bugs.winehq.org/show_bug.cgi?id=34101
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #6 from hanska2@luukku.com --- still the same 1.7.23
https://bugs.winehq.org/show_bug.cgi?id=34101
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=34101
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #7 from Michael Müller michael@fds-team.de --- The crash can be reproduced with PhotoDirector 4.
I added a slightly rebased version of the patch Christian Costa sent to wine-patches to Wine Staging:
https://github.com/wine-compholio/wine-staging/tree/master/patches/d3dx9_36-...
Regards, Michael
https://bugs.winehq.org/show_bug.cgi?id=34101
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/d3dx9_36-FindN | |extValidTechnique
https://bugs.winehq.org/show_bug.cgi?id=34101
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arethusa26@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- *** Bug 22276 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34101
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34101
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |c3342644e418358e63273580f46 | |cce2d05de9e35 Status|STAGED |RESOLVED
--- Comment #9 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/c3342644e418358e63273580f46cce...
https://bugs.winehq.org/show_bug.cgi?id=34101
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.5.
https://bugs.winehq.org/show_bug.cgi?id=34101
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=34101
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #11 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.2.
https://bugs.winehq.org/show_bug.cgi?id=34101
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41783
https://bugs.winehq.org/show_bug.cgi?id=34101
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|41783 |