http://bugs.winehq.org/show_bug.cgi?id=33460
Bug #: 33460 Summary: Mouse gets suck and won't allow rotation in Fable 3 Product: Wine Version: 1.5.25 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: inuyasha@usa.com Classification: Unclassified
The mouse gets stuck when on the edges of the screen when trying to look around.
In the log I see warn:cursor:grab_clipping_window XInput2 not supported, refusing to clip to (0,0)-(1280,1024)
I have tried a rawinput patched wine with the same results.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #1 from Christopher Cope inuyasha@usa.com 2013-04-25 21:11:02 CDT --- Log: http://www.mediafire.com/?8krcmpz2gc21mv5
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-04-25 21:13:32 CDT --- Reminds me of bug 29732 and bug 29844 but those bugs are related to OSX.
http://bugs.winehq.org/show_bug.cgi?id=33460
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2013-04-25 21:34:11 CDT --- "XInput2 not supported" seems like a big clue. What version of what linux distribution are you running?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #4 from Christopher Cope inuyasha@usa.com 2013-04-25 21:35:57 CDT --- Created attachment 44294 --> http://bugs.winehq.org/attachment.cgi?id=44294 WINEDEBUG=+cursor,+dinput
Smaller log with a wine version confirmed to have XInput2. Cut to the part that varies from the last log.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #5 from Christopher Cope inuyasha@usa.com 2013-04-25 21:37:47 CDT --- (In reply to comment #3)
"XInput2 not supported" seems like a big clue. What version of what linux distribution are you running?
I am running FatDog64. I seen that, but if it compiled with it, what else is needed? I thought that maybe it wasn't supported by the game.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #6 from Austin English austinenglish@gmail.com 2013-04-25 21:39:58 CDT --- (In reply to comment #5)
(In reply to comment #3)
"XInput2 not supported" seems like a big clue. What version of what linux distribution are you running?
I am running FatDog64. I seen that, but if it compiled with it, what else is needed? I thought that maybe it wasn't supported by the game.
No, that means your X server doesn't support it. What version of X do you have?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #7 from Dan Kegel dank@kegel.com 2013-04-25 21:45:32 CDT --- You should probably take this up with your linux distro.
(I looked for a snarky comic on the subject, but all I came up with was http://tomayko.com/writings/that-dilbert-cartoon )
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #8 from Christopher Cope inuyasha@usa.com 2013-04-25 21:51:12 CDT --- (In reply to comment #7)
You should probably take this up with your linux distro.
(I looked for a snarky comic on the subject, but all I came up with was http://tomayko.com/writings/that-dilbert-cartoon )
Let's just say there isn't much support in FatDog land. What would I need to compile, what minimum version of Xorg do I need, etc?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #9 from Christopher Cope inuyasha@usa.com 2013-04-25 22:02:27 CDT --- Here is my xinput version
# xinput -version xinput version 1.5.3 XI version on server: 2.0
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #10 from Dan Kegel dank@kegel.com 2013-04-25 22:07:31 CDT --- Well, that doesn't sound too bad. Do you have /usr/include/X11/extensions/XInput2.h ?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #11 from Christopher Cope inuyasha@usa.com 2013-04-26 06:41:10 CDT --- (In reply to comment #10)
Well, that doesn't sound too bad. Do you have /usr/include/X11/extensions/XInput2.h ?
Yes I do.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2013-04-26 07:03:25 CDT --- (In reply to comment #4)
Created attachment 44294 [details] WINEDEBUG=+cursor,+dinput
Smaller log with a wine version confirmed to have XInput2. Cut to the part that varies from the last log.
If that's complete, it's claiming you only have absolute valuators on your core pointer. What does "xinput list --long" look like?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #13 from Christopher Cope inuyasha@usa.com 2013-04-26 09:59:06 CDT --- Created attachment 44303 --> http://bugs.winehq.org/attachment.cgi?id=44303 xinput list --long
(In reply to comment #12)
(In reply to comment #4)
Created attachment 44294 [details] WINEDEBUG=+cursor,+dinput
Smaller log with a wine version confirmed to have XInput2. Cut to the part that varies from the last log.
If that's complete, it's claiming you only have absolute valuators on your core pointer. What does "xinput list --long" look like?
It was putting out Xi2 not supported.
I updated libX11, libXi, inputproto, and xinput to the latest stable releases and now it shows a lot of stuff.
It still doesn't work though.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #14 from Christopher Cope inuyasha@usa.com 2013-04-26 09:59:37 CDT --- Created attachment 44304 --> http://bugs.winehq.org/attachment.cgi?id=44304 Cut log after updates
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #15 from Dan Kegel dank@kegel.com 2013-04-26 10:03:03 CDT --- Does HAVE_X11_EXTENSIONS_XINPUT2_H show up in wine's include/config.h ?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #16 from Christopher Cope inuyasha@usa.com 2013-04-26 10:07:29 CDT --- Created attachment 44305 --> http://bugs.winehq.org/attachment.cgi?id=44305 xinput test-xi2 2
http://bugs.winehq.org/show_bug.cgi?id=33460
Christopher Cope inuyasha@usa.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44305|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #17 from Christopher Cope inuyasha@usa.com 2013-04-26 10:12:53 CDT --- (In reply to comment #15)
Does HAVE_X11_EXTENSIONS_XINPUT2_H show up in wine's include/config.h ?
I'm using a precompiled wine. It's a really big hassle getting fatdog to compile 32 bit applications and that's especially true for wine.
However, the first wine I was using, before I posted the bug, gave me an error along the lines of XInput was not compiled in, so I went and got one that was confirmed to have it.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2013-04-26 10:15:09 CDT --- (In reply to comment #13)
Created attachment 44303 [details] xinput list --long
That seems to say you have two mouses attached, does it make any difference if you disconnect the "Genius Gila Gaming Mouse" and restart X?
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #19 from Christopher Cope inuyasha@usa.com 2013-04-26 10:23:12 CDT --- (In reply to comment #18)
(In reply to comment #13)
Created attachment 44303 [details] xinput list --long
That seems to say you have two mouses attached, does it make any difference if you disconnect the "Genius Gila Gaming Mouse" and restart X?
The Genius Gila is my mouse. The other is my keyboard. It reports as a mouse also, from what I understand, it is usually used for macros.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #20 from Henri Verbeet hverbeet@gmail.com 2013-04-26 11:19:57 CDT --- The main reason I'm asking is because it reports only absolute valuators ("Label: Abs X", "Label: Abs Y"), albeit apparently with "Mode: relative". Perhaps we should accept that specific combination as relative as well, although using the labels was a fairly explicit change in commit ff60249cab238bed124b98a7624ccfe415f8648e, and this could very well be some kind of input driver issue. Still, the easiest way to verify that that's the issue would be to try with a different mouse, if you have one.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #21 from Christopher Cope inuyasha@usa.com 2013-04-26 15:42:24 CDT --- New log: http://www.mediafire.com/?bh62b3ll6m5p30z
I tried a different mouse and it had the label RelX & RelY. It seemed to clip correctly in the above log, but it still sticks and won't rotate in game.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #22 from Christopher Cope inuyasha@usa.com 2013-04-26 15:47:41 CDT --- I have got some progress. If I unplug both my mouse and keyboard and load the game with only the other mouse it works. I can then unplug it and replug in the original mouse and keyboard and it works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #23 from Christopher Cope inuyasha@usa.com 2013-04-26 15:56:16 CDT --- Newest log taken while loading with other mouse and switching back to original http://www.mediafire.com/?l0epn866ca4xxx5
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #24 from Christopher Cope inuyasha@usa.com 2013-04-27 16:15:43 CDT --- Sadly, upon further testing, it stops working after a few rotations.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #25 from Christopher Cope inuyasha@usa.com 2013-04-27 18:00:16 CDT --- Alright, I found the problem. I patched the winex11.drv to accept my mouse as relative and it works. I will put together a patch and upload shortly.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #26 from Christopher Cope inuyasha@usa.com 2013-04-27 18:49:57 CDT --- Created attachment 44312 --> http://bugs.winehq.org/attachment.cgi?id=44312 Patch file to fix bug.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #27 from Christopher Cope inuyasha@usa.com 2013-04-28 09:45:55 CDT --- (In reply to comment #26)
Created attachment 44312 [details] Patch file to fix bug.
Although the patch works, it needs some more work. I will work on it when I get some free time.
http://bugs.winehq.org/show_bug.cgi?id=33460
Christopher Cope inuyasha@usa.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mouse gets suck and won't |Mouse gets stuck and won't |allow rotation in Fable 3 |allow rotation in Fable 3
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #28 from Christopher Cope inuyasha@usa.com 2013-05-10 04:09:31 CDT --- Created attachment 44419 --> http://bugs.winehq.org/attachment.cgi?id=44419 Fully working patch
I submitted this to be merged into Wine, but it was denied. It seems that it will likely break mice that do work correctly. If you are having this issue, then feel free to try this patch and see if it helps.
http://bugs.winehq.org/show_bug.cgi?id=33460
--- Comment #29 from Dan Kegel dank@kegel.com 2013-05-10 11:33:01 CDT --- Great detective work! But as Alexandre says, it's a problem with the mouse. What does lsusb report for that mouse? (apologies if you've already said that and I've missed it.)
Have you submitted a bug report to the mouse/mouse driver vendor yet, per http://www.winehq.org/pipermail/wine-devel/2013-May/099769.html ?
Also, think this should be closed as invalid, since it's a bug in the mouse or its driver?
https://bugs.winehq.org/show_bug.cgi?id=33460
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |UPSTREAM
--- Comment #30 from Austin English austinenglish@gmail.com --- (In reply to Dan Kegel from comment #29)
Great detective work! But as Alexandre says, it's a problem with the mouse. What does lsusb report for that mouse? (apologies if you've already said that and I've missed it.)
Have you submitted a bug report to the mouse/mouse driver vendor yet, per http://www.winehq.org/pipermail/wine-devel/2013-May/099769.html ?
Also, think this should be closed as invalid, since it's a bug in the mouse or its driver?
Upstream.
https://bugs.winehq.org/show_bug.cgi?id=33460
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #31 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=33460
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #32 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.