[Wine 1.4rc1]Mouse support broken in MassEffect and Bioshock

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

[Wine 1.4rc1]Mouse support broken in MassEffect and Bioshock

Post by nepenthes »

Hi,
I upgraded to wine 1.4rc1 from the official wine PPA for ubuntu Oneiric Ocelot (11.10), I am running Ubuntu 12.04 alpha, and mouse support seems broken for Mass Effect (the first one) and Bioshock (the first one too).

I have made some tests with a clean wine prefix.

The works smoothly in the game menus, but after a level is loaded, it seems the mouse x an y axis are not recognized anymore : if i move the mouse to the left or rigt, the view always go the right (iirc), so i have to turn 360 degrees to get back to the same view.
The other axis is really slow, and gets stuck to the highest or lowest border of the screen as soon as i move the left/right axis.

The mouse works fine in Worms Armageddon and Source games (Half Life 2, ep1 and 2, left 4 dead 2).

Can anyone confirm this report ?
Is it fixed in 1.4rc2 (i have seen something about clipping in the git commits) ?
ischou
Level 4
Level 4
Posts: 109
Joined: Sun Nov 28, 2010 7:22 pm

Post by ischou »

I don't remember the mouse working for Mass Effect "out of the box" ever. There's a bunch of "known issues" on Mass Effect and a bunch of suggestions for resolving them in the appdb: http://appdb.winehq.org/objectManager.p ... n&iId=7465

The problem may not be 1.4rc-1, but the clean WINEPREFIX. You might need to install some native DirectX DDLs or something.

I vaguely recall there was some mouse-patch for Mass Effect as well, but maybe I'm thinking Mass Effect 2.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

I just tried Mass Effect and bioshock on wine 1.4rc4 on Ubuntu 11.10, both work fine regarding mouse input.
For these two games, mouse input is still broken on Ubuntu 12.04 with the latest xserver (1.11.99).
It seems MouseWarpOverride settings are broken too.

Both prefix are clean. So I assume it has something to do with the xserver version in Ubuntu 12.04.

Could anyone help me investigate that issue ? Perhaps it is something specific on my computer, or it could be something much bigger which should be adressed before Ubuntu 12.04 and Wine 1.4 are out.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

nepenthes wrote:I just tried Mass Effect and bioshock on wine 1.4rc4 on Ubuntu 11.10, both work fine regarding mouse input.
For these two games, mouse input is still broken on Ubuntu 12.04 with the latest xserver (1.11.99).
It seems MouseWarpOverride settings are broken too.

Both prefix are clean. So I assume it has something to do with the xserver version in Ubuntu 12.04.

Could anyone help me investigate that issue ? Perhaps it is something specific on my computer, or it could be something much bigger which should be adressed before Ubuntu 12.04 and Wine 1.4 are out.
http://bugs.winehq.org/show_bug.cgi?id=29762

The first comment in the bug report suggests that this is an Ubuntu issue, but there is no indication that anyone has filed a bug with Ubuntu. You need to see if anyone has, and if not, file one there.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

This is definitely not the same bug.
I do not experience any crash but mouse axis and sensitivity are messed up. It happens with both intel and nvidia drivers on different computer i tried.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

nepenthes wrote:This is definitely not the same bug.
I do not experience any crash but mouse axis and sensitivity are messed up. It happens with both intel and nvidia drivers on different computer i tried.
Test in 1.4-rc5, and if it's still an issue, file a bug.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

Where can I file a bug ?
It is not a bug against any app in particular, but the whole wine mouse warp support under the next version of the X server.
Perhaps an API break that haven't yet been included in wine ?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: [Wine 1.4rc1]Mouse support broken in MassEffect and Bios

Post by vitamin »

nepenthes wrote:Can anyone confirm this report ?
Sorry, can't confirm. Both games work just fine here. Report bug to ubuntu, or downgrade I guess.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

What is your version of X ? (X -version)
This is very odd because it works well with xserver 10.x seriex, and i have this bug only with 11.x and 12rc.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

nepenthes wrote:Where can I file a bug ?
Report it to Ubuntu.

BTW, the bug I linked to earlier has been marked as invalid, and the last couple of comments indicate there is a problem with the packages in the ubuntu-wine ppa.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

This has obviously nothing to do with Ubuntu (only packaging and a few patches, but since i'm using Ubuntu 12.04, everything is up to date).
This is either a bug in Wine or Xorg (upstream).
But as long as nobody tries the last wine rc with xserver 1.11.99 or later, i can confirm nothing about broken mouse warping.

Anyone ?
I need your xserver version, wine version, and the app you tried.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

nepenthes wrote:What is your version of X ? (X -version)
X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
patrick
Newbie
Newbie
Posts: 3
Joined: Sat Mar 03, 2012 5:09 pm

Post by patrick »

I am having a very similar problem with the game Skyrim.

It worked great in Ubuntu 11.10 x64, but since doing a fresh system install of 12.04 x64 and reinstalling Skyrim the mouse pointer is unusable in the Skyrim program. It has done this since wine-1.4-rc1 was released for x64 and still now up to 1.4-rc5.

The most extreme issue is that moving the mouse too far left/right/up/down (to turn viewpoint in game) makes the pointer appear outside the window. But also the mouse pointer seems to drift, if you like, after very small movements. It is like the mouse pointer is drunk!

X.Org X Server 1.11.3
wine-1.4-rc5
Linux 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nvidia driver 295.20
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

The most extreme issue is that moving the mouse too far left/right/up/down (to turn viewpoint in game) makes the pointer appear outside the window.
Possibly related: http://bugs.winehq.org/show_bug.cgi?id=30057
patrick
Newbie
Newbie
Posts: 3
Joined: Sat Mar 03, 2012 5:09 pm

Post by patrick »

I have posted a trace to that bug and some one posted a patch. My gut feeling is that building something as fancy as wine from source is a bit beyond me.

Do I follow http://wiki.winehq.org/Wine64 ? I am little worried about having to build another gcc etc. I am afraid I will just hose my system because I am dumb.

There isn't some easy ubuntu way to do this, is there? :p
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

I have never built wine before.
Right now I'm using this tutorial http://wiki.winehq.org/WineOn64bit "The Ubuntu Way".
Then I will have to apply the patch and build wine with the right compile options. I will let you know how far I get in the process.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

I have built the patched version of wine... It was really tricky, and it breaks amd64 compile for other software at the moment.

I have a trace for mass effect, but bioshock does not run (it is probably a wine dependency issue, i hope mass effect log is enough because i don't feel like fixing it today).
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

As AJ indicated this is Xorg's bug.
nepenthes
Level 2
Level 2
Posts: 28
Joined: Tue Feb 07, 2012 7:31 am

Post by nepenthes »

Yes, and I hope somebody at Xorg will have some time to fix it soon...
rockorequin
Newbie
Newbie
Posts: 1
Joined: Wed Mar 07, 2012 8:45 pm

Post by rockorequin »

For what it's worth, you *can* build wine on Ubuntu 12.04 amd64 without breaking amd64 compiles for 64 bit software, but you have to manually create links for the various 32 bit ".so" library files.

eg To get GLU support, you need to install both libgl1-mesa:i386 to get the 32 bit library .so file and libglu1-mesa-dev to get the dev files. Then you create a symlink so wine's build system can find the libGLU.so file:

Code: Select all

sudo ln -s /usr/lib/i386-linux-gnu/libGLU.so.1 /usr/lib/i386-linux-gnu/libGLU.so
Assuming you have the intel mesa libraries installed, another slightly more tricky example is libGL.so (libgl1-mesa-glx:i386 and libgl1-mesa-dev):

Code: Select all

ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Locked