http://bugs.winehq.org/show_bug.cgi?id=19890
Summary: Commit 0932f4a1137974f4326fbba8b2d68d8e9b2aed70 crashes game if joystick connected. Product: Wine Version: 1.1.28 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: janhouse@gmail.com
Created an attachment (id=23339) --> (http://bugs.winehq.org/attachment.cgi?id=23339) Winedbg log file
I did regression test (from 1.1.28 to 1.1.27) and found out that
"commit 0932f4a1137974f4326fbba8b2d68d8e9b2aed70 Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Sat Aug 15 11:59:05 2009 -0600 dinput: Get default axes configuration from the device for joydev."
crashes Trine game if joystick is plugged in USB at the time of launching game.
I added output from winedbg as attachment.
http://bugs.winehq.org/show_bug.cgi?id=19890
Janhouse janhouse@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vitaliy@kievinfo.com
http://bugs.winehq.org/show_bug.cgi?id=19890
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Commit |Trine crashes game if |0932f4a1137974f4326fbba8b2d |joystick connected. |68d8e9b2aed70 crashes game | |if joystick connected. |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-30 11:48:11 --- Will take a look.
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-30 13:29:34 --- Demo doesn't crash here. Can you check if problem is present with demo? What joystick do you have? Attach output of +dinput.
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #3 from Janhouse janhouse@gmail.com 2009-08-30 13:46:14 --- (In reply to comment #2)
Demo doesn't crash here. Can you check if problem is present with demo? What joystick do you have? Attach output of +dinput.
I have 0e8f:0002 GreenAsia Inc. joystick (gamepad looks like playstation controler).
And even on wine 1.1.27 I have problems with it. I can start the game but it is not calibrated. In game left button does shooting, right button - alternative shooting, most buttons doesn't work at all and when I try to reconfigure the controler I can't because it seems it thinks that down button is pressed all the time.
jscal (calibration software) thinks I have 6 axis but actually there are only two and the rest are normal buttons (counted 10 (+1 "slow" button that automatically presses and releases start button)). After calibrating I can use it for linux games (I tested with nes emulator and seems like it recognized buttons pressed when monitoring "cat /dev/input/js0" output.) (Arethusa from IRC channel suggested me to write new bug report about this "buttons not calibrated in wine" problem.)
I am downloading demo. I will post as soon as I test it.
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #4 from Janhouse janhouse@gmail.com 2009-08-30 14:25:58 --- Created an attachment (id=23341) --> (http://bugs.winehq.org/attachment.cgi?id=23341) +dinput
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #5 from Janhouse janhouse@gmail.com 2009-08-30 14:28:30 --- I added +dinput output: http://bugs.winehq.org/attachment.cgi?id=23341 It crashed with Demo too.
http://bugs.winehq.org/show_bug.cgi?id=19890
Janhouse janhouse@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janhouse@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=19890
Javier Kohen jkohen@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jkohen@users.sourceforge.ne | |t
--- Comment #6 from Javier Kohen jkohen@users.sourceforge.net 2009-09-02 13:45:41 --- It also crashes here with AudioSurf and Indigo Prophecy (AKA Fahrenheit).
The funny thing is that I don't have a joystick, instead udev detects my Microsoft wireless mouse/keyboard (045e:071d) as having a joystick, too.
Removing /dev/input/js0 solves the problem for me, but only because I don't have a joystick I want to use. I suppose joystick users will not be happy with my workaround.
http://bugs.winehq.org/show_bug.cgi?id=19890
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2009-09-05 12:38:27 --- *** Bug 19945 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=19890
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2009-09-07 13:22:25 --- Confirming per comment #6. Patches sent: http://www.winehq.org/pipermail/wine-patches/2009-September/078209.html http://www.winehq.org/pipermail/wine-patches/2009-September/078210.html
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #9 from Andrew Nguyen arethusa26@gmail.com 2009-09-08 17:47:50 --- The patches have been committed, so this should be fixed in Git now.
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #10 from Janhouse janhouse@gmail.com 2009-09-09 12:42:54 --- Ok, The game doesn't crush and it seems that I can set the buttons correctly but the X and Y axes are in wrong order. It thinks that Up is right, down is left, right is up and left is down.
Oh wait. First time after compiling from git today I ran Trine and it worked. I could set keys and down key wasn't pressed all the time. I colsed the game and after launching it second time if started old behaviour. I can't use my controller annymore because wine thinks that down key is pressed all the time. I guess it is not completely fixed. Any ideas? I will give you any log you need just tell me.
http://bugs.winehq.org/show_bug.cgi?id=19890
--- Comment #11 from Andrew Nguyen arethusa26@gmail.com 2009-09-09 14:39:29 --- I think this bug should be resolved fixed, and a new bug opened for the joystick input inversion issue.
http://bugs.winehq.org/show_bug.cgi?id=19890
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2009-09-09 15:57:00 --- (In reply to comment #11)
I think this bug should be resolved fixed, and a new bug opened for the joystick input inversion issue.
Agreed.
http://bugs.winehq.org/show_bug.cgi?id=19890
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2009-09-19 12:37:28 --- *** Bug 20091 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=19890
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2009-09-25 12:26:00 --- Closing bugs fixed in 1.1.30.