http://bugs.winehq.org/show_bug.cgi?id=34004
Bug #: 34004 Summary: Broken Sword: The Angel of Death demo needs native d3dx9_36 Product: Wine Version: 1.6-rc4 Platform: x86 URL: http://www.fileplanet.com/167033/160000/fileinfo/Broke n-Sword:-The-Angel-of-Death-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 45184 --> http://bugs.winehq.org/attachment.cgi?id=45184 log+d3dx
Without native d3dx9_36 shows a grey screen.
43e497c98f638e3b572b81d77a089bf6a03c3327 broken_sword_4-demo.zip
http://bugs.winehq.org/show_bug.cgi?id=34004
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=34004
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2013-07-10 16:26:11 CDT --- When it looks like the key error line is
err:d3dcompiler:compile_shader HLSL shader parsing failed.
maybe you should check whether native d3dcompiler_43 suffices as a workaround instead of d3dx9_36, and attach a +d3dcompiler log (iirc that's what shows the text of the offending shader).
http://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com 2013-07-11 05:31:37 CDT --- (In reply to comment #1)
When it looks like the key error line is
err:d3dcompiler:compile_shader HLSL shader parsing failed.
That's right. Without overrides.
http://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com 2013-07-11 05:32:22 CDT --- Created attachment 45193 --> http://bugs.winehq.org/attachment.cgi?id=45193 +d3dcompiler
http://bugs.winehq.org/show_bug.cgi?id=34004
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Broken Sword: The Angel of |Broken Sword: The Angel of |Death demo needs native |Death demo needs native |d3dx9_36 |d3dx9_36 or d3dcompiler_43
http://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #4 from Dan Kegel dank@kegel.com 2013-07-11 05:42:57 CDT --- Does native d3dcompiler_43 work around the problem?
http://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #5 from Andrey Gusev andrey.goosev@gmail.com 2013-07-11 05:47:28 CDT --- Yes with native d3dcompiler_43 is also working.
http://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com 2013-07-12 06:02:22 CDT --- Btw, demo has a problem with black textured models. For a full version had been released a patch 1.1 and it resolving this. But patch cannot be applying for demo.
http://bugs.winehq.org/show_bug.cgi?id=34004
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #7 from Roland Haeder roland@mxchange.org 2013-12-05 16:09:01 CST --- Still an issue with latest GIT/master (updated today). Plus this game changes the color palette of my screen. Is there an X program to change it back? I always have to logout. :(
http://bugs.winehq.org/show_bug.cgi?id=34004
voyageur@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |voyageur@gentoo.org
https://bugs.winehq.org/show_bug.cgi?id=34004
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-1.7.40-129-gf2aa42d
Broken Sword 4 (GOG)
https://bugs.winehq.org/show_bug.cgi?id=34004
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- used winetricks purist mode. Only black screen is visible.
wine 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=34004
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #10 from winetest@luukku.com --- I didnt test purist mode after game install it started iself and the console is spammed with shader failed messages and the screen is black with some content that's hard to say what's drawn.
Console is spammed messages like these.
fixme:d3dcompiler:make_assignment Check for casts in the lhs. fixme:d3dcompiler:make_assignment Check for casts in the lhs. err:d3dcompiler:compile_shader HLSL shader parsing failed. fixme:hlsl_parser:hlsl_parse Array. fixme:hlsl_parser:hlsl_parse Array.
wine 2.0.rc2.
https://bugs.winehq.org/show_bug.cgi?id=34004
Andri Möll andri@dot.ee changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andri@dot.ee
--- Comment #11 from Andri Möll andri@dot.ee --- Broken Sword 4 from GOG (setup_broken_sword_4_the_angel_of_death_1.1a_(24519).exe) seems to display the intro, menu and first room fine on WINE v4.7. I'll report back if problems arise, but I think this may now be closed.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #12 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Andri Möll from comment #11)
Broken Sword 4 from GOG (setup_broken_sword_4_the_angel_of_death_1.1a_(24519).exe) seems to display the intro, menu and first room fine on WINE v4.7. I'll report back if problems arise, but I think this may now be closed.
You're probably using native d3dx9, which is most likely already included in the game.
https://bugs.winehq.org/show_bug.cgi?id=34004
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #13 from Christian Costa titan.costa@gmail.com --- I've just tested with wine 7.20 and confirm the same black screen problem. Using native d3dcompiler_47 works around the problem.
This seems due to: fixme:write_sm1_instructions Unhandled instruction type HLSL_IR_JUMP.
There is also this warning: 0024:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0x1001. But apparently this is not problematic.
Only D3DCOMPILE_DEBUG is concerned: if (flags & ~D3DCOMPILE_DEBUG) FIXME("Ignoring flags %#x.\n", flags
Note that the code is not correct. It should be: if (flags & ~D3DCOMPILE_DEBUG) FIXME("Ignoring flags %#x.\n", flags & ~D3DCOMPILE_DEBUG); to avoid displaying flags that are not ignored.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #14 from Christian Costa titan.costa@gmail.com --- Created attachment 73389 --> https://bugs.winehq.org/attachment.cgi?id=73389 BS4 output
https://bugs.winehq.org/show_bug.cgi?id=34004
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #15 from temp82@luukku.com --- Created attachment 74139 --> https://bugs.winehq.org/attachment.cgi?id=74139 wine 8.2 log
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #16 from temp82@luukku.com --- 4:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:189:23: W5300: Implicit truncation of vector type. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:468:59: W5300: Implicit truncation of vector type. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:328:11: E5016: Object of type 'sampler2D' must be bound to register type 's'. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:329:11: E5016: Object of type 'sampler2D' must be bound to register type 's'. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:330:11: E5016: Object of type 'sampler2D' must be bound to register type 's'. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:331:11: E5016: Object of type 'sampler2D' must be bound to register type 's'. 0024:err:d3dcompiler:D3DCompile2
only black screen wine 8.6. did not try any tricks. fresh wineprefix.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com --- This one is for sampler binding error https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/162.
Other errors include refract() function, and other problems that are covered by existing bug reports - SM1 cast, resource loads, and trigonometric functions.
https://bugs.winehq.org/show_bug.cgi?id=34004
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|d3d-util |hlsl Version|1.6-rc4 |1.7 Product|Wine |vkd3d
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #18 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Nikolay Sivov from comment #17)
This one is for sampler binding error https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/162.
This is now fixed with https://source.winehq.org/git/vkd3d.git/commit/0cea4d352e5f04fe6837702b91ce9....
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #19 from temp82@luukku.com --- I was hoping wine 8.7 helps here, but no. Still a black screen, followed by no signal on my pc screen. Had to force reset. 32 bit prefix, all default.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #20 from temp82@luukku.com --- (In reply to temp82 from comment #19)
I was hoping wine 8.7 helps here, but no. Still a black screen, followed by no signal on my pc screen. Had to force reset. 32 bit prefix, all default.
still black screen with wine 8.10.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #21 from temp82@luukku.com --- wine-8.12 no change. still all black.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #22 from temp82@luukku.com --- (In reply to temp82 from comment #21)
wine-8.12 no change. still all black.
the same 8.14
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #23 from temp82@luukku.com --- all black wine 8.15.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #24 from temp82@luukku.com --- (In reply to temp82 from comment #23)
all black wine 8.15.
the same wine 8.18.
https://bugs.winehq.org/show_bug.cgi?id=34004
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #25 from joaopa jeremielapuree@yahoo.fr --- Can you retest with wine-8.18 in a fresh wineprefix with no dll overrides? For me, it looks like the bug is fixed.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #26 from joaopa jeremielapuree@yahoo.fr --- Umm no it is not fixed in fact.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #27 from temp82@luukku.com --- still all black, wine 8.19.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #28 from temp82@luukku.com --- (In reply to temp82 from comment #27)
still all black, wine 8.19.
still all black wine 8.21 (I get lots of these lines printed)
Dereference with non-constant offset of type HLSL_IR_EXPR. 016c:err:d3dcompiler:D3DCompile2 <anonymous>:197:40: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #29 from temp82@luukku.com --- all black wine 9.0rc1.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #30 from temp82@luukku.com --- (In reply to temp82 from comment #29)
all black wine 9.0rc1.
wine 9.3 still not fixed.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #31 from temp82@luukku.com --- I was just curious to try this and it definitely works better.
the screen is black for a brief moment until some game video starts(i have not seen these before), eventually you land to main menu. I started a new game, there are few objects drawn and even game cursor, but at current form it's still unplayable, before you vould not see the videos or start a new game. fresh wineprefix and wine 9.4.
I might even call this fixed now. but playing the game itself still needs some improvements.
https://bugs.winehq.org/show_bug.cgi?id=34004
--- Comment #32 from temp82@luukku.com --- I retested this with fresh 32 prefix and wine 9.8. install all default, no overrides set. to me it looks that this is fixed, but starting a new game still requires some improvements. there are still some objects not drawn correctly.