http://bugs.winehq.org/show_bug.cgi?id=12052
Summary: Flatout 2, dinput_test: crashes if joystick axis mapping is enabled, different joystick sensitivity Product: Wine Version: 0.9.56. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: ErV2005@rambler.ru
because Wine currently maps joystick hat as axes (which makes playing IL2 really difficult), I've been trying to use axis mapping. However, some applications crash on startup if axis mapping is enabled, AND "POV" is mentioned somewhere.
I'm using Thrustmaster USB (2960623) joystick. for jstest device information see jstest_info.txt.
Under wine device feels different: joystick seems to have different sensitivity and small unexpected deadzone (which doesn't exist on windows).
Without axis mapping joystick seems to work mostly fine, but joystick hat is being mapped as axes, not as Point-of-view control. dinput_test works normally and reports 2 failrues (see dinput_test_normal.txt for log).
When I try to use following axis mapping (to make hat work in IL2): "X,Y,Z,POV1,Rz", dinput_test crashes on second test and hangs while printing backtrace. see dinput_test_crash.txt. For dinput and trace debug data see dinput_test_trace.txt (Aquired using "WINEDEBUG+=trace,dinput wine dinput_test.exe.so joystick")
With this mapping Flatout 2 crashes after intro movies. see flatout_2_crash.txt
With this mapping IL2 works fine, but doesn't recognize hat controls anyway.
With another mapping: "X,Y,Z,POV1" dinput_test crashes in the same way. see dinput_test_crash2.txt for details. It looks like crashes occur only when POV1 is included in axis mapping.
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #1 from Victor ErV2005@rambler.ru 2008-03-15 15:36:52 --- Created an attachment (id=11412) --> (http://bugs.winehq.org/attachment.cgi?id=11412) normal dinput_test output
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #2 from Victor ErV2005@rambler.ru 2008-03-15 15:37:17 --- Created an attachment (id=11413) --> (http://bugs.winehq.org/attachment.cgi?id=11413) dinput_test crash log
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #3 from Victor ErV2005@rambler.ru 2008-03-15 15:38:12 --- Created an attachment (id=11414) --> (http://bugs.winehq.org/attachment.cgi?id=11414) dinput_test crash log with WINEDEBUG+=trace,dinput
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #4 from Victor ErV2005@rambler.ru 2008-03-15 15:38:32 --- Created an attachment (id=11415) --> (http://bugs.winehq.org/attachment.cgi?id=11415) Flatout 2 crash log
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #5 from Victor ErV2005@rambler.ru 2008-03-15 15:38:52 --- Created an attachment (id=11416) --> (http://bugs.winehq.org/attachment.cgi?id=11416) jstest device info
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #6 from Victor ErV2005@rambler.ru 2008-03-15 15:40:25 --- Created an attachment (id=11417) --> (http://bugs.winehq.org/attachment.cgi?id=11417) dinput_test second mapping ("X,Y,Z,POV1") crash log.
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #7 from Victor ErV2005@rambler.ru 2008-03-15 15:49:17 --- system information: Slackware 12 Linux, wine-0.9.57 (built from sources). This bug exists in 0.9.56 as well.
http://bugs.winehq.org/show_bug.cgi?id=12052
Victor ErV2005@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2008-04-19 10:01:23 --- Is this still a problem with wine-0.9.60? If so, attach backtrace running test and backtrace with WINEDEBUG=+dinput
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #9 from Victor ErV2005@rambler.ru 2008-04-20 13:12:05 --- (In reply to comment #8)
Is this still a problem with wine-0.9.60? If so, attach backtrace running test and backtrace with WINEDEBUG=+dinput
In wine 0.9.60: 1) Flatout 2 doesn't seem to crash anymore. 2) Test works fine, but _only_ if second input device is attached (USB Racing wheel in my case). If there is only one joystick, test crashes, if Axis mapping is enabled. Backtrace attached. 3) IL2 still ignores axis mapping and doesn't see joystick hat.
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #10 from Victor ErV2005@rambler.ru 2008-04-20 13:14:27 --- Created an attachment (id=12348) --> (http://bugs.winehq.org/attachment.cgi?id=12348) Backtrace of dinput_test crash in wine-0.9.60.
dinput_test was launched with "joystick" argument
http://bugs.winehq.org/show_bug.cgi?id=12052
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-02 19:53:11 --- Looks like duplicate of bug 11644. Can you test with wine-0.9.61?
http://bugs.winehq.org/show_bug.cgi?id=12052
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-07 22:01:23 --- Fixed in current GIT.
http://bugs.winehq.org/show_bug.cgi?id=12052
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2008-05-09 12:54:54 --- Closing bugs fixed in 1.0-rc1.