http://bugs.winehq.org/show_bug.cgi?id=21901
Summary: Sonic Riders launcher hangs when trying to remap control keys Product: Wine Version: 1.1.39 Platform: x86 URL: http://files.filefront.com/Sonic+Riders+Demo/;6040611; /fileinfo.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: Huk@wine.x.pl
Created an attachment (id=26551) --> (http://bugs.winehq.org/attachment.cgi?id=26551) Debug log created with: WINEDEBUG=+dinput,+dinput8
If we try to change default key mapping in launcher of "Sonic Riders", it will hang - there are no debug messages in terminal, probably because wine is still running, only launcher is in the state of infinite loop (or something similar because it eats 50% of dual core CPU). I think this bug is related to:
trace:dinput:IDirectInputDevice2AImpl_GetDeviceData (0x13a2d0) 0x33c65c -> 0x33c5b0(8) x20, 0x00000000
there are many such calls at the end of debug.log (see attachment).
This bug also affects the demo which can be downloaded from the url above.
http://bugs.winehq.org/show_bug.cgi?id=21901
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #1 from James Huk Huk@wine.x.pl 2010-03-01 15:03:10 --- OK, this is definitely related to dinput8 - after installing native dinput8 with winetricks launcher doesn't hang anymore, and we can change keyboard keys, unfortunately gamepad is not detected with native dinput8 so this doesn't fix the problem completely, at least we know where to search :)
http://bugs.winehq.org/show_bug.cgi?id=21901
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26551|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-02 08:54:22 --- Of course it's not getting anything - it never calls Acquire according to your log.
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #3 from James Huk Huk@wine.x.pl 2010-03-07 02:23:11 --- Confirming in wine-1.1.40
@Vitaliy Margolen:
Are you saying this is game related? Well, probably is, since most games works, however, since using native dinput8.dll allows as to remap keys, this is a wine bug as well...
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-07 02:45:44 --- (In reply to comment #3)
Are you saying this is game related?
Well yeah, since it works with native dinput8.dll No idea from looking at the logs what it doesn't like in Wine's dinput.
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #5 from James Huk Huk@wine.x.pl 2010-06-19 16:43:25 --- Created an attachment (id=28985) --> (http://bugs.winehq.org/attachment.cgi?id=28985) Hack that allows us to remap default control keys in SonicRiders
http://bugs.winehq.org/show_bug.cgi?id=21901
James Huk Huk@wine.x.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.39 |1.2-rc4
--- Comment #6 from James Huk Huk@wine.x.pl 2010-06-19 16:45:16 --- Well it still doesn't work with wine-1.2-rc4. However I managed to find out where the problem is and "hack it". With the patch I uploaded it works - of course this is verrry ugly hack that will break other apps, but at least, for this game it works, and it points out where the problem is - hopefully someone will fix it now :)
http://bugs.winehq.org/show_bug.cgi?id=21901
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.2-rc4 |1.1.39
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2010-06-19 17:01:42 --- Please don't change reported version.
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #8 from James Huk Huk@wine.x.pl 2010-06-19 17:06:33 --- Sorry, I thought that since it doesn't work with newer wine I should change it. Also sorry for the double posting earlier.
http://bugs.winehq.org/show_bug.cgi?id=21901
--- Comment #9 from GyB gyebro69@gmail.com 2011-11-01 05:20:05 CDT --- Created attachment 37233 --> http://bugs.winehq.org/attachment.cgi?id=37233 a typical backtrace when the launcher hangs
This is still a valid problem as of wine-1.3.31-213-g996b451: the launcher hangs when I'm trying to change the controls. Native dinput8.dll acts as a workaround.
I found out that changing the controls was possible in Wine-0.9.38, and the problem persists since
f83b53c160fe194d48c5126b7e6ff1a4256f63c9 is the first bad commit commit f83b53c160fe194d48c5126b7e6ff1a4256f63c9 Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Sun Jun 3 09:09:35 2007 -0600
dinput: Acquire device only if specified window has focus in foreground coop level.
:040000 040000 567e93cb4a88379d2e4d939e627808c1ca9c391e ae72a55184f74865251193f248b53c8b7404073e M dlls
Fedora 15 x86 X.Org X Server 1.10.4
http://bugs.winehq.org/show_bug.cgi?id=21901
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW CC| |gyebro69@gmail.com, | |vitaliy-bugzilla@kievinfo.c | |om Ever Confirmed|0 |1 Regression SHA1| |f83b53c160fe194d48c5126b7e6 | |ff1a4256f63c9
--- Comment #10 from GyB gyebro69@gmail.com 2011-11-01 05:22:12 CDT --- Confirming and emailing Vitaliy.
http://bugs.winehq.org/show_bug.cgi?id=21901
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8c5a4401449efc52f7309f7b8f4 | |5182138b4e13c Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from GyB gyebro69@gmail.com 2011-11-02 14:45:01 CDT --- Fixed in wine-1.3.31-293-gb4987d0 by http://source.winehq.org/git/wine.git/commit/8c5a4401449efc52f7309f7b8f45182...
http://bugs.winehq.org/show_bug.cgi?id=21901
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-11-04 14:15:46 CDT --- Closing bugs fixed in 1.3.32.