[Bug 38654] New: King's Bounty series: water rendering broken when anti-aliasing enabled
https://bugs.winehq.org/show_bug.cgi?id=38654 Bug ID: 38654 Summary: King's Bounty series: water rendering broken when anti-aliasing enabled Product: Wine Version: 1.7.44 Hardware: x86 URL: http://www.gamershell.com/download_32652.shtml OS: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: gyebro69(a)gmail.com CC: stefan(a)codeweavers.com Regression SHA1: 90d8896826043bdf8c294018acc663c5d6684935 Distribution: --- Created attachment 51581 --> https://bugs.winehq.org/attachment.cgi?id=51581 terminal output When in-game anti-aliasing is enabled water is not rendered properly in the King's Bounty games. Reproducible when the player is on the adventure map and some water is nearby. When water quality is set 'normal' then water textures are completely messed up (see attached screenshot). When water quality=high then water looks a bit better, but still not correct. Can be reproduced in KB: Legends demo. The game needs native d3dx9_36. Reverting the following commit fixes the issue: commit 90d8896826043bdf8c294018acc663c5d6684935 Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Fri May 22 10:11:22 2015 +0200 wined3d: Allow specifying a different depth stencil location. This is for drivers that do not support depth stencil textures, but happily support depth stencil renderbuffers. Rendering issues occur in GTA: San Andreas as well with that commit (noticeable when the player enters a Pizza Hut: floor textures are broken when AA enabled). Fedora 21 Nvidia GeForce 250 GTS / binary drivers 340.76 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 --- Comment #1 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 51582 --> https://bugs.winehq.org/attachment.cgi?id=51582 screenshot (normal water quality, anti-aliasing enabled) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 --- Comment #2 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 51583 --> https://bugs.winehq.org/attachment.cgi?id=51583 saved game created with the demo version You can use this saved game with the demo version to reproduce the problem easily. Place the file 'Greenwort.sav' in ~/Documents/My Games/Kings Bounty Demo/$save. Load the saved game from the main menu. While in-game press <esc> to open the menu, you can toggle AA, water quality etc. in the options menu. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 --- Comment #3 from Stefan Dösinger <stefan(a)codeweavers.com> --- I suspect that the game mixes multisampled color buffers with regular depth buffers, or vice versa. I suspect the correct thing to behave as if no depth buffer is attached. Prior to 90d88968 we used an uninitialized depth buffer with the correct properties, so GL rendered something. Now we set up an incorrect FBO and GL refuses to do anything. I ran into this with one of our tests but decided not to fix it until we have a game that needs this. Looks like we have two already. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|King's Bounty series: water |Multiple games have |rendering broken when |rendering issues when |anti-aliasing enabled |anti-aliasing enabled | |(King's Bounty series, GTA: | |San Andreas, Tomb Raider: | |Anniversary) --- Comment #4 from Béla Gyebrószki <gyebro69(a)gmail.com> --- The list can be improved with these titles: Tomb Raider: Anniversary (character shadows broken or simply missing). Demo version available: http://www.tombraiderchronicles.com/tombraideranniversary/demo.html Freight Tycoon Inc. (ground textures missing) A Farewell to Dragons, Dawn of Magic 2 (minimap broken) I can only test with my ageing GeForce 250 card, I wonder if the problem is reproducible on ATi/Intel hardware too. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 --- Comment #5 from Stefan Dösinger <stefan(a)codeweavers.com> --- I'm working on a test and fix for this. I should have it ready in a few days. There are quite a few cases to check (clears, draws, NULL color targets, ...) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4e53faf77b34387f6e59946f71e | |57365f3f97e79 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Fixed in wine-1.7.44-199-g714abcb. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38654 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.45. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org