http://bugs.winehq.org/show_bug.cgi?id=32519
Bug #: 32519 Summary: Civilization V: water rendering issue with built-in d3dx9_36 Product: Wine Version: 1.5.20 Platform: x86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
Created attachment 42899 --> http://bugs.winehq.org/attachment.cgi?id=42899 terminal output
With the built-in d3dx9_36 water is rendered incorrectly in Civilization V if I set water texture detail to medium or high in the options menu. On 'low' detail level water looks more or less the same as with the native dll. I tried the patch from bug #31988, but it didn't help in this case.
Nvidia 250 / driver 304.64
http://bugs.winehq.org/show_bug.cgi?id=32519
--- Comment #1 from GyB gyebro69@gmail.com 2012-12-22 10:17:52 CST --- Created attachment 42900 --> http://bugs.winehq.org/attachment.cgi?id=42900 screenshot (comparison)
http://bugs.winehq.org/show_bug.cgi?id=32519
--- Comment #2 from GyB gyebro69@gmail.com 2012-12-23 13:47:15 CST --- Created attachment 42917 --> http://bugs.winehq.org/attachment.cgi?id=42917 (partial) +d3dx log (uncompressed 440 MB)
The full +d3dx log is too large even in compressed form to attach here. The attached file contains the last 6 million lines of the full log. The complete log is accessible: https://docs.google.com/open?id=0B-tTbLKBl-tOQjRRTWZCSHlyRGs
http://bugs.winehq.org/show_bug.cgi?id=32519
--- Comment #3 from Rico kgbricola@web.de 2013-01-11 05:19:35 CST --- Created attachment 43144 --> http://bugs.winehq.org/attachment.cgi?id=43144 Add support for A16B16G16R16
A wild guess, it may have something to do with: fixme:d3dx:D3DXLoadSurfaceFromMemory Unsupported pixel format conversion 0x24 -> 0x24 fixme:d3dx:get_format_info Unknown format 0x24 (as FOURCC "$\x00\x00\x00"). fixme:d3dx:get_format_info Unknown format 0x24 (as FOURCC "$\x00\x00\x00").
That format is D3DFMT_A16B16G16R16.
Could you give the attached patch a try. Please make sure, that you have latest git and patch http://source.winehq.org/patches/data/93491 . This patch changes the format of the table. OR you may simply copy that one line of code to that file.
http://bugs.winehq.org/show_bug.cgi?id=32519
--- Comment #4 from GyB gyebro69@gmail.com 2013-01-11 09:05:53 CST --- Water looks good with those 2 patches.
http://bugs.winehq.org/show_bug.cgi?id=32519
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Rico kgbricola@web.de 2013-01-16 14:25:31 CST --- Fixed by 7c5517da6f8cc4a81b6760c5bce91eeed20e6ba2 .
http://bugs.winehq.org/show_bug.cgi?id=32519
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7c5517da6f8cc4a81b6760c5bce | |91eeed20e6ba2 CC| |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32519
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-01-18 14:56:54 CST --- Closing bugs fixed in 1.5.22.