https://bugs.winehq.org/show_bug.cgi?id=39546
Bug ID: 39546 Summary: Smooth textures of paladin in Heroes VI Product: Wine Version: 1.7.53 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
Created attachment 52697 --> https://bugs.winehq.org/attachment.cgi?id=52697 builtin d3dx9_36
Heroes of Might and Magic VI: Shade Of Darkness. If using builtin d3dx9_36 then paladin in main menu looks like a cloud while using native d3dx9_36 we have good picture. (don't speak about other bugs) The bug is present with all wine versions. Two attachments to illustrate
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #1 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 52698 --> https://bugs.winehq.org/attachment.cgi?id=52698 native d3dx9_36
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #2 from Sergey Isakov isakov-sl@bk.ru --- The bug is present with wine-staging as well and seems to be independent on dxtn support.
https://bugs.winehq.org/show_bug.cgi?id=39546
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- A trace with d3dx channel enabled could be a good start.
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #4 from Sergey Isakov isakov-sl@bk.ru --- (In reply to joaopa from comment #3)
A trace with d3dx channel enabled could be a good start.
OK, testing. OSX 10.9.5 AMD Radeon HD6000 series wine-1.7.54-59-g8f44307 trace+d3dx
I am not sure what part of this log is relevant so I upload full log from start to exit.
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #5 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 52700 --> https://bugs.winehq.org/attachment.cgi?id=52700 log with trace+d3dx
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #6 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 52701 --> https://bugs.winehq.org/attachment.cgi?id=52701 log with native d3dx9_36
https://bugs.winehq.org/show_bug.cgi?id=39546
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- err:d3dcompiler:compile_shader HLSL shader parsing failed.
This would point the issue in d3dcompiler
Does this help (when using builtin dx9) winetricks d3dcompiler_43
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #8 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Alistair Leslie-Hughes from comment #7)
err:d3dcompiler:compile_shader HLSL shader parsing failed.
This would point the issue in d3dcompiler
Does this help (when using builtin dx9) winetricks d3dcompiler_43
No. builtin d3dx9_36.dll + native d3dcompiler_43.dll also absent textures but paladin now is blue. While with builtin compiler it is white.
To get good picture native d3dx9_36.dll only is needed.
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #9 from Sergey Isakov isakov-sl@bk.ru --- Sorry, you are right. With some experimental version of wine I got good textures with only d3dcompiler_43 native. I will investigate what is the reason.
https://bugs.winehq.org/show_bug.cgi?id=39546
--- Comment #10 from Sergey Isakov isakov-sl@bk.ru --- With wine-1.8 there is only d3dcompiler_43 native enough to get good picture. There are messages in the log if related ---- fixme:d3dx:D3DXGetShaderConstantTableEx Flags (0x20000) are not handled, yet! fixme:d3dx:D3DXGetShaderConstantTableEx Flags (0x20000) are not handled, yet! fixme:d3dx:D3DXGetShaderConstantTableEx Flags (0x20000) are not handled, yet! fixme:d3dx:D3DXGetShaderConstantTableEx Flags (0x20000) are not handled, yet! fixme:d3dx:D3DXGetShaderConstantTableEx Flags (0x20000) are not handled, yet!
The flag is #define D3DXCONSTTABLE_LARGEADDRESSAWARE 0x20000 May be better to return D3DERR_INVALIDCALL; ?
https://bugs.winehq.org/show_bug.cgi?id=39546
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #11 from Sergey Isakov isakov-sl@bk.ru --- This bug exactly same as 38621. Sorry for this.
*** This bug has been marked as a duplicate of bug 38621 ***
https://bugs.winehq.org/show_bug.cgi?id=39546
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate