http://bugs.winehq.org/show_bug.cgi?id=34551
Bug #: 34551 Summary: Necrovision demo crashes - Pixel shader and vertex shader are not supported, yet. Product: Wine Version: 1.7.2 Platform: x86 URL: http://www.fileplanet.com/196528/190000/fileinfo/Necro Vision-Demo OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: andrey.goosev@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Created attachment 46001 --> http://bugs.winehq.org/attachment.cgi?id=46001 log+backtrace
Crashes at launch.
fixme:d3dx:d3dx9_base_effect_get_pass_desc Pixel shader and vertex shader are not supported, yet.
http://bugs.winehq.org/show_bug.cgi?id=34551
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #1 from Rico kgbricola@web.de 2013-09-19 09:05:17 CDT --- Does native d3dx9_36.dll help?
I'm not sure if the real issue is the FIXME. Strange is the "declaration=0x3f800000" which looks like a 1.0f value. GetPassDesc returns NULL for both shaders (which may result in a bad declaration). I couldn't see how this would result in a 1.0f...
Please attach a +d3d9,+d3dx log.
http://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com 2013-09-19 09:41:17 CDT --- Created attachment 46002 --> http://bugs.winehq.org/attachment.cgi?id=46002 +d3d9+d3dx
Yes, with native d3dx9_36 demo works.
Hm, when I set d3dx9_36 to built-in and run d3d9,d3dx debug it also works but with a black screen and sounds only.
http://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com 2013-11-18 14:48:22 CST --- Created attachment 46560 --> http://bugs.winehq.org/attachment.cgi?id=46560 +d3d9+d3dx+seh+tid
On 1.7.6
http://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- Created attachment 48050 --> http://bugs.winehq.org/attachment.cgi?id=48050 log on 1.7.16
http://bugs.winehq.org/show_bug.cgi?id=34551
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #5 from Jarkko K jarkko_korpi@hotmail.com --- http://source.winehq.org/git/wine.git/blob/a6e53eaed215447af648cce63e0b68fe2...
There is direct link from now on to check pixel and verxtex sharder, if they are implented.
Currently not, as wine is at 1.7.16
http://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #6 from Ken Thomases ken@codeweavers.com --- (In reply to Jarkko K from comment #5)
http://source.winehq.org/git/wine.git/blob/ a6e53eaed215447af648cce63e0b68fe234ceaa2:/dlls/d3dx9_36/effect.c#l1030
There is direct link from now on to check pixel and verxtex sharder, if they are implented.
That link will not reflect changes as they happen. It's specific to a commit and will always show the state of the source code as of that commit. It won't ever change, no matter what happens in future commits.
https://bugs.winehq.org/show_bug.cgi?id=34551
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simotsa@gmail.com
--- Comment #7 from Anastasius Focht focht@gmx.net --- *** Bug 35238 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34551
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arronwilliams@gmail.com
--- Comment #8 from Anastasius Focht focht@gmx.net --- *** Bug 36820 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34551
genstorm andreas.sturmlechner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.sturmlechner@gmail. | |com
--- Comment #9 from genstorm andreas.sturmlechner@gmail.com --- No crash, but missing textures in Civilization IV using builtin d3dx9_36 with loads of these messages (excerpt):
fixme:d3dx:d3dx9_base_effect_get_pass_desc Pixel shader and vertex shader are not supported, yet. fixme:d3dx:ID3DXEffectImpl_IsParameterUsed (0xd559938)->(0xd55ce18, 0xd55c40c): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000004 fixme:d3dx:d3dx9_copy_data Object already initialized! fixme:d3dx:d3dx9_base_effect_get_desc partial stub! fixme:d3dx:d3dx9_parse_array_selector Parse preshader. fixme:d3dx:ID3DXEffectImpl_BeginPass No states applied, yet! fixme:d3dx:ID3DXEffectImpl_CommitChanges (0x1a5286a8)->(): stub
https://bugs.winehq.org/show_bug.cgi?id=34551
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Necrovision demo crashes - |Necrovision demo crashes in |Pixel shader and vertex |WinXP mode |shader are not supported, | |yet. | Ever confirmed|0 |1
--- Comment #10 from Andrey Gusev andrey.goosev@gmail.com --- Still in 1.7.39 Works when Vista or 7 version set on.
https://bugs.winehq.org/show_bug.cgi?id=34551
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Necrovision demo crashes in |Necrovision demo crashes in |WinXP mode |WinXP mode without native | |d3dx9_36
https://bugs.winehq.org/show_bug.cgi?id=34551
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #11 from super_man@post.com --- All my efforts so far have given me blank screen. I didnt install dx, after second run I set all libraries builtin using winetricks.
I don't see a crash also I dont see the reason why it doesnt go into the game menu.
wine 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #12 from super_man@post.com --- I had already set d43 compiler as native and for final try I set d3dx9_36 as native too and the game finally loads into menu and I also tried gameplay.
It would be nice if someone could summarize the reason of this behavior. At game menu and in game I did get lots of graphical errors for some reason.
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #13 from super_man@post.com --- Clean prefix. I didnt let it install dx files when asked.
Trying to run it crashes at location
unsafe_impl_from_IDirect3DVertexDeclaration
which can be found dlls / d3d9 / vertexdeclaration.c
306 assert(iface->lpVtbl == &d3d9_vertex_declaration_vtbl);
I just removed the assert from this lane and the crash is gone but game doesnt go forward
Could be that it doesnt like these too much
fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80005. fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Generation of mipmaps for compressed pixel formats is not implemented yet.
wine 1.9.6
https://bugs.winehq.org/show_bug.cgi?id=34551
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #14 from winetest@luukku.com --- If this bug gets fixed then most likely bug 36076 too.
https://bugs.winehq.org/show_bug.cgi?id=34551
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Andrey Gusev andrey.goosev@gmail.com --- Now vice versa with the same output with wine-2.0-rc1-16-g44c1f0c game crashes with Vista and higher.
https://bugs.winehq.org/show_bug.cgi?id=34551
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #16 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Andrey Gusev from comment #15)
Now vice versa with the same output with wine-2.0-rc1-16-g44c1f0c game crashes with Vista and higher.
I don't understand what you mean here. Now the game works with XP but crashes with Vista+? Even if that's the case, this bug is still valid.
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #17 from Andrey Gusev andrey.goosev@gmail.com --- (In reply to Matteo Bruni from comment #16)
Now the game works with XP but crashes with Vista+?
Exactly.
https://bugs.winehq.org/show_bug.cgi?id=34551
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/1 |http://www.necrovision-game |96528/190000/fileinfo/Necro |.com/html/page.php?al=downl |Vision-Demo |oad_en&deflang=en
https://bugs.winehq.org/show_bug.cgi?id=34551
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Necrovision demo crashes in |Necrovision demo sometimes |WinXP mode without native |crashes with builtin d3dx9 |d3dx9_36 | Status|REOPENED |NEW
--- Comment #18 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Andrey Gusev from comment #17)
(In reply to Matteo Bruni from comment #16)
Now the game works with XP but crashes with Vista+?
Exactly.
At least these two are still valid:
fixme:d3dx:d3dx9_base_effect_get_pass_desc Pixel shader and vertex shader are not supported, yet. fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Generation of mipmaps for compressed pixel formats is not implemented yet
The crashes suggest some kind of memory corruption or similar, maybe related to the above fixmes. It's probably just a coincidence that changing Windows version has any effect on the bug.
https://bugs.winehq.org/show_bug.cgi?id=34551
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34551
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #19 from Paul Gofman gofmanp@gmail.com --- I tested the demo, looks like exact duplicate of #36820.
The crash with memory access at 0x3f800000 was reproducable for me, while fixed by returning vertex & pixel shaders in get_pass_desc, after which game loads and looks playable (didn't test any progress in it though, just cut scenes + the very start which is ok).
I was going to suggest a patch for #36820 soon (after finalizing currently in progress cleanups), which should also fix this one.
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #20 from winetest@luukku.com --- https://source.winehq.org/git/wine.git/commit/b7198efd42ad56ce587c8d608ea320...
https://bugs.winehq.org/show_bug.cgi?id=34551
--- Comment #21 from Paul Gofman gofmanp@gmail.com --- (In reply to winetest from comment #20)
https://source.winehq.org/git/wine.git/commit/ b7198efd42ad56ce587c8d608ea32068ea43fb72
Yes, it should be fixed by that commit.
https://bugs.winehq.org/show_bug.cgi?id=34551
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |b7198efd42ad56ce587c8d608ea | |32068ea43fb72 Resolution|--- |FIXED
--- Comment #22 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Marking fixed
https://bugs.winehq.org/show_bug.cgi?id=34551
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.8.