[Bug 22478] New: Major performance drop in King's Bounty games with shadows enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 24 04:22:24 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22478

           Summary: Major performance drop in King's Bounty games with
                    shadows enabled
           Product: Wine
           Version: 1.1.43
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: gyebro69 at gmail.com


Since Wine-1.1.43 both King's Bounty: The Legend and the sequel, King's Bounty:
Armored Princess are unplayable when shadows are enabled in the game. Both
games suffer severe performance drops with shadows enabled.
This was not the case prior to 1.1.43: I was able to play both games at
reasonable framerates with 'normal' shadows enabled on my mediocre hardware.
Tested with the Steam version of the games.

Workaround: disable shadows completely in the game. The issue doesn't seem to
affect the gameplay any other way.

Howto test the issue:
Start King's Bounty-Armored Princess, click on 'Options' and set shadow quality
anything beyond 'Neutral'. See the performance drops on the animated background
behind the princess in the menu. The main game itself also becomes unplayable
due to low framerates.

Bisecting between 1.1.42 and 1.1.43 came up with the following commit:

738ca2f5fcf6e9deea42363382dca2ec7626aee0 is the first bad commit
commit 738ca2f5fcf6e9deea42363382dca2ec7626aee0
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Apr 16 12:41:02 2010 +0200

    wined3d: Allow offscreen depth/stencil clears again with FBOs.

    This fixes a regression introduced by
10f58c14bcdeba9f7ea82701b9d9ab8f2bb3414b.

:040000 040000 5e87b8acc9f665d579fe268b44c59e59db1990d8
0ce8660d89f207fd0281b0e2ed259eb4851a937d M    dlls

Reverting that patch was successful, the game runs at normal framerates now,
but whole textures are missing in the game now (after the reverted patch).

I couldn't add the author of the patch to CC.

Fedora 12 x86
Wine-1.1.43
Nvidia 7600 GT with driver 195.36.15

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list