[Bug 56596] New: Keyboard keypress generates NumLock keypress for all keys
https://bugs.winehq.org/show_bug.cgi?id=56596 Bug ID: 56596 Summary: Keyboard keypress generates NumLock keypress for all keys Product: Wine Version: 9.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: xinput Assignee: wine-bugs(a)winehq.org Reporter: m.kolesinski(a)gmail.com Distribution: --- When playing an old Quake III engine based game (Medal of Honor: Allied Assault) on Wine 9.4 thru 9.7, the game is no longer playable. All keyboard keypress events also send a duplicate 'NumLock' keypress. I previously had NumLock mapped (in-game) to perform some action, and remapping keys is now not possible because every attempt binds to NumLock. I believe the actual keypress AND NumLock keypress events are sent continuously while any keyboard key is held down (I tried various keys, they all do it). This was not an issue in Wine 9.2 and prior, and possibly 9.3 (I don't have that package to test with, but I've tested with 9.4, 9.5, 9.6, and 9.7 on Arch Linux). There are no DLL overrides, it's a "stock" 64-bit prefix. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Distribution|--- |ArchLinux Component|xinput |-unknown Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID CC| |o.dierick(a)piezo-forte.be --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- A regression test is needed to help find the cause of the issue. https://wiki.winehq.org/Regression_Testing Are there any downloadable demos that exhibit this behaviour? --- Comment #2 from m.kolesinski(a)gmail.com --- You can obtain a complete game here: https://dl.volute.io/downloads/mohaa_stock_game.zip Just unzip, and then run the .exe to launch. Note that if you are using Mesa, you will need the following (games from this era had a common bug where the extensions string buffer was too small....they didn't anticipate the explosion in graphics extensions): export MESA_EXTENSION_MAX_YEAR=2002 I can't get this game to run on my RTX 3070 (with Wine), I submitted a separate bug for that. It should also run fine on Intel graphics. You also must launch the game from its working directory, as it has DLLs it depends on in there. I usually use a virtual desktop as well, but the game runs with or without it: bash -c 'cd ~/.wine_MOHAA/drive_c/Program\ Files\ \(x86\)/EA\ GAMES/MOHAA; export MESA_EXTENSION_MAX_YEAR=2002 WINEPREFIX=~/.wine_MOHAA; wine mohaa.exe +set cl_playintro 0 +set ui_skip_eamovie 1 +set ui_skip_titlescreen 1 +set ui_skip_legalscreen 1' This should get you to the main menu in the game, where you can poke around with the "CONTROLS" settings. --- Comment #3 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, Medal of Honor Allied Assault is copyright protected. Please remove offending download. Regards. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 --- Comment #4 from m.kolesinski(a)gmail.com --- I don't know about any license issues from the various gaming sites that still support this game. I don't see any option to edit my comment to delete/amend a link, so I guess an admin will need to address that. I did find a download for a public demo version, and confirmed the issue affects the demo as well (tested with 9.7). https://games.softpedia.com/get/Games-Demo/Medal-of-Honor-Allied-Assault-Sin... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 --- Comment #5 from m.kolesinski(a)gmail.com --- (In reply to Ken Sharp from comment #1)
A regression test is needed to help find the cause of the issue. https://wiki.winehq.org/Regression_Testing
Are there any downloadable demos that exhibit this behaviour?
See the comment preceding this one for a link. Note that you have to run the installer, and then launch the "MOHAADemo.exe" in the same manner (from the installed working directory). I was up and running in less than 2 minutes. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- URL| |https://games.softpedia.com | |/get/Games-Demo/Medal-of-Ho | |nor-Allied-Assault-Single-P | |layer.shtml Status|RESOLVED |UNCONFIRMED Keywords| |download --- Comment #6 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Valid demo link provided. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #7 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 76458 --> https://bugs.winehq.org/attachment.cgi?id=76458 bisect.txt I tried to run a regression test and came to this commit: commit 5b833c83beadcad2ace5f27e95554c164f6f7c86 Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Sat Jan 20 16:05:17 2024 +0100 server: Stop waiting on LL-hooks for non-injected input. This commit can be reverted on wine-9.8 and makes the key assignment work again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |5b833c83beadcad2ace5f27e955 | |54c164f6f7c86 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wineserver -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 m.kolesinski(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from m.kolesinski(a)gmail.com --- I have retested with Wine 9.16 from the arch repo and this issue appears to be gone. None of the bug fixes between these versions indicates anything specific was done to address it...but no nuisance numlock events. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56596 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.18. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56596 m.kniec <michalkniec91(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michalkniec91(a)gmail.com --- Comment #10 from m.kniec <michalkniec91(a)gmail.com> --- Hi, I've ran into this same issue for MoH:AA game on Wine version 10.0. Looks like a regression bug that came back again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla