https://bugs.winehq.org/show_bug.cgi?id=41295
Bug ID: 41295 Summary: Necropolis (DX11 mode) crashes at start with "shader.c:1237: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed." Product: Wine Version: 1.9.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fjfrackiewicz@gmail.com Distribution: ---
Created attachment 55618 --> https://bugs.winehq.org/attachment.cgi?id=55618 Terminal output Wine 1.9.18
Game version = 1.1.0 (this is the new Brutal Edition version) Clean prefix.
When I attempt to run this game in DirectX 11 mode, the game crashes as soon as it gets to the main menu with the following error in terminal:
../../../wine/dlls/d3d11/shader.c:1237: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed.
Also, the game generates a crash.dmp and an error.log and I will attach those as well in case they are of any use.
Full terminal output attached.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #1 from fjfrackiewicz@gmail.com --- Created attachment 55619 --> https://bugs.winehq.org/attachment.cgi?id=55619 Necropolis' error log
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #2 from fjfrackiewicz@gmail.com --- Created attachment 55620 --> https://bugs.winehq.org/attachment.cgi?id=55620 Necropolis' crash dump file
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- At a guess, that's probably because of the preceding CreateGeometryShaderWithStreamOutput() call failing.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #4 from fjfrackiewicz@gmail.com --- Depths of Fear: Khnossos also crashes with this error.
https://bugs.winehq.org/show_bug.cgi?id=41295
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
https://bugs.winehq.org/show_bug.cgi?id=41295
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- I believe the same problem prevents Rise of Venice from running (the game crashes when starting a new game from the menu).
... fixme:d3d11:d3d11_device_CreateGeometryShaderWithStreamOutput iface 0x13d028, byte_code 0x9295e930, byte_code_length 2720, so_entries 0xa03dd30, entry_count 7, buffer_strides 0x33f19c, strides_count 1, rasterized_stream 0, class_linkage (nil), shader 0x33f178 stub! on\Rise of Venice\RiseOfVenice.exe: shader.c:1237: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed. wine: Assertion failed at address 0xf77a1b09 (thread 00ee), starting debugger... ...
wine-2.0-rc1-32-g725b55d OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 375.26
https://bugs.winehq.org/show_bug.cgi?id=41295
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Necropolis (DX11 mode) |Multiple games crashe at |crashes at start with |start with "shader.c:1237: |"shader.c:1237: |unsafe_impl_from_ID3D11Geom |unsafe_impl_from_ID3D11Geom |etryShader: Assertion |etryShader: Assertion |`iface->lpVtbl == |`iface->lpVtbl == |&d3d11_geometry_shader_vtbl |&d3d11_geometry_shader_vtbl |' failed." |' failed." |
https://bugs.winehq.org/show_bug.cgi?id=41295
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games crashe at |Multiple games crash at |start with "shader.c:1237: |start with "shader.c:1237: |unsafe_impl_from_ID3D11Geom |unsafe_impl_from_ID3D11Geom |etryShader: Assertion |etryShader: Assertion |`iface->lpVtbl == |`iface->lpVtbl == |&d3d11_geometry_shader_vtbl |&d3d11_geometry_shader_vtbl |' failed." |' failed."
https://bugs.winehq.org/show_bug.cgi?id=41295
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d Summary|Multiple games crash at |Multiple games crash |start with "shader.c:1237: |because |unsafe_impl_from_ID3D11Geom |d3d11_device_CreateGeometry |etryShader: Assertion |ShaderWithStreamOutput is a |`iface->lpVtbl == |stub |&d3d11_geometry_shader_vtbl | |' failed." |
https://bugs.winehq.org/show_bug.cgi?id=41295
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
https://bugs.winehq.org/show_bug.cgi?id=41295
Andras Kovacs andras@sth.sze.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andras@sth.sze.hu
--- Comment #6 from Andras Kovacs andras@sth.sze.hu --- Lost Planet Dx10 demo also suffers from this.
https://bugs.winehq.org/show_bug.cgi?id=41295
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://us.download.nvidia.c | |om/downloads/nZone/demos/nz | |d_lpdemo.zip
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #7 from fjfrackiewicz@gmail.com --- I believe this feature has been expanded upon with this commit: https://source.winehq.org/git/wine.git/commit/acd7d2e09ab22d8bb185a1623fa780...
I will be testing my application but I would like feedback from others who reported in this bug if the commit fixes their application just in case :)
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #8 from fjfrackiewicz@gmail.com --- Created attachment 57666 --> https://bugs.winehq.org/attachment.cgi?id=57666 Terminal output wine-2.4-123-gec8485ec10
Necropolis no longer seems to complain about d3d11_device_CreateGeometeryShaderWithStreamOutput but it still crashes with the following error:
../../../wine/dlls/d3d11/shader.c:1338: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed.
Full terminal output up to the crash attached. Not sure if I should file another bug, though.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to fjfrackiewicz from comment #8)
Necropolis no longer seems to complain about d3d11_device_CreateGeometeryShaderWithStreamOutput but it still crashes with the following error:
../../../wine/dlls/d3d11/shader.c:1338: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed.
The same crash occurs in Rise of Venice in wine-2.4-123-gec8485e.
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |joseph.kucia@gmail.com Status|UNCONFIRMED |NEW
--- Comment #10 from Józef Kucia joseph.kucia@gmail.com --- (In reply to fjfrackiewicz from comment #8)
Full terminal output up to the crash attached. Not sure if I should file another bug, though.
It's probably best to wait a bit. The d3d11_device_CreateGeometryShaderWithStreamOutput() function is now implemented but the stream output feature is still not supported in wined3d.
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |joseph.kucia@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #11 from fjfrackiewicz@gmail.com --- (In reply to Józef Kucia from comment #10)
(In reply to fjfrackiewicz from comment #8)
Full terminal output up to the crash attached. Not sure if I should file another bug, though.
It's probably best to wait a bit. The d3d11_device_CreateGeometryShaderWithStreamOutput() function is now implemented but the stream output feature is still not supported in wined3d.
Thanks for the response.
So let me see if I got this right:
We should wait until the stream output feature is completely implemented, test our applications once it is implemented, and then if everything works or doesn't crash at the same point anymore, close this bug as fixed and file a new report?
Asking to make sure I got this correct.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #12 from Józef Kucia joseph.kucia@gmail.com --- (In reply to fjfrackiewicz from comment #11)
We should wait until the stream output feature is completely implemented, test our applications once it is implemented, and then if everything works or doesn't crash at the same point anymore, close this bug as fixed and file a new report?
Yeah, I'll probably resolve this bug when the stream output is implemented. Please file new reports for other issues when it happens.
Necropolis no longer seems to complain about d3d11_device_CreateGeometeryShaderWithStreamOutput but it still crashes with the following error:
../../../wine/dlls/d3d11/shader.c:1338: unsafe_impl_from_ID3D11GeometryShader: Assertion `iface->lpVtbl == &d3d11_geometry_shader_vtbl' failed.
This is expected and should go away when stream output is implemented.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #13 from fjfrackiewicz@gmail.com --- (In reply to Józef Kucia from comment #12)
Yeah, I'll probably resolve this bug when the stream output is implemented. Please file new reports for other issues when it happens.
Great, thank you for the clarification!
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43314
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games crash |Multiple games require |because |stream output support for |d3d11_device_CreateGeometry |vertex/tessellation shaders |ShaderWithStreamOutput is a | |stub |
https://bugs.winehq.org/show_bug.cgi?id=41295
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=41295
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
https://bugs.winehq.org/show_bug.cgi?id=41295
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=41295
Dmitry Eremin-Solenikov dbaryshkov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dbaryshkov@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eldrad@autistici.org
--- Comment #14 from Józef Kucia joseph.kucia@gmail.com --- *** Bug 43314 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=41295
Xeno xenodaphron@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xenodaphron@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41295
Carlos Silva r3pek@r3pek.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r3pek@r3pek.org
https://bugs.winehq.org/show_bug.cgi?id=41295
Nicky nheart@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nheart@gmail.com
--- Comment #15 from Nicky nheart@gmail.com --- Still present in 3.3 Staging. Any updates on this?
https://bugs.winehq.org/show_bug.cgi?id=41295
shiloh.beeler@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shiloh.beeler@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41295
Cláudio Sampaio (Patola) patola@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |patola@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #16 from Toni eldrad@autistici.org --- Thanks Józef ;)
Tested it and works on Blades of the Shogun Demo (will retest once it hits git and hopefully 3.7 but couldn't wait)
Good day for unity5 games on linux!!
https://bugs.winehq.org/show_bug.cgi?id=41295
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Summary|Multiple games require |Multiple games require |stream output support for |stream output support for |vertex/tessellation shaders |vertex shaders Assignee|joseph.kucia@gmail.com |wine-bugs@winehq.org Fixed by SHA1| |ca8e05154e4be5f9f378dd5611c | |775ec5621e74f
--- Comment #17 from Józef Kucia joseph.kucia@gmail.com --- It should be fixed by commit ca8e05154e4be5f9f378dd5611c775ec5621e74f.
https://bugs.winehq.org/show_bug.cgi?id=41295
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.7.
https://bugs.winehq.org/show_bug.cgi?id=41295
--- Comment #19 from Matteo Bruni matteo.mystral@gmail.com --- *** Bug 41912 has been marked as a duplicate of this bug. ***