http://bugs.winehq.org/show_bug.cgi?id=6452
------- Additional Comments From edblack@gmail.com 2006-17-10 06:51 ------- Max Payne 1.05 (full) does exactly the same thing here - pressing any key on the keyboard locks the game (sound, visuals and keyboard input are frozen) until it is released.
Info about the nature of the problem:
Acts like a blocking problem with keyboard input - animation for the key pressed is begun, so the first keypress registers, but the lock happens before the action is underway and lasts longer depending on how long the key was held down for.
I don't see the 99% CPU usage other people are seeing with this problem at all, it can be at 40% when it's blocking.
Also, setting the game to use mousewheel/buttons for movement removes the problem (whilst not being very playable).
I can report a separate bug(s) for the following two issues too if requested, but since they could well be related related I'll post them here for now - keypresses in Max Payne are extremely inconsistent:
1. - attempting to rebind keys through the game's config system shows all keys registering as Left Alt key when pressed - however movement keys W,A,S,D etc. usually get registered as themselves in the game, the appropriate action starts, they just lock it for a second as well.
2. Occasionally a keypress will cause the game to pause and display the in-game pause message instead of trying to move. Pressing it again a few times will unpause it - are buttons sometimes but not always registering as "p"?
All of these issues are in 0.9.22, and I can obviously provide any output requested, although this system was working with Max Payne in largely the same config and .9.12 or so of wine, and I see nothing different spewing out with WINEDEBUG=+all (other than the usual messages about the 3D card in current versions).
I've tried using the loki installer from liflg.org, and installing through wine with/without native libraries (dinput, installation, etc.) installed. Happy to fill out reports if any of this should be filed separately.