Keyboard Issues

Questions about Wine on Linux
Locked
xvan
Newbie
Newbie
Posts: 3
Joined: Sat Jul 07, 2012 3:46 pm

Keyboard Issues

Post by xvan »

If I use wine in a game, after a while keyboard issues appear.

It's like there is some kind of threshold. If I don't keep a key pressed enough time (a lot more than a second), no keycode is sent.

After the first keycode is sent, it behaves normally (sends one keycode, waits, sends several keycodes repeatedly).

The time for this to happen is from 5min to one hour after starting wine.

Exiting wine doesn't solve the issue, It affects my whole X session.
I need to close the user X session, and start it again.
Restarting the window manager without restarting X doesn't solve the issue, and I tested several window managers.

I don't need to restart the session manager to solve this...

I don't remember this issue starting outside wine. Not even with other linux native games that force me to keep keys pressed.

It's not a hardware issue (the issue doesn't show after playing the same game under windows).
It doesn't affects my mouse.

If I just open wine and don't use the keyboard, the issue doesn't starts.

I'm using wine 1.5.6 (ubuntu version), On ubuntu 12.04

Any help solving this. Instructions in how to trace this. Or a command to restart my keyboard without restarting X is appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Keyboard Issues

Post by dimesio »

xvan wrote: I'm using wine 1.5.6 (ubuntu version), On ubuntu 12.04
Start by upgrading to 1.5.8. The older Ubuntu packages for 12.04 had problems.
xvan
Newbie
Newbie
Posts: 3
Joined: Sat Jul 07, 2012 3:46 pm

Re: Keyboard Issues

Post by xvan »

dimesio wrote:
xvan wrote: I'm using wine 1.5.6 (ubuntu version), On ubuntu 12.04
Start by upgrading to 1.5.8. The older Ubuntu packages for 12.04 had problems.
can't.
I couldn't find it in the official repos.

And the deb form the wine ppa is empty:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Keyboard Issues

Post by dimesio »

xvan wrote: And the deb form the wine ppa is empty:
Report the problem to Ubuntu.
xvan
Newbie
Newbie
Posts: 3
Joined: Sat Jul 07, 2012 3:46 pm

Post by xvan »

Starting wine alone in another X session with the same user seems to solve the issue, so it must be related to how ubuntu or gdm launch my X session.

Need to test it more time but after an hour the issue didn't appeared.
Locked