Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-18547

[DDRAW] White screen when running Street Fighter Alpha due to the missing swap interval on surface flipping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 0.4.15
    • Wine

    Description

      ReactOS 0.4.15-x86-dev (Build 20221020-0.4.15-dev-5224-g4572aad) (Commit 4572aad16a7397e938dea7f094a2c2b662b8ef48)
       
      Reproduction step:
      1. Install WineVDM (required as the setup.exe is Win16 but the game itself is Win32 DX3)
      2. Deflag Indeo installation and DirectX 3 installation on the installation options
      3. Finish installation
      4. Run the game by its shortcut
       
      The screen is white rendered, but the game is running as it's accepting input command and sound is heard.
       
      The relevant point from the tracelog is:
       
      fixme:(dll/directx/wine/ddraw/surface.c:1344) Ignoring flags 0x1.
       
      This is due to the missing swap interval implementation. Importing the bar minimum part from the wine master makes it to work nicely.
       
      It also benefits Alpha 2 and other 256 paletted DirectX 3 games.

      Attachments

        1. after_patch1.png
          92 kB
          simonelombardo
        2. after_patch2.png
          146 kB
          simonelombardo
        3. after_patch3.png
          127 kB
          simonelombardo
        4. before_patch.png
          42 kB
          simonelombardo
        5. ReactOS.log
          99 kB
          simonelombardo
        6. swap_interval_patch_BotCompatible2.patch
          9 kB
          reactosfanboy
        7. swap_interval_patch1.patch
          19 kB
          simonelombardo

        Issue Links

          Activity

            People

              The_DarkFire The_DarkFire
              simonelombardo simonelombardo
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: