[Bug 46531] New: Regression in Spellforce 2: textures flickering to darker /lighter ones

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 27 05:21:52 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46531

            Bug ID: 46531
           Summary: Regression in Spellforce 2: textures flickering to
                    darker/lighter ones
           Product: Wine
           Version: 4.0
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: idarktemplar at mail.ru
      Distribution: ---

Created attachment 63385
  --> https://bugs.winehq.org/attachment.cgi?id=63385
screenshots-collage.jpeg

When playing first mission of Spellforce 2 Shadow Wars, I've noticed screen
flickering. On further inspection I noticed that when you move screen to
different locations on map using mouse at screen border or arrow keys,
sometimes objects on screen go darker, sometimes they go back to original
colours or something close to them, and on some other locations it switches
between dark and usual colours few times a second. This colour switching during
move of screen camera looks like some annoying screen flickering. Effect is
especially noticeable if there are a lot of trees on screen.

Due to bug #34323 I was using a prefix with directx9, directplay and
d3dcompiler_43 installed via winetricks.

I've tried a clean prefix with wine 3.0.3 with and without winetricks stuff,
and it worked fine. After that I've switched to wine 4.0, and both with and
without winetricks stuff issue appears.

After that I've tried bisecting and testing using prefix with winetricks stuff,
and I've found first commit which causes issue to me. I wasn't able to revert
it for wine 4.0 and test without that change.

3d6eb8cf1dc1e509a74f85fd2356c6946372ecc5 is the first bad commit
commit 3d6eb8cf1dc1e509a74f85fd2356c6946372ecc5
Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Feb 13 01:00:42 2018 +0100

    d3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9.

    Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
    Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

:040000 040000 85b2524db3e32e37bf00a4cc87c0c1b63b68a6be
0fc10fb629b23703e3aa087b45b3b3960e6b5956 M      dlls

Screenshots collage is in attachment. It contains two locations from first map
of campaign, taken with wine 3.0.3, wine 4.0 and wine 4.0 at a bit different
location (causing objects to be coloured darker). It demonstrates difference
between usual screen and darker screen, and when camera is moving the change
between two of them causes effect similar to flickering.

OS: Gentoo Linux x86_64 (amd64)

-- 
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