http://bugs.winehq.org/show_bug.cgi?id=35129
Bug ID: 35129 Summary: Cloning Clyde refuses to start with built-in d3dx9_36 Product: Wine Version: 1.7.8 Hardware: x86 URL: http://www.fileplanet.com/224883/220000/fileinfo/Cloni ng-Clyde-Client-%28Trial%29 OS: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Created attachment 46859 --> http://bugs.winehq.org/attachment.cgi?id=46859 terminal output (+d3dx traces)
The game won't start with the built-in d3dx9_36, it flashes a black window for a brief moment then it quits without an error message. +d3dx debug channel added only 4 lines to the terminal output as can be seen at the end of the attached log file. Please install ie8 via winetricks when testing with the demo version as the launcher doesn't work with Wine's IE.
'winetricks d3dx9_36' is a workaround.
Fedora 19 Nvidia binary drivers 325.15 wine-1.7.8-88-gfb75292
http://bugs.winehq.org/show_bug.cgi?id=35129
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #1 from Jarkko K jarkko_korpi@hotmail.com --- What is this game exactly?
With clean prefix I get a window, but cant get forward, clicking next doesnt do anything.
fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000001 fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000002 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:mshtml:nsChannel_GetContentDispositionHeader (0x4c4adc8)->(0x33d214) fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:mshtml:nsChannel_GetContentDispositionHeader (0x4c4af68)->(0x33d214) fixme:mshtml:nsChannel_GetContentDispositionHeader (0x4c4b268)->(0x33d214) fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000} fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35 fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28 fixme:ieframe:ControlSite_OnFocus (0x12bfc8)->(0) fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored fixme:mshtml:HlinkTarget_SetBrowseContext (0x12f778)->((nil)) fixme:mshtml:nsChannel_Cancel (0x4c4aff8)->(804b0002) fixme:ieframe:ControlSite_OnFocus (0x1410d8)->(1) fixme:imm:ImmGetOpenStatus (0x13b940): semi-stub
I had these in console...lots of unimplented.
I tried ie7 with updates and aldo override d3dx9_36
the main window changed a lot, I could see 3 more buttons...but still not going anywhere...
wine 1.7.18
https://bugs.winehq.org/show_bug.cgi?id=35129
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.7.26.
Fedora 20 Nvidia binary drivers 340.32
https://bugs.winehq.org/show_bug.cgi?id=35129
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #3 from Teras teras@luukku.com --- No need for winetricks -q ie8 anymore.
It still doesnt work
2 last lines
fixme:d3d_surface:surface_init Trying to create a render target that isn't in the default pool. s\Cloning Clyde\CloningClyde.exe: ../nptl/pthread_mutex_lock.c:359: __pthread_mutex_lock_full: Assertion `robust || (oldval & 0x40000000) == 0' failed.
wine-1.7.38-186-g0e24c33
https://bugs.winehq.org/show_bug.cgi?id=35129
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- The default console output isn't very verbose, but the error seem to have changed.
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x6ab8e18, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d_surface:surface_init Trying to create a render target that isn't in the default pool.
It just hangs without doing anything,
wine 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=35129
--- Comment #5 from super_man@post.com --- (In reply to super_man from comment #4)
The default console output isn't very verbose, but the error seem to have changed.
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x6ab8e18, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d_surface:surface_init Trying to create a render target that isn't in the default pool.
It just hangs without doing anything,
wine 1.7.50
the same 1.9.6 and staging 1.9.6
https://bugs.winehq.org/show_bug.cgi?id=35129
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #6 from Paul Gofman gofmanp@gmail.com --- (In reply to super_man from comment #5)
(In reply to super_man from comment #4)
The default console output isn't very verbose, but the error seem to have changed.
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x6ab8e18, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! fixme:d3d_surface:surface_init Trying to create a render target that isn't in the default pool.
It just hangs without doing anything,
wine 1.7.50
the same 1.9.6 and staging 1.9.6
The messages above are unrelated. Game trial works fine for me with native d3dcompiler_43.dll, and does not work with the builtin. The relevant log can be seen with WINEDEBUG=+d3dcompiler.
When using native compiler, game displays a window with Try/Buy buttons. When starting it by 'Try' it exits silently.
The first problem comes in D3DAssemble shader preprocessing. Preprocessor gets messed up by single quote chars inside comments (e. g. "; ... it's ..."), it thinks they are unterminated strings and fails. I made a quick fix for that, but it will allow just to pass one screen further. If to fix that, the game displays splash screen, and then fails again silently. Now when it is done with verbose assembly shaders it wants to compile HLSL shader with D3DCompile, and fails on the first shader (the code follows below). This is harder, Wine compiler does not understands LHS swizzles and seemingly something else (there is a probably distinct syntax error which I did not track down).
float4x4 matWVP : register(c0); struct VS_IN { float4 Pos : POSITION; float2 Tex : TEXCOORD0; float4 Color : COLOR; }; struct VS_OUT { float4 Position : POSITION; float4 Diffuse : COLOR0; float2 TexCoord0 : TEXCOORD0; }; VS_OUT VertexShaderSprite( VS_IN In ) { VS_OUT Out;
float4 temppos = In.Pos; temppos.x -= 0.5; temppos.y -= 0.5; Out.Position = mul(matWVP, temppos); Out.Diffuse = In.Color; Out.TexCoord0.x = In.Tex.x; Out.TexCoord0.y = In.Tex.y; return Out; } sampler Texture : register(s0);
float4 PixelShaderSprite( VS_OUT In ) : COLOR0 { float4 FontTexel = tex2D( Texture, In.TexCoord0 ); float4 Color = FontTexel * In.Diffuse; return Color; }
https://bugs.winehq.org/show_bug.cgi?id=35129
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- Created attachment 58218 --> https://bugs.winehq.org/attachment.cgi?id=58218 fresh wineprefix 2.8
https://bugs.winehq.org/show_bug.cgi?id=35129
--- Comment #8 from winetest@luukku.com --- Created attachment 58219 --> https://bugs.winehq.org/attachment.cgi?id=58219 d3dcompiler
Added log with wine 2.8 +d3dcompiler
https://bugs.winehq.org/show_bug.cgi?id=35129
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 70179 --> https://bugs.winehq.org/attachment.cgi?id=70179 +d3dx,+d3dcompiler
With wine-6.11 I only needed native d3dcompiler_47 to make it work. I checked a +loaddll log and builtin d3dx9_43 gets loaded.
Attached is a +d3dx,+d3dcompiler with everything builtin.
https://bugs.winehq.org/show_bug.cgi?id=35129
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Cloning Clyde refuses to |Cloning Clyde crashes due |start with built-in |to HLSL compilation failure |d3dx9_36 |(needs 'tex2D' handling) Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- With wine-8.0rc4 it still crashes on HLSL compilation failure, but it's now visible why specifically:
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:1:625: E5005: Function "tex2D" is not defined. 0024:err:d3dcompiler:D3DCompile2
That's bug 33979.
*** This bug has been marked as a duplicate of bug 33979 ***
https://bugs.winehq.org/show_bug.cgi?id=35129
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.8 |1.6 Component|d3d-util |hlsl Product|Wine |vkd3d
https://bugs.winehq.org/show_bug.cgi?id=35129
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- Closing DUPLICATE.