[Bug 41623] New: Odallus The Dark call crashes when starting when an Xbox 360 controller is plugged in
https://bugs.winehq.org/show_bug.cgi?id=41623 Bug ID: 41623 Summary: Odallus The Dark call crashes when starting when an Xbox 360 controller is plugged in Product: Wine Version: 1.9.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: fjfrackiewicz(a)gmail.com Distribution: --- Created attachment 55980 --> https://bugs.winehq.org/attachment.cgi?id=55980 Terminal output Wine 1.9.22 I am using the GOG.com version of Odallus the Dark Call (Unity game) in a clean 32-bit Windows XP prefix and when I try starting the game it crashes after the initial loading screen if I have my wired XBOX 360 controller plugged in. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #1 from fjfrackiewicz(a)gmail.com --- Created attachment 55981 --> https://bugs.winehq.org/attachment.cgi?id=55981 Backtrace Wine 1.9.22 Backtrace of the crash... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #2 from fjfrackiewicz(a)gmail.com --- Created attachment 55982 --> https://bugs.winehq.org/attachment.cgi?id=55982 Game controller panel If I disable the "Microsoft X-box 360 pad (event)" in the Game Controllers menu from the Control Panel in Wine, the game works normally and I can play it with my Xbox 360 controller just fine. The only reason I mention this is because on Windows a user would simply start the game without needing to disable anything. Please let me know if you need any further info. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 fjfrackiewicz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Odallus The Dark call |Odallus The Dark call |crashes when starting when |crashes while starting when |an Xbox 360 controller is |an Xbox 360 controller is |plugged in |plugged in -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> --- Please attach a +dinput log. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #4 from fjfrackiewicz(a)gmail.com --- Created attachment 55985 --> https://bugs.winehq.org/attachment.cgi?id=55985 WINEDEBUG=+dinput log One +dinput log attached as requested. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> --- Thanks for the log. There are 2 suspicious things in the log but I could not find the problem so I ended buying the game on humble bundle to test myself. First thing is that the game is failing to acquire the joystick. It is using a HWND that is not the foreground window (requested DISCL_FOREGROUND). Second the game is releasing all instances of dinput right after the warning about epileptic seizures. By forcing acquire to work and ignoring instances releasing the game is still crashing so no progress until now... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #6 from fjfrackiewicz(a)gmail.com --- (In reply to Bruno Jesus from comment #5)
Thanks for the log. There are 2 suspicious things in the log but I could not find the problem so I ended buying the game on humble bundle to test myself.
First thing is that the game is failing to acquire the joystick. It is using a HWND that is not the foreground window (requested DISCL_FOREGROUND).
Second the game is releasing all instances of dinput right after the warning about epileptic seizures.
By forcing acquire to work and ignoring instances releasing the game is still crashing so no progress until now...
Care to share what those 2 suspicious things were? In any case, here's hoping the solution isn't too difficult to implement :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware --- Comment #7 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to fjfrackiewicz from comment #6)
Care to share what those 2 suspicious things were?
They are the "first" and "second" lines I added in comment 5. I just tried with a generic 8 button 1 d-pad controller and the game works fine so it seems to be related to complex controllers only. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Odallus The Dark call |Odallus The Dark call |crashes while starting when |crashes while starting if a |an Xbox 360 controller is |force feedback enabled |plugged in |controller is plugged Component|-unknown |directx-dinput --- Comment #8 from Bruno Jesus <00cpxxx(a)gmail.com> --- The problem is related to how some force feedback stuff is handled, I'm trying to isolate the problem. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #9 from fjfrackiewicz(a)gmail.com --- (In reply to Bruno Jesus from comment #8)
The problem is related to how some force feedback stuff is handled, I'm trying to isolate the problem.
Thank you. If you need help with testing, let me know :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #10 from Bruno Jesus <00cpxxx(a)gmail.com> --- Created attachment 56487 --> https://bugs.winehq.org/attachment.cgi?id=56487 patch This is the patch for this bug, I think it will have to wait for 2.0. The game starts and plays fine with the joystick with it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #11 from fjfrackiewicz(a)gmail.com --- (In reply to Bruno Jesus from comment #10)
Created attachment 56487 [details] patch
This is the patch for this bug, I think it will have to wait for 2.0. The game starts and plays fine with the joystick with it.
Thank you Bruno, I will test it ASAP :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 fjfrackiewicz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 fjfrackiewicz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Odallus The Dark call |Odallus The Dark Call |crashes while starting if a |crashes while starting if a |force feedback enabled |force feedback enabled |controller is plugged |controller is plugged in -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #12 from fjfrackiewicz(a)gmail.com --- Hi Bruno, I just tested your patch on Wine 2.0-rc2-15-g21dd04670c and the game launches without a crash and the Xbox 360 (wired) controller works perfectly out of the box :) Here's hoping to see this patch in Wine after the code freeze :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |27f456844b8195dac09bfce0c4c | |c906236462a60 --- Comment #13 from Bruno Jesus <00cpxxx(a)gmail.com> --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=27f456844b8195dac09bfce0c4... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 --- Comment #14 from fjfrackiewicz(a)gmail.com --- (In reply to Bruno Jesus from comment #13)
Fixed by http://source.winehq.org/git/wine.git/?a=commit; h=27f456844b8195dac09bfce0c4cc906236462a60
Thank you! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41623 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #16 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org