http://bugs.winehq.org/show_bug.cgi?id=33979
Bug #: 33979 Summary: Still Life 2 demo crashes without native d3dx9_36 Product: Wine Version: 1.6-rc4 Platform: x86 URL: http://www.fileplanet.com/198863/190000/fileinfo/Still -Life-2-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 45144 --> http://bugs.winehq.org/attachment.cgi?id=45144 log+d3dx
Clean wineprefix.
http://bugs.winehq.org/show_bug.cgi?id=33979
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=33979
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dank@kegel.com Summary|Still Life 2 demo crashes |Still Life 2 demo crashes |without native d3dx9_36 |without native | |d3dcompiler_43 (or | |d3dx9_36) Ever Confirmed|0 |1
--- Comment #1 from Dan Kegel dank@kegel.com 2013-07-07 12:55:49 CDT --- (Andrey, please include sha1sums like this, so we can find the game later if the initial download site goes away.) ddcbb620008157cbf61877f35744d115386e83e0 StillLife2_Demo.zip
Last bit of log before crash:
err:d3dcompiler:compile_shader HLSL shader parsing failed. fixme:win:EnumDisplayDevicesW ((null),0,0x33e318,0x00000000), stub! Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00451823). Backtrace: =>0 0x00451823 in sl2 (+0x51823) (0x008f6ea0) 1 0x008a70b8 (0x008fd000)
I'll attach a +d3dcompiler log so you can see the shaders in question.
More specific workaround: winetricks d3dcompiler_43
http://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #2 from Dan Kegel dank@kegel.com 2013-07-07 12:57:21 CDT --- Created attachment 45146 --> http://bugs.winehq.org/attachment.cgi?id=45146 +d3dcompiler log
First error:
trace:d3dcompiler:compilation_message :1:71: error: syntax error, unexpected KW_REGISTER, expecting VAR_IDENTIFIER or TYPE_IDENTIFIER or NEW_IDENTIFIER
http://bugs.winehq.org/show_bug.cgi?id=33979
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #3 from Christian Costa titan.costa@gmail.com 2013-07-07 16:14:28 CDT --- The shader uses: float4x4 gViewProj : register( c0 ); float4x3 gWorld[40] : register( c5 );
Mapping a variable to a register is not yet supported by the parser.
http://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com 2013-08-26 03:18:01 CDT --- Splinter Cell: Blacklist has strings
err:d3dcompiler:compile_shader HLSL shader parsing failed. err:d3dcompiler:compile_shader HLSL shader parsing failed. fixme:hlsl_parser:hlsl_parse Check for valued return on void function. fixme:hlsl_parser:hlsl_parse Implicit conversion to the return type if needed, error out if conversion not possible. err:d3dcompiler:compile_shader HLSL shader parsing failed.
http://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #5 from Andrey Gusev andrey.goosev@gmail.com --- Still in 1.7.9
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com --- *** Bug 34204 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #7 from Andrey Gusev andrey.goosev@gmail.com --- *** Bug 35911 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Christopher Larson kergoth@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kergoth@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33979
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #8 from fjfrackiewicz@gmail.com --- I am not sure if this is the correct bug but I've noticed just about every game that is made in GameMaker requires d3dcompiler_43 or otherwise they will crash right after you get into the game. This affects games such as Downwell and Immortal Planet.
https://bugs.winehq.org/show_bug.cgi?id=33979
exposight exposight@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |exposight@gmail.com
--- Comment #9 from exposight exposight@gmail.com --- reproduces on wine 4.18 on Still Life 2 demo
0009:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0x64. 0009:fixme:hlsl_parser:hlsl_parse Array. 0009:err:d3dcompiler:compile_shader HLSL shader parsing failed. wine: Unhandled page fault on read access to 0x00000000 at address 00451823 (thread 0009), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |vkd3d Component|d3d-util |hlsl Version|1.6-rc4 |1.6 Summary|Still Life 2 demo crashes |Still Life 2 demo crashes |without native |on start due to HLSL |d3dcompiler_43 (or |compilation failure |d3dx9_36) |
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-8.0rc2.
0024:fixme:d3d9:wined3dformat_from_d3dformat Unhandled D3DFORMAT 0x64. 0024:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0x1000. vkd3d:fixme:write_sm1_instructions Unhandled instruction type HLSL_IR_JUMP. 0024:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0x1000. 0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:1:187: E5005: Function "tex2D" is not defined. 0024:err:d3dcompiler:D3DCompile2 wine: Unhandled page fault on read access to 00000000 at address 00451823 (thread 0024), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=33979
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |memax@gmx.fr
--- Comment #11 from imaxm memax@gmx.fr --- Created attachment 73814 --> https://bugs.winehq.org/attachment.cgi?id=73814 Still Life 2 full game - terminal output
This bug also affects the full game, in my case the GOG version still_life_2_1.0_(22305) on wine-8.0-rc2. The proposed workaround (install d3dcompiler_43 using winetricks) did not work in my case.
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Still Life 2 demo crashes |Still Life 2 crashes on |on start due to HLSL |start due to HLSL |compilation failure |compilation failure
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #12 from Andrey Gusev andrey.goosev@gmail.com --- (In reply to imaxm from comment #11)
The proposed workaround (install d3dcompiler_43 using winetricks) did not work in my case.
Now d3dcompiler_47 needs to be set as native,builtin.
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #13 from imaxm memax@gmx.fr --- (In reply to Andrey Gusev from comment #12)
(In reply to imaxm from comment #11)
The proposed workaround (install d3dcompiler_43 using winetricks) did not work in my case.
Now d3dcompiler_47 needs to be set as native,builtin.
The game does work when native d3dcompiler_47 is used. Thanks for the hint.
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Still Life 2 crashes on |Multiple games crash on |start due to HLSL |missing 'tex2D' handling |compilation failure |(Still Life 2, Death to | |Spies: Moment of Truth | |demo, Legend of Grimrock 2)
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #14 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 42912 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tbl0605@gmail.com
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 45836 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sterophonick@gmail.com
--- Comment #16 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 54132 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 54035 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games crash on |Multiple games crash on |missing 'tex2D' handling |missing 'tex2D' handling |(Still Life 2, Death to |(Still Life 2, Death to |Spies: Moment of Truth |Spies: Moment of Truth |demo, Legend of Grimrock 2) |demo, Legend of Grimrock 2, | |Tom Clancy's Rainbow Six: | |Vegas 2, Super Meat Boy)
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #18 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 35129 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple games crash on |Multiple games crash on |missing 'tex2D' handling |missing 'tex2D' handling |(Still Life 2, Death to |(Still Life 2, Death to |Spies: Moment of Truth |Spies: Moment of Truth |demo, Legend of Grimrock 2, |demo, Legend of Grimrock 2, |Tom Clancy's Rainbow Six: |Tom Clancy's Rainbow Six: |Vegas 2, Super Meat Boy) |Vegas 2, Super Meat Boy, | |Cloning Clyde)
https://bugs.winehq.org/show_bug.cgi?id=33979
exposight exposight@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|exposight@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=33979
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #19 from temp82@luukku.com --- 3dmark06 needs this too. tested with wine 8.3
https://bugs.winehq.org/show_bug.cgi?id=33979
--- Comment #20 from temp82@luukku.com --- 3dmark06 needs this too. tested with wine 8.3
https://bugs.winehq.org/show_bug.cgi?id=33979
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aros@gmx.com
--- Comment #21 from Artem S. Tashkinov aros@gmx.com --- *** Bug 38872 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33979
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #22 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by https://source.winehq.org/git/vkd3d.git/commit/645ec0167aebf529408a60437a7f5...
https://bugs.winehq.org/show_bug.cgi?id=33979
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed win 1.7.