http://bugs.winehq.org/show_bug.cgi?id=25606
Summary: Clones: stuck after launching a single-player game Product: Wine Version: 1.3.10 Platform: x86 URL: http://clonesgame.com/sites/clonesgame.com/modules/pub dlcnt/pubdlcnt.php?file=http://clones.s3.amazonaws.com /ClonesGameDemo_1.26.exe&nid=220 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: m.b.lankhorst@gmail.com
Created an attachment (id=32605) --> (http://bugs.winehq.org/attachment.cgi?id=32605) terminal output
'Clones' is a nice Lemmings clone. After choosing to play the game in single-player mode, the game is stuck on the level selection screen: clicking on anything on the screen does nothing. The keyboard is still working and pressing 'q' brings up a window where I can choose to quit the game (by using the mouse).
Interestingly the bug only appears when selecting single-player mode: no such problem when entering the multiplayer menu of the game.
The game works without the issue in Wine-1.3.6 and here's the result of the regression test:
4f8584ac2734ca6e649661824051d39f0320e95b is the first bad commit commit 4f8584ac2734ca6e649661824051d39f0320e95b Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Fri Nov 5 23:19:08 2010 +0100
quartz: Remove position from filtergraph.
:040000 040000 73d1320970dc8a77801a8af58980f86cc8fcf2c4 14c927fc3163ea4ced44721879e66eec42af4739 M dlls
The patch can be reverted cleanly on top of Wine-1.3.10 and that fixed the issue.
How to reproduce the problem in the demo: 1. After installation launch the game by ../Bin/ClonesGame.exe 2. Create a new profile then choose the first option in the main menu, named 'Pilgrimage'. 3. A level selection screen is shown but you can't proceed further because the game is stuck.
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #1 from GyB gyebro69@gmail.com 2010-12-24 14:19:54 CST --- Created an attachment (id=32606) --> (http://bugs.winehq.org/attachment.cgi?id=32606) +quartz,+tid log
http://bugs.winehq.org/show_bug.cgi?id=25606
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=25606
Tom Kaminski ttkaminski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ttkaminski@gmail.com
--- Comment #2 from Tom Kaminski ttkaminski@gmail.com 2011-01-28 14:21:36 CST --- I am the developer of Clones and I looked into this problem. The function that I have:
LONGLONG VideoTexturePlayer::GetCurrentPosition() { LONGLONG cur = 0; HRESULT rr = pMediaSeeking->GetCurrentPosition(&cur); // IMediaSeeking interface return cur; }
Always returns zero, in the latest version of wine, but it works correctly in wine 1.2 and earlier. This is consistent with the previous poster narrowing down the problem to the specific patch "quartz: Remove position from filtergraph."
Because the function returns 0, the end of the video is never detected, and so it hangs and the player can't continue. Hopefully the patch is reverted or fixed soon.
http://bugs.winehq.org/show_bug.cgi?id=25606
Rex Tsai chihchun@kalug.linux.org.tw changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chihchun@kalug.linux.org.tw
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #3 from Tom Kaminski ttkaminski@gmail.com 2011-05-13 08:33:15 CDT --- Did some more debugging on this issue. Turns out that Ogg Theora decoder filter that is being used in the game does not support the IMediaSeeking interface and I am assuming for this reason the IMediaSeeking interface as returned by the Wine's implementation of the GraphBuilder returns 0 for the GetCurrentPosition() function. This is not the same behaviour as in Windows as a valid position is returned by that function.
In any case, I modified Clones code to avoid this problem altogether (I was able to extract the current position using an alternate method) and is now available in the 1.30 patch.
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #4 from GyB gyebro69@gmail.com 2011-05-13 11:40:39 CDT --- I can confirm, the 1.30 version of the game works correctly in wine-1.3.19-365-g041a651: the game no longer freezes in single-player mode. Thank you, Tom, for making Clones more Wine-friendly.
http://bugs.winehq.org/show_bug.cgi?id=25606
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |4f8584ac2734ca6e64966182405 | |1d39f0320e95b
http://bugs.winehq.org/show_bug.cgi?id=25606
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #5 from Aric Stewart aric@codeweavers.com 2012-01-31 07:32:26 CST --- Could you retest this in 1.4 and get me a +quartz,+gstreamer,+strmbase,+tid log?
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #6 from GyB gyebro69@gmail.com 2012-01-31 09:14:29 CST --- Created attachment 38623 --> http://bugs.winehq.org/attachment.cgi?id=38623 +tid,+strmbase,+quartz,+gstreamer log
This is still a valid problem as of wine-1.4-rc1-34-g01947e0 affecting only certain older game versions (where Clones version<1.30).
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #7 from Aric Stewart aric@codeweavers.com 2012-01-31 10:17:14 CST --- Created attachment 38626 --> http://bugs.winehq.org/attachment.cgi?id=38626 Test fix
It is not working very well on my mac here, probably for unrelated reasons, could you try the attached patch?
-aric
http://bugs.winehq.org/show_bug.cgi?id=25606
--- Comment #8 from GyB gyebro69@gmail.com 2012-01-31 10:50:32 CST --- (In reply to comment #7)
It is not working very well on my mac here, probably for unrelated reasons, could you try the attached patch?
-aric
The patch resolved the issue here.
http://bugs.winehq.org/show_bug.cgi?id=25606
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |53bd62737c3f1ad1237a8c47d13 | |19c64abc7a7b0 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from GyB gyebro69@gmail.com 2012-02-01 11:55:04 CST --- Fixed by http://source.winehq.org/git/wine.git/commit/53bd62737c3f1ad1237a8c47d1319c6...
Thank you for fixing this.
http://bugs.winehq.org/show_bug.cgi?id=25606
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-02-02 13:37:48 CST --- Closing bugs fixed in 1.4-rc2.