weird input behaviour in games

Questions about Wine on Linux
Locked
leyl
Newbie
Newbie
Posts: 3
Joined: Tue Jun 30, 2015 5:02 am

weird input behaviour in games

Post by leyl »

Hello,

I've been trying to find solution on google for some time, unfortunately unsuccessfully, so I am asking here - I have no problem running whatever game I tried so far, for which I am really grateful, work done by wine team is really amazing (I remember gaming on linux some 10 yrs back and the difference is stunning). However, whenever I run game, either after some time (from 15 min to several hours) or immediately every time it starts (Oblivion is only case I know so far) the application start behaving weirdly. I know weird behaviour is not telling much, so I will try it specify a little -> my character starts running forward, even though no input is pressed and it happens even if I change my controls (meaning changing "w" to "p" or some other key). Sometimes the other keys are unresponsive and in some games the keys starts being responsive after some time (Baldurs Gate, Skyrim) in others not (Morrowind) and app needs to be restarted.
wine version: wine-1.6.2
Linux version: ubuntu 14.04

Any ideas? I tried running game in its own X session, but the problem persists. Debug shows no errors whatsoever.
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: weird input behaviour in games

Post by dimesio »

That's a known bug affecting Skyrim, but this is the first I've heard of it in Oblivion or Morrowind. The workaround is to turn off keyboard repeat. https://bugs.winehq.org/show_bug.cgi?id=30981
leyl
Newbie
Newbie
Posts: 3
Joined: Tue Jun 30, 2015 5:02 am

Re: weird input behaviour in games

Post by leyl »

dimesio wrote:That's a known bug affecting Skyrim, but this is the first I've heard of it in Oblivion or Morrowind. The workaround is to turn off keyboard repeat. https://bugs.winehq.org/show_bug.cgi?id=30981
Unfortunately no change (at least in oblivion, I try skyrim later, it doesnt necessarily mean this is the same issue). At this point I am uncertain if I should assume it's one problem for multiple games, or each game has some problem, so I try describe behaviour in every game I tried so far:
Morrowind - sometimes character starts running forward, sometimes I can use some other keys, sometimes I dont and cant use them ever after, restart necessary
Skyrim - sometimes character starts running forward, I can almost always use some other keys, or I can after a short while
BG 1 and 2 - sometimes keyboard is somehow unresponsive, I need to wait some time to use ESC or other keys
Planescape Torment - no troubles I noticed so far
Pillars of Eternity - similiar to BG 1/2
Heroes 3 - often when buying units when I click on "three arrows up" button to buy max, there is weird glitch and it shows my "linux mouse" instead of heroes mouse and music for a second stops playing, clicking again works fine, no other problems encountered
Oblivion - kinda reason I am writing this, game starts fine, but from the moment it launches a) character starts running forward and b) it shows hotkey menu like in http://ubuntuforums.org/showthread.php?t=485891

Now, I use external keyboard and mouse, so after reading that thread got an idea, that probably one of the two is causing problem, which proved right - if i start the game without mouse, everything is fine, if I connect it later, it still doesnt cause previous behaviour, but for some reason I cant turn my character/camera more than something like 45° to one side or another, which is kinda problematic, since I really need turning around. I guess buying new mouse might solve it, but do you have any experience with similiar behaviour and if there's workaround? I like my mouse ( http://www.clasohlson.com/uk/A4tech-XL- ... r383578000 ).
leyl
Newbie
Newbie
Posts: 3
Joined: Tue Jun 30, 2015 5:02 am

Re: weird input behaviour in games

Post by leyl »

Okey, I tried a different mouse and no problem whatsoever, so I guess you can lock this, not sure though if this is problem of all programmable mouses, of all A4 tech mouses or specifically this series.
Locked