https://bugs.winehq.org/show_bug.cgi?id=47586
Bug ID: 47586 Summary: The Sims 1 visually freezes after alt-tabbing when in fullscreen mode Product: Wine Version: 4.12.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com Distribution: ---
Created attachment 64992 --> https://bugs.winehq.org/attachment.cgi?id=64992 +d3d,+ddraw,+event,+x11drv,+x11settings,+win
The game itself does not lock up, as I can still hear the music and click on things. Does not happen with third-party D3D1-7 reimplementation (dgvoodoo2). Attaching +d3d,+ddraw,+event,+x11drv,+x11settings,+win log.
https://bugs.winehq.org/show_bug.cgi?id=47586
--- Comment #1 from Alexandr Oleynikov sashok.olen@gmail.com --- Should be mentioned that the game relies on " Create-rendering-targets-in-video-memory" patchset from staging https://github.com/wine-staging/wine-staging/blob/master/patches/ddraw-Rende... The issue sounds a lot like the game fails to recreate the render target after losing it because of alt-tabbing (old pre-Vista D3D does that I think?)
https://bugs.winehq.org/show_bug.cgi?id=47586
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #2 from Paul Gofman gofmanp@gmail.com --- Created attachment 64998 --> https://bugs.winehq.org/attachment.cgi?id=64998 ddraw: Restore attached surfaces when restoring surface.
It looks like the problem (at least one of) is that ddraw is not restoring the attached surfaces when main surface is restored (with IDirectDrawSurface<X>_Restore). The attached patch should be fixing it.
The patch does not interfere with any Staging patches and is applicable on top both of development and staging versions.
https://bugs.winehq.org/show_bug.cgi?id=47586
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=47586
--- Comment #3 from Alexandr Oleynikov sashok.olen@gmail.com --- That fixes it. Thanks a lot!
https://bugs.winehq.org/show_bug.cgi?id=47586
--- Comment #4 from Paul Gofman gofmanp@gmail.com --- Should be fixed by 5c9a7b0986db30c9565af519e6cbdef157524315.
https://bugs.winehq.org/show_bug.cgi?id=47586
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5c9a7b0986db30c9565af519e6c | |bdef157524315 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Paul Gofman from comment #4)
Should be fixed by 5c9a7b0986db30c9565af519e6cbdef157524315.
Marking FIXED, thanks Paul!
https://bugs.winehq.org/show_bug.cgi?id=47586
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.14.
https://bugs.winehq.org/show_bug.cgi?id=47586
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47586
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #7 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.