http://bugs.winehq.org/show_bug.cgi?id=29760
Bug #: 29760 Summary: Sonic R complains about a lost surface when starting in Direct3D mode Product: Wine Version: 1.4-rc1 Platform: x86-64 URL: http://www2.sega.co.jp/download/pc/sonicr/sonicr.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: matteo.mystral@gmail.com Classification: Unclassified Regression SHA1: c6c5c6905e87fefffd00c7d8e68df22879aefe55
Created attachment 38641 --> http://bugs.winehq.org/attachment.cgi?id=38641 Terminal output
When starting in Direct3D mode, Sonic R produces a dialog saying "Lost Surface - CheckForLostSurfaces." After dismissing it, the game proceeds as expected. This dialog didn't appear before 1.3.37, and regression testing indicated:
c6c5c6905e87fefffd00c7d8e68df22879aefe55 is the first bad commit commit c6c5c6905e87fefffd00c7d8e68df22879aefe55 Author: Matteo Bruni mbruni@codeweavers.com Date: Thu Jan 12 17:05:20 2012 +0100
wined3d: Handle discarded depth-stencil surfaces with SFLAG_LOST.
SFLAG_INSYSMEM is already set by surface_add_dirty_rect() for all surfaces anyway.
:040000 040000 815f65687dd4087eff7d50a28d1c66a52d27d678 63e99bac135bbc061d4f783f664303fd658a124d M dlls
git checkout c6c5c6905e87fefffd00c7d8e68df22879aefe55 shows the dialog git checkout c6c5c6905e87fefffd00c7d8e68df22879aefe55^ does not
This also occurs in the demo, but it will probably crash on start unless you do something to slow CPU processing down (game bug).