http://bugs.winehq.org/show_bug.cgi?id=19715
Summary: SWAT 4 Freezes, loses mouse focus, crashes. Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: webmaster@geekstreak.com
Created an attachment (id=23035) --> (http://bugs.winehq.org/attachment.cgi?id=23035) Wine Console output.
While playing SWAT 4, in various sections the game will temporarily freeze with a Critical Section wait timeout. After several seconds the game will unfreeze but loses all mouse input (and sometimes loses keyboard input). The mouse will be able to leave the screen, even if it's warped.
Attached is the wine terminal output.
Reproducing this problem:
In the first level - "Food Wall Restaurant" - you can walk into the front door of the restaurant. After you and your men are inside the dining area, the game should freeze. Sometimes nobody is in the dining area. Simply restarting the level should fix this, as the game randomizes the positions of enemies and civilians.
Note 1:
The game is unplayable due to the well known mouse capture problem that requires an xorg API fix. To get around this problem, a simple mouse hack was written using the middle click to switch between warped and non-warped mouse modes. Without this, menu navigation is impossible, or looking around in the game is impossible.
I can confirm that this minor hack does not affect this bug - a version of wine without the hack was used to confirm the loss of mouse input.
Note 2:
dlls/ntdll/critsection.c, line 436, wait_semaphore - changing the 5 second delay to 300 seconds temporarily alleviates the problem, allowing the player to usually get through several levels; however, other problems occur that may or may not be related to this bug (freezes at random intervals, textures load as garbage in random levels, the error message is slightly different, etc...)
http://bugs.winehq.org/show_bug.cgi?id=19715
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-12 23:37:18 ---
fixme:dinput:dinput_mouse_hook Warp off fixme:dinput:dinput_mouse_hook Warp on.
What's this? It's not part of Wine's code. Remove all hacks when reporting bugs.
http://bugs.winehq.org/show_bug.cgi?id=19715
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-13 04:23:22 --- Wine version? Where you've got it from?
http://bugs.winehq.org/show_bug.cgi?id=19715
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.27
http://bugs.winehq.org/show_bug.cgi?id=19715
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #3 from Austin English austinenglish@gmail.com 2011-10-01 14:32:59 CDT --- 1 year, no response, no download => abandoned.
http://bugs.winehq.org/show_bug.cgi?id=19715
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2011-10-04 15:25:51 CDT --- Closing.