http://bugs.winehq.org/show_bug.cgi?id=28625
Bug #: 28625 Summary: Sanitarium: intermittent freezing while moving the mouse Product: Wine Version: 1.3.28 Platform: x86 URL: http://www.fileplanet.com/11199/10000/fileinfo/Sanitar ium OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb
Created attachment 36785 --> http://bugs.winehq.org/attachment.cgi?id=36785 terminal output
Sanitarium is an adventure game, originally released in 1998. It was later re-released with Win XP compatibility. The problem is reproducible in both the original demo and the newer GoG.com release.
The problem: as you move your character by the mouse, the movement of the character as well as background animations are hanging frequently (until you release the mouse).
With the now default OpenGL DirectDraw renderer the problem is reproducible out-of-the-box:
94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb is the first bad commit commit 94ae743ea668e49d40ae4e2dc5fe1f5d9be018cb Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Aug 30 20:12:31 2011 +0200
ddraw: Make the OpenGL renderer the default one.
:040000 040000 fbce2dc172258a4a7eabc65b6f86bd58522b4667 dfb3b24196ac3ad09100758a48b2d4ef7e45e26b M dlls
Changing ddr to gdi *does not* resolve the problem (as of wine-1.3.29-274-gc9a8d3b). I think this commit only made the issue visible, the real problem is somewhere else.
This might be a dupe of bug #28377: + regression testing resulted the same commit; reverting to gdi doesn't help. + the issue is somehow related to the mouse pointer on the screen. Not specially to mouse movement but the visibility of the mouse pointer as well. E.g. when your character is climbing up/down the stairs the mouse pointer is invisible by design. The problem cannot be triggered during that time period, even if you move your mouse like mad. - I can't reproduce the problem in Heroes of Might & Magic III (reported in bug #28377).
Steps to reproduce the problem in Sanitarium demo: 1. Install...launch by SNTRM.EXE (you can safely ignore the warning message about the incompatibility with Windows NT platforms). 2. You can control your character by pressing and holding the right mouse button, and moving the mouse to the desired direction (needs a little practice). 3. As you move your character, you can observe that his movement comes to a halt from time to time (until you release the mouse). 4. Another occurrence of the problem (background animations): move your character up the stairs, to the statuette. Below the statuette there is a waterfall. Without pressing any mouse buttons, move the mouse pointer across the screen -> the animation of the water is hanging until you stop moving the mouse.
wine-1.3.29-274-gc9a8d3b Fedora 15 x86 Nvidia 250 / driver 280.13 X.Org X Server 1.10.4
http://bugs.winehq.org/show_bug.cgi?id=28625
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=28625
--- Comment #1 from GyB gyebro69@gmail.com 2011-10-09 01:33:56 CDT --- As to why setting ddr to gdi doesn't help in recent Wine this commit is responsible for: http://source.winehq.org/git/wine.git/commit/0f9dfb932e51efa844283d28d7aa9be...
Up to that commit ddr=gdi worked around the problem.
http://bugs.winehq.org/show_bug.cgi?id=28625
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ca43c49968553b3db7d7ef63966 | |b76fcbf9c8a1b Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from GyB gyebro69@gmail.com 2011-10-20 12:38:35 CDT --- This problem has been resolved in Sanitarium, thanks to this commit: http://source.winehq.org/git/wine.git/commit/ca43c49968553b3db7d7ef63966b76f...
The very same commit fixes a similar problem in Heroes of Might & Magic IV: using the now default OpenGL renderer, gameplay (animations, scrolling the map, mouse movement) was much slower than with gdi. Now that problem is also gone.
http://bugs.winehq.org/show_bug.cgi?id=28625
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-10-21 13:49:59 CDT --- Closing bugs fixed in 1.3.31.
http://bugs.winehq.org/show_bug.cgi?id=28625
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d